Hi All of Unix/Linux professional
Q.Why soft link file not open by cat command. Ihave make
following symbolic link but when i open with #cat
linkfilename it does not oped please see the following code
and try to answer.
# ln -s file1 ~/mydir/filea
[root@dhcppc0 ~]# cd mydir
[root@dhcppc0 mydir]# ls -l
total 4
lrwxrwxrwx 1 root root 5 2010-04-04 09:04 filea -> file1
[root@dhcppc0 mydir]# cat filea
cat: filea: No such file or directory
Answer Posted / nikhil maggu
Hi,
First of all a soft link is not an actual file it refers a
link to the original file at different location.
and cat shows the content of a file having data, info etc.
But "ln" never saves any info it just a reference of
original file to a different location
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
The head command writes the how many lines of a file to screen?
What is $@ in bash?
You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?
Which command puts a script to sleep untill a signal is recieved?
What does make clean command do?
What are the mv command options?
What is unix finger command?
What is df -i command?
What is makefile target?
How many interfaces(ethernet cards) are working using single command?
What are the basic commands for user management?
How do you create a text file in linux?
How do I create a .txt file?
What is difference between comm and CMP command?
How can we increase disk read performance in single command in Linux?