You are here:
I can answer questions related to Basic Unix commands, shell scripts, sed, awk, job scheduling & vi editor.
15 years of experience in Unix and Shell scripting
B.Sc (Electronics), Diploma in Computer Applications (DCA)
| User | Date | K | C | T | P | Comments |
|---|---|---|---|---|---|---|
| Ryan | 11/21/09 | 10 | 10 | 10 | 10 | |
| karll | 11/05/09 | 10 | 10 | 10 | 10 | |
| Ryan | 10/28/09 | 10 | 10 | 10 | 10 | |
| biotite | 10/19/09 | 10 | 10 | 10 | 10 | |
| Green | 10/12/09 | 10 | 10 | 10 | 10 |
Hi Karll, You can try using the bash getopts function. Please see the below link- http://bashcurescancer.com/the-60-second-getopts-tutorial.html Or you can parse the file of arguments as given
Hi Ryan, Sorry for the delay. You can try creating a script with the following code in it. Let me know if it works or any errors are encountered - cd . for file in `ls` do if [ ! -f /home/ryan/folder2/$file
Hi Ryan, You can use the ls command to display the files in particular directory as follows - ls -l (This lists files in current directory) ls -l /home/ryan/folder2 (This lists files in specified
Hi Ryan, I am not sure what is stored in $file. But you can try one of the following and check whether it works 1) echo "$file" or 2) echo -n $file Since I do not have Unix setup, I cannot
Hi Biotite, I am not sure which kernel version Google uses and I think they do not disclose this information. But you may find some ideas at the following site - http://digg.com/tech_news/Google_-_A_Rare_Look_At_How_They_Do_It
Answers by Expert:

©2009 About.com, a part of The New York Times Company. All rights reserved.