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
What is free linux?
What is bc command in unix?
Explain about refer?
Which Command used to lock user password in Linux?
What is ls command and what it does?
How do you kill a process in linux?
How can we increase disk read performance in single command in Linux operating system?
What does execute mean in linux?
How you will create new folder / directories and how to remove file and folder in linux?
You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?
How do you create a text file in linux terminal?
How many linux commands are there?
What does chmod 755 do?
How do I check my system performance?
What does && mean in bash?