LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-24-2003, 12:46 AM   #1
eye
Member
 
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, 12:58 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

And . means a hidden file/directory

Cool
 
Old 05-24-2003, 03:07 AM   #3
slakmagik
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:
Code:
/home/user   path separator   hidden   file
~            /                .        mozilla
 
Old 05-24-2003, 09:20 AM   #4
allo
Member
 
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15
home

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

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

Regards
 
  


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


All times are GMT -5. The time now is 02:57 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