How to modify the PATH variable and make it executable?
Answer Posted / shailendra kumar tiwary
we can set PATH by using export PATH command.
ex:-
PATH=/opt/j2sdk1.4.2_04/bin:............
export PATH
and to make it executable we can set the same
in ".bash_profile".
To execute it ". .bash_profile"
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are script files?
What is echo $shell?
What is computer cli?
What is ms powershell?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What is a batch file used for?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
How to find duplicate record in file using shell script?
How do I read a .sh file?
Please give me example of " at command , contrab command " how to use
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
What can you do with powershell?
What is shift command in shell script?