What is Path variable?What is its use?
Answer / guest
PATH is an environment variable.
It contains the sequence of paths seperated by colons(:)
when we enter commands on the prompt the shell first checks
that coorresponding program to execute in those paths
specified in PATH variable.
We can print that sequnece by typing
echo $PATH
| Is This Answer Correct ? | 8 Yes | 0 No |
What is mac default shell?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is bash command used for?
What are the advantages of bash over all other shells?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
What is a shell script? Can you name some of its advantages?
What is the difference between a shell variable that is exported and the one that is not exported?
what is this line in the shell script do ?#!/bin/ksh
Explain about shebang?
What are the different communication commands available in the shell?
How will I insert a line "abcdef" at every 100th line of a file?
How do I stop script errors?