10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
there is a file 'linkk' and i have created a softlink for it in another directory.
$ ln -s linkk /home/guest/khare/AWK/done
now under AWk dir i can see that the softlink is created.
$ ls -lrt *done
lrwxr-xr-x 1 khare... (2 Replies)
Discussion started by: scriptor
2. Shell Programming and Scripting
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
3. Shell Programming and Scripting
I am facing a peculiar problem on SUN machine.
There is a soft link pointing to a directory. And there is a shell script inside this soft link which is trying to get the directory name from where this script is being executed.
NAME="$(cd $(dirname $0); pwd)"
I want to fetch the... (1 Reply)
Discussion started by: Tirthankar
4. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
5. UNIX for Dummies Questions & Answers
i am new to UNIX environment
please tell me how to identify a link whether it is a Hardlink or Softlink ?
what is the command?
thank you all .......:o:o (2 Replies)
Discussion started by: sasith90
6. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
7. Shell Programming and Scripting
I am very new to shell scripting.I have the requirement like
one program is there, if it is running leave like that only and if it is stopped it has to be restart and once again keep watching and it is stopped we a have to restart once agian.I want a shell script for this.Please help me... (10 Replies)
Discussion started by: bhas85
bash-3.00# ln -s /lib /usr/lib
ln: cannot create /usr/lib/lib: File exists
bash-3.00# (4 Replies)
Discussion started by: incredible
9. Shell Programming and Scripting
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
10. UNIX for Dummies Questions & Answers
I have a question regarding the PATH environment on SunOS.
I am setting the PATH as -
and /bin has a softlink as
lrwxrwxrwx 1 root root 9 Oct 1 2004 /bin -> ./usr/bin
So, will this path will work for the bin having the softlink?
Thanks for... (1 Reply)
Discussion started by: xgr3