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.


What is position parameter in unix?

In Unix, a positional parameter refers to a variable that holds the value of an argument passed to a shell script or command. These parameters are represented by numbers, with $1 being the first argument, $2 the second, and so on, up to $9. The special variable $0 represents the name of the script itself. Positional parameters allow scripts to process input dynamically based on user-provided arguments.


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 are the ways to enter into Unix?

To enter into Unix, you can use a terminal emulator on a Unix-based operating system like Linux or macOS. Additionally, you can access Unix remotely via SSH (Secure Shell) from another computer. Alternatively, you can use a virtual machine or a container, such as Docker, to run a Unix environment on a non-Unix system. Lastly, you can boot from a live USB or CD containing a Unix distribution.


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.


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.