10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
there is a file 'linkk' and i have created a softlink for it in another directory.
$ pwd
/home/guest/khare
$ ln -s linkk /home/guest/khare/AWK/done
now under AWk dir i can see that the softlink is created.
$ pwd
/home/guest/khare/AWK
$ ls -lrt *done
lrwxr-xr-x 1 khare... (2 Replies)
Discussion started by: scriptor
2 Replies
2. Shell Programming and Scripting
Hi All,
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
7 Replies
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
1 Replies
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
1 Replies
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
2 Replies
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
0 Replies
7. Shell Programming and Scripting
Hi all,
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
10 Replies
8. Solaris
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
4 Replies
9. Shell Programming and Scripting
Hi,
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 ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
10. UNIX for Dummies Questions & Answers
I have a question regarding the PATH environment on SunOS.
I am setting the PATH as -
export PATH=$PATH:/bin
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
1 Replies