answersLogoWhite

0

If you are asking about shell usage, just assign the value as follows:

first=5

second=2

first=$second

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Why would you want to export a variable in Unix?

You export a variable in one process so that a child process can have the value as well. If you don't export the variable then the child process cannot see it.


How to use float value in unix programs?

contact : - 9488053472


When was UNIX System Services created?

In 1984, another factor brought added attention to UNIX system


What is cu in unix?

'cu' stands for Call Unix. It used to be used for calling dialup services from one Unix to another. Hardly used anymore with networks (which are much faster)


How do you change commpand prompt form to in unix?

Use the shell variable PS1 to set the command prompt to whatever you need.


What is path variable in unix?

It is special variable that has a lit of directories there all our applications are located. In other to find out this PATH variable in UNIX type operating system use env command and look for PATH variable in ENVIRONMENT variables list or use bash line: echo $PATH this will return only $PATH variable.For example my PATH variable is:/Users/david/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/binWhen you will try to launch a program by writing it's name in console all those directories you see in PATH variable will be checked for that application.


What is another term for a Unix command interpreter that translates your typed commands?

Shell


How can we login into UNIX OS?

Your system administrator will have to assign you a username and password. Then, find the address of the system to log into and supply the correct credentials. Use telnet or even better, an SSH client to log in.


What is exit state in Unix known as?

The exit state of a process in Unix is known as the 'exit state'. The value of the exit state tells you whether or not the process completed without error. Usually a value of 0 indicates successful completion. Any other value means something was noted as incorrect, missing, or wrong.


How are command located in unix?

The shell interpreter uses the PATH or path variable to determine which directories to look in. It will look for an executable file with the same name as the command.


What are the advantages of unix based hosting?

One of the major advantages of unix based hosting is that unix is free, so the cost is not an issue. Another cost benefit is that several free applications are available for Unix based servers so the money that would have been allotted to this could be utilized elsewhere. Unix is also very efficient because less system resources are required which means less bandwidth and RAM are used. This results in a smoother and faster site. Many languages were developed using Unix as well. This means that there are more applications will be able to run on your site than if you had chosen another platform.


What are the difference between su and su-aloke in UNIX OS?

su substitute user.. and su is a unix command used to run the shell of another user without logging off..