Unix C++
Would you like to react to this message? Create an account in a few clicks or log in to continue.

what does l mean

3 posters

Go down

what does l mean Empty what does l mean

Post by mightyganesh Fri Mar 05, 2010 6:17 pm

when we execute the command
Code:
ls -l /bin
we get a list of files with their properties

and in the list we find that instead of - or d we get l as option in the first column (the one which tell if the item is directory of file) for few files like awk,view ,tcptraceroute

what does this l value stand for??? scratch
mightyganesh
mightyganesh

Posts : 53
Points : 92
Join date : 2010-02-26
Age : 35

http://ganeshguna.blogspot.com

Back to top Go down

what does l mean Empty Re: what does l mean

Post by karthikeyan Fri Mar 05, 2010 6:31 pm

l stands for Symbolic link


A symbolic link is a reference to another file. This special file is stored as a textual representation of the referenced file's path (which means the destination may be a relative path, or may not exist at all).

A symbolic link is marked with an l (lower case L) as the first letter of the mode string, e.g.

lrwxrwxrwx ... termcap -> /usr/share/misc/termcap
lrwxrwxrwx ... S03xinetd -> ../init.d/xinetd

if u have any doubt check out this url
http://en.wikipedia.org/wiki/Unix_file_types

karthikeyan

Posts : 2
Points : 4
Join date : 2010-02-26

Back to top Go down

what does l mean Empty Re: what does l mean

Post by Christopher Fri Mar 05, 2010 6:49 pm

Symbolic reference is just like creating a shortcut to a file or folder. As said above, in unix it is called symbolic link.

To create symbolic link

Code:
$ ln -s <existing path> <new path>

eg

Code:
$ ln -s sample foo

Here foo is a link to sample...
Christopher
Christopher
Admin

Posts : 240
Points : 429
Join date : 2010-02-26
Age : 35

https://unixcpp.forumotion.com

Back to top Go down

what does l mean Empty Re: what does l mean

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum