Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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.

Old 03-28-2013, 10:37 PM   #2
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

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'.


1 members found this post helpful.
Old 03-28-2013, 11:59 PM   #3
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:
~$ 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, 10:53 PM   #4
LQ Newbie
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks a lot!


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 11:40 AM
ls command not listing properly in terminal after cd to directory. Daiashi Linux - General 2 09-25-2012 01:19 AM
Writing a file character by character with a bash builtin command (script). stf92 Linux - Newbie 4 06-30-2012 09:41 PM
[SOLVED] RHEL5 Apache Directory Listing for a directory thorinn Red Hat 8 02-02-2010 10:01 AM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 07:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 PM.

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