LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-26-2006, 05:26 PM   #1
MichaelKthx
LQ Newbie
 
Registered: Jun 2006
Distribution: FC5
Posts: 8

Rep: Reputation: 0
Where are the "Program Files"


What is the linux equlivelant of "C:/Program Files"
 
Old 06-26-2006, 05:28 PM   #2
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
in general /usr
 
Old 06-26-2006, 05:29 PM   #3
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Most of the time /usr/bin or /bin.
Good luck.
 
Old 06-26-2006, 06:08 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,131

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by MichaelKthx
What is the linux equlivelant of "C:/Program Files"
Windows usually puts a lot of stuff under "Program Files". Executables, configuration files, help files, etc. These are usually more spread out in Linux, based on the function of the file. Executables are typically found in some "bin" directory. Be that /bin, /usr/bin, /usr/local/bin, /sbin, /usr/sbin, etc. Configuration files are often found under /etc, but they could be other places. "help files" might be found under /usr/share/doc. "man pages" (another type of "help file") under /usr/share/man. These directories are generally set at compile time or via environmental variables, but can usually be overridden at runtime.
 
Old 06-26-2006, 06:41 PM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 37
http://www.pathname.com/fhs/

The Filesystem Hierarchy Standard has been adopted by most Linux distributions. Those that haven't usually have a fairly similar filesystem layout. This will tell you where to look for most things.
 
Old 06-26-2006, 07:34 PM   #6
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
Linux

/bin

linux base utilities

/boot

boot loader, kernel, initrd, and various other boot files

/dev

special device files, either character device or block device

/etc

system configuration files

/home

user stuff

/lib

linux core libraries, symlink to kernel modules

/media

mount points for removable drives

/mnt

mount points for whatever you want

/opt

some distros pack /opt full of everything, other don't put anything there. /opt is like /usr

/proc

virtual file system of processes. These files aren't taking up disk space.

/root

/home for root user

/sbin

sysadmin utilities for root user

/srv

root directory for ftp and web servers

/sys

very low level hardware module state info

/tmp

temp files

/usr

user programs, libraries, documentation, and a load of other goodies.

/var

log files and stuff you usually don't use often, but look around.


If you need to find a file:
su
root password
updatedb --prunepaths='/tmp /usr/tmp /var/tmp /dev /proc /sys'
locate myfile

You only have to do updatedb once. locate works after that.

Last edited by AwesomeMachine; 07-18-2006 at 05:32 PM.
 
  


Reply

Tags
files


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
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 04:04 AM
Equivalent to MS's "Program Files" Seiken Linux - Newbie 7 02-14-2005 06:24 AM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 12:45 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
any program to play ".dat" files? l_9_l Linux - General 1 03-19-2002 10:20 PM


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