LinuxQuestions.org
Review your favorite Linux distribution.
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 04-13-2007, 09:25 PM   #1
D3javu
Member
 
Registered: Oct 2004
Location: Malaysia
Distribution: Slackware 11.0 , VectorLinux 5.8
Posts: 132

Rep: Reputation: 15
Lightbulb extra syntax next to files


When i going thru directory, i notice that certain files has @ or * next to the file name, what does this syntax refers to?

for an example : firefox* in /usr/lib/firefox
firefox@ in /usr/bin
 
Old 04-13-2007, 09:34 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The ls command on your system is defaulting to use the '-F' (classify) option.

@ = symbolic link
* = executable

The classify option is useful on non-color terminals, to make it easy to visually identify file attributes. See 'man ls' for additional details and options.
 
Old 04-13-2007, 10:14 PM   #3
D3javu
Member
 
Registered: Oct 2004
Location: Malaysia
Distribution: Slackware 11.0 , VectorLinux 5.8
Posts: 132

Original Poster
Rep: Reputation: 15
symlink error

Ok, i'm trying to replace firefox with new firefox 2. i've replaced the folder in /usr/lib/ but when i try to symlink th firefox to firefox2 in /usr/bin i'm getting error :

ln: creating symbolic link `/usr/bin/firefox2' to `/usr/lib/firefox/': File exists
 
Old 04-13-2007, 11:04 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You are trying to symlink a file on top of a directory? Try this:

ls -ld /usr/bin/firefox2 /usr/lib/firefox
 
Old 04-13-2007, 11:14 PM   #5
D3javu
Member
 
Registered: Oct 2004
Location: Malaysia
Distribution: Slackware 11.0 , VectorLinux 5.8
Posts: 132

Original Poster
Rep: Reputation: 15
eh, i don't get it. i just want to link the firefox in /usr/lib/firefox to /lin/bin/firefox . Whenever i try link it, it says the file exists.

root@********:/usr/bin# ln -s /usr/lib/firefox/firefox /usr/bin/firefox2
ln: creating symbolic link `/usr/bin/firefox2' to `/usr/lib/firefox/firefox': File exists
 
Old 04-14-2007, 12:24 AM   #6
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Rep: Reputation: 15
print an output from commands:

ls -l /usr/lib/firefox/ | grep firefox
and
ls -l /usr/bin/ | grep firefox
 
Old 04-14-2007, 09:29 AM   #7
D3javu
Member
 
Registered: Oct 2004
Location: Malaysia
Distribution: Slackware 11.0 , VectorLinux 5.8
Posts: 132

Original Poster
Rep: Reputation: 15
ls -l /usr/lib/firefox | grep firefox
-rwxr-xr-x 1 root root 5247 2007-04-13 21:54 firefox*
-rwxr-xr-x 1 root root 10534772 2007-04-13 21:54 firefox-bin*

ls -l /usr/bin/ | grep firefox
-rw-r--r-- 1 root root 0 2007-04-13 23:55 firefox
 
  


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
rsync syntax to skip directory, but copy select files.. tnicol Linux - Software 3 07-24-2007 06:40 AM
Kdevelop 3.0: I don't need all these extra files! TheMusicGuy Linux - Software 0 04-14-2005 02:17 AM
Removing extra files using apt-get Brother Michael Debian 7 06-20-2004 06:24 PM
Why do Linux IDEs create so many extra files? stodge Linux - Software 7 05-03-2003 01:38 PM
Remove "Extra" Files? Mr. Eek Linux - Newbie 4 12-01-2002 09:55 AM


All times are GMT -5. The time now is 12:40 AM.

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