10 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I need to add file the /usr/lib under the command set. The /usr/lib need to be set under the DIRS=' ' while listing the set command.
I tried with the command below:
export PATH=${PATH}:/usr/bin
But this doesn't work out... (4 Replies)
Discussion started by: gsiva
4 Replies
2. Web Development
(Above from Apache docs).
On my system, using:
SetEnvIf User-Agent Mozilla IsBad=1
Order allow,deny
Allow from all
Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies
3. Red Hat
i have a file that i need to edit and replace a single value with another. so i have two variables, $oldvalue and $newvalue but below doesn't work:
ed file.txt << EOF
,s/$oldversion/$newversion/g
wq
EOFi presume it's the $ that is the issue since it's actually special to ed. any suggestions?... (1 Reply)
Discussion started by: crimso
1 Replies
4. Solaris
What is the difference between ${variable} and $variable when used in a script? (2 Replies)
Discussion started by: orange47
2 Replies
5. Shell Programming and Scripting
All,
what is env command used for in Unix?
Regards
Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies
6. HP-UX
just for practice,:) (1 Reply)
Discussion started by: freebsdjlu
1 Replies
7. Shell Programming and Scripting
Hi,
I want to get the value of the env varables using the ksh script. All the env variables are stored in a file.
Eg.
file1
$INPATH
$OUTPATH
myscirpt:
for name in `awk { print $1 } file1`
do
cd $name
done
i'm getting the error like $INPATH not found.
in the same script... (1 Reply)
Discussion started by: vij_krr
1 Replies
8. Programming
Do you know shell in Linux without HOME env.
Best regards,
Iliyan Varshilov (1 Reply)
Discussion started by: ilko_partizan
1 Replies
9. Shell Programming and Scripting
Hi,
I want to check the path set for a particular variable.Like when i use "env" command ,so many variables are there.I have to search for that variable which i need.Instead can i have any cmd which i can directly check the path set for that variable except "echo $path_name"
Thanks,
... (3 Replies)
Discussion started by: rrs
3 Replies
10. Shell Programming and Scripting
Hello friends,
i run two scripts manually & they work.
i run them in cron & they don work.
how to match the two env's
1.command line env
2.cron env
i would like cron to use command line env.
Thanks & Regards
Abhijeet (1 Reply)
Discussion started by: abhijeetkul
1 Replies