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

What is sudo bash command?

1087


If the programmer wishes to execute an instruction at the specified time. Which command is used?

1463


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

1463


What is ll command in unix?

1121


What is the syntax of mkdir?

1174


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

1060


What Command used to lock user password?

1151


What is the command can be run to remove all the rules in an iptable table?

1094


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

1119


Which command is used to terminate a process?

981


How can I delete a file in linux?

1129


What is phony in makefile?

1066


What is the symbol of linux?

1139


What is the command to see on which port which service is running?

1061


How do I find previous commands in linux?

1098