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

How do I check disk space in linux?

980


List the three main parts of an operating system command?

894


How to give acl permission in numerical mode on linux?

968


In order to display the last five commands you have entered using the fc command, you would type?

905


What is du -s * | sort -k1,1rn | head command used for?

861


Explain about the command lynx?

1066


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

1115


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

1060


How do I do a whois search?

899


What language is a makefile written in?

915


What is cat command in linux?

966


What is the default number of shell commands saved in the history list of .cshrc file?

950


How do you limit memory usage for commands?

1060


What is cd command used for?

1028


What is make in linux?

963