LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2013, 09:17 PM   #1
mett23
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
@ character in directory or command listing


Hi,

I'm wondering what is the meaning of the @ character when you're listing directories or as the result of a command like netstat.
For example: "@/var/run/hald/"

Is that a kind of symbolic link reference or socket?
Or is it a kind of temporary process which will disappear?

I couldn't find it on the net, the ascii charset says it means a nul character but I don't think it is related.

I was wondering where I should look for it.

10x!
 
Old 03-28-2013, 09:37 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

if you are using 'ls -F' then a "@" at the *end* of the filename indicates that it is a symlink. I'm not familiar with seeing a "@" *before* the filename. You can get more information about the files you are looking at using 'ls -l'.

HTH,

Evo2.
 
1 members found this post helpful.
Old 03-28-2013, 10:59 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Those are actually socket files:
Code:
~$ ls -l @/var/run/hald/
ls: cannot access @/var/run/hald/: No such file or directory
~$ ls -l /var/run/hald/
srwxrwxrwx ------------ /var/run/hald/
~$ file /var/run/hald/
/var/run/hald/: socket
As far as I am concerned, '@' before filename is just a pointer that points to a particular port.
 
1 members found this post helpful.
Old 03-29-2013, 09:53 PM   #4
mett23
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sftp ls command, short listing vs long listing slufoot80 Linux - General 3 02-05-2013 10:40 AM
ls command not listing properly in terminal after cd to directory. Daiashi Linux - General 2 09-25-2012 12:19 AM
Writing a file character by character with a bash builtin command (script). stf92 Linux - Newbie 4 06-30-2012 08:41 PM
[SOLVED] RHEL5 Apache Directory Listing for a directory thorinn Red Hat 8 02-02-2010 09:01 AM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration