Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-26-2006, 05:26 PM   #1
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
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
in general /usr
Old 06-26-2006, 05:29 PM   #3
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
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 38

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
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007


linux base utilities


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


special device files, either character device or block device


system configuration files


user stuff


linux core libraries, symlink to kernel modules


mount points for removable drives


mount points for whatever you want


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


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


/home for root user


sysadmin utilities for root user


root directory for ftp and web servers


very low level hardware module state info


temp files


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


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

If you need to find a file:
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.



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 > Forums > Linux Forums > Linux - Newbie

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