LinuxQuestions.org
Help answer threads with 0 replies.
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-30-2005, 08:44 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
store data in /


i am using mandrake 10.0.

and i am newbie. may i store my data in /etc or /usr or /var.

is it possible to store my local data on above directory.
 
Old 04-30-2005, 09:09 AM   #2
sm1else
Member
 
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Rep: Reputation: 15
/etc : System wide configuration
/usr : This should store programs and documentation
/var : Short for variable, its mainly used for storing log files, mailboxes, and sending data to printers, etc.
/home/$USER : This is where your files belong, its roughly equivalent to 'My Documents' in windows. (Note that $USER is a variable that is replaced with your username). You can also get at this directory using '~' at the start of a path, for example ~/my-file.xls

It is possible to store your data in the other directories, but it has the potential to conflict with other software and you would also have to become the 'root' user (a super user that has no restrictions and can do anything). You should avoid being 'root' as much as possible since 'root' ignores all security restrictions.

Theres more information on the purpose of the directories at:
http://www.linux.org/docs/ldp/howto/...HOWTO/fhs.html
The information is intended for software developers but it describes the standard use of the directories quite well.
 
Old 05-01-2005, 11:28 AM   #3
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Try not storing your data on those directories. It may prove fatal some time as conflits may occur between your files and the installed ones. You can create a partition and mout your home there.

-Prasanta
 
  


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
Store data (langage C) os2 Programming 4 03-24-2005 04:23 PM
Store Data in Flash subrahmanyam Linux - Newbie 1 11-08-2004 12:18 PM
Store data in Flash subrahmanyam Linux - General 1 11-08-2004 12:07 PM
Store data in Flash subrahmanyam Programming 1 11-08-2004 12:06 PM
Store data in Flash subrahmanyam Linux - Software 1 11-08-2004 09:34 AM


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