8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a problem with tar. Taring a folder with a lot of contents, causes the tar to contain hard links to some files, seen with the same name but 0 in size.
The hard links don't exist in the first place. How can I prevent that from happening?
I am using the -T option with either -n or... (2 Replies)
Discussion started by: Tribe
2 Replies
2. AIX
Hi
I'm logged in as root in an aix box
Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies
3. Solaris
When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies
4. Shell Programming and Scripting
i was trying to print the links present in a file using SED.
sed -n 's/.*\(\(http\|ftp\|https\):\/\/\(*\).\(net\|html\)\).*/\1/gp' example
content of example file is
The URL for my site is: http://mysite.com/mydoc.html. You
might also enjoy ftp://yoursite.com/index.net for a good... (5 Replies)
Discussion started by: Kesavan
5 Replies
5. UNIX for Dummies Questions & Answers
ls -l shows the number of links for each file. Is there a command that will show the link sources for a specific file? Running find on the entire filesystem and doing a little Perl "magic" is the only method I'm aware of. I'm running SunOS 5.8.
Thanks. (6 Replies)
Discussion started by: effigy
6 Replies
6. Shell Programming and Scripting
I am writing a shell script that needs to files that are links to on specific shell script.
e.g.
/usr/bin/a.sh
/home/mydir/a.sh --> /usr/bin/a.sh
/home/yourdir/a.sh --> /usr/bin/a.sh
/home/hisdir/a.sh --> /usr/bin/a.sh
/home/herdir/a.sh --> /usr/bin/a.sh
I know I can set myself... (2 Replies)
Discussion started by: ohagar
2 Replies
7. UNIX for Dummies Questions & Answers
How would one find and list all links in a file system? My situation is
that I built several servers for disaster recovery, mirror images of
several servers in our main location. Instead of doing a "ls -l" on every
file system down the /usr structor to verify that I have all the necessary
links... (3 Replies)
Discussion started by: ruger14
3 Replies
8. UNIX for Dummies Questions & Answers
how do i get the list of symbolic link names for a particular file programatically (4 Replies)
Discussion started by: b_u_n_1234
4 Replies