set – POFTUT

How To Set Environment Variables For Linux, Windows, BSD and MacOSX

Environment variables are very useful for setting some data in the operationg system environment. They are like key-value pairs where we can set a key a specific value which can be used by all applications in the current operating system. Environment variables are used to set library path, Java path, Java version, current username, current connection … Read more

setenv Command Tutorial To Add, Delete and Change Environment Variables In Linux

Linux and Unix ecosystem mainly used command line based. While working with command line and C Shell we generally need some values to use with commands. Shells provide environment variables for this. This environment variables can be managed with setenv command like add, change and remove. Syntax Syntax of setenv command is very simple we just need … Read more

C – Union

[rps-include post=6557] Union is a data type used to store different type of variables. Union is very similar to the struct but have some differences those have explained below. Union can contain int,char,float,… etc. in a single block. One union can contain single set of data at a time. Defining Unions Defining union is very … Read more

Debugging Linux Bash Scripts

[rps-include post=6835] While writing bash scripts we generally expects some results and provide these results to other scripts. But things goes not well as we expect. So we need to see under the hood and what is happening while script is running. Debugging is inspecting bash scripts to see what is wrong with script or … Read more

Linux Bash How to Define, Use Shell Variables

[rps-include post=6835] Variables are programming part of the bash and very useful. Without variables bash will be very inefficient shell. Variables are used by bash itself, running applications, daemons, X (graphic) server and for a lot of things. Define Variable Defining variables are easy in bash, just variable and data is enough. echo is used … Read more

Python Variables and Types

Python programming language provides different data types in order to use data in applications. We generally use variables in order to store our data. As the name suggests variables can be changed during their lifetime. In this tutorial we will look different features and options of Python variables. Create and Assign Value To Variable Assigning … Read more

In Python Operator Usage Tutorial with Examples

Python provides a lot of operators for comparison, checking existence etc. in operator is very popular operator used to check given values in given variables, list, dictionaries etc. In this tutorial we will look different use cases and examples of in operator. Check List Python lists provides elements in single item like an array. in keyword can be … Read more

Python Set Data Structure With Examples

Python provides different structures to hold data. We have all ready looked list and dictionary in this site. Today we will look usage examples and features of python set. Set have same properties and behaviour of mathematical set. Sets have following features unordered means the order is not important and do not expect same order for … Read more

How To List, Set, Get Windows Environment Variables With Set Command In Command Line MS-DOS?

Operating systems have a lot of configurations. These configurations are stored in different ways in different locations. One of the most common storage for some generic information like Username, operating system path etc. is environment variables. In this tutorial we will look how to list, get and set Windows operating system environment variables in details. … Read more