Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-24-2003, 01:46 AM   #1
Registered: May 2003
Distribution: fedora 1
Posts: 137

Rep: Reputation: 15
Talking linux sign

of out "rm -rf ~/.mozilla" ..........
what do" ~/."sign stand for???
Old 05-24-2003, 01:58 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
~/ = The current user's home directory, for example if you are user "jed" then it's likely:
If you are user root, it's likely:

And . means a hidden file/directory

Old 05-24-2003, 04:07 AM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just to add to that, the shell expands '~' to /home/user and '/' indicates a directory when it isn't just the 'root' of the file system. And '.' means the file is 'hidden' even if you can see it - most file managers and such seem to default to showing the files so it might not make much sense to call them 'hidden' when you can see them all over the place, but they are.

Which is pretty much what MasterC said, except that you can type 'cd ~' to cd to home without the '/' - those are separable components. (You can type 'cd', too, but y'know...)

So anyway:
/home/user   path separator   hidden   file
~            /                .        mozilla
Old 05-24-2003, 10:20 AM   #4
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15

quote :
Just to add to that, the shell expands '~' to /home/use
end quote

Not necessary : "~" means your home directory root ($HOME env. variable )



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
Sign the World of Warcraft on Linux petition! Gormless Linux - Games 46 06-30-2007 01:21 PM
sign on invisible in gaim - NOT invi after sign on saravkrish Linux - Software 7 09-12-2005 11:55 PM
Linux and $ sign blubbfish Linux - Newbie 4 03-07-2004 08:52 AM
how to sign a jar file on Linux moe2266 Linux - Newbie 1 01-23-2004 04:10 PM
Please sign this! Shockwava player for Linux UltimaGuy General 3 01-21-2004 08:32 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 AM.

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