Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

The head command writes the how many lines of a file to screen?

1113


What is $@ in bash?

1174


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

1010


Which command puts a script to sleep untill a signal is recieved?

1083


What does make clean command do?

1033


What are the mv command options?

897


What is unix finger command?

1008


What is df -i command?

1031


What is makefile target?

1063


How many interfaces(ethernet cards) are working using single command?

1010


What are the basic commands for user management?

1035


How do you create a text file in linux?

1141


How do I create a .txt file?

981


What is difference between comm and CMP command?

1053


How can we increase disk read performance in single command in Linux?

994