10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following in my path:
But I want to change it programmatically(for the purpose of JBoss automatic(ansible) installs) to:
and after that I need to insert the JAVA_HOME programmatically,... (7 Replies)
Discussion started by: hvdalsen
2. Shell Programming and Scripting
I have a small script to send copies of files to another computer used for tests but in the same location:pwd=`pwd`
for i in "$@"
echo "rcp -p $i comp-2:$pwd/$i"
rcp -p $i comp-2:$pwd/$i
echo "Finished with $i"
doneIs there a way I can check the parameter to see if it is a full... (5 Replies)
Discussion started by: wbport
3. UNIX for Dummies Questions & Answers
My input is as below :
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Discussion started by: IshuGupta
4. UNIX for Dummies Questions & Answers
I would like to modify my .profile PATH to include all subdirectories of the directory I specify. For example, right now I have
Tier1 has a tier2 directory in it. Right now I can execute files from tier1, but not tier2. I know I can add another path with $HOME/tier1/tier2,... (1 Reply)
Discussion started by: Smed
5. Shell Programming and Scripting
/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.
/Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.
/Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
6. Shell Programming and Scripting
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
Now I want to retrieve only the directory path name for each row
How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7. Shell Programming and Scripting
given a relative path, how do i convert it into a full one. i.e. if i am in
and i am given foo/bar then to get a full path i can just concatinate it with pwd, but what if i am given "../mama"
how do i programmatically convert:
/home/polypus and ../mama into ... (4 Replies)
Discussion started by: polypus
8. UNIX for Dummies Questions & Answers
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
Ocelot (3 Replies)
Discussion started by: ocelot
9. UNIX for Dummies Questions & Answers
Definitely a unix dummy. I edited the paths in the /etc/profile file - following the instructions on an install package. Now can't use vi, cat pg ls or any other unix commands. Guess I'm in big trouble.
... (4 Replies)
Discussion started by: thewetch
10. UNIX for Dummies Questions & Answers
In my /etc/profile, my $PATH variable is set as follows:
Then how do I add an additional directory to it? say
Deepali (3 Replies)
Discussion started by: Deepali