Skip to main content

Red Hat Enterprise File System Hierarchy

Do you know the Red Hat File system directories and its usage ? Below are the list of the primary Red Hat Enterprise Linux system directories:

/bin/ — Used to store user commands. The directory /usr/bin/ also stores user commands.

/sbin/ — Location of many system commands, such as shutdown. The directory /usr/sbin/ also contains many system commands.

/root/ — The home directory of root, the superuser.

/misc/ — This directory is used for automatically mounting directories on removeable devices (such as Zip drives) and remote directories (such as NFS shares) usingautofs. Refer to the autofs manual page (type man autofs at a shell prompt) for more information.

/mnt/ — This directory typically contains the mount points for file systems mounted after the system is booted.

/media/ — This directory contains the mount points for removable media, such as diskettes, CD-ROMs, and USB flash drives.

/boot/ — Contains the kernel and other files used during system startup.

/lost+found/ — Used by fsck to place orphaned files (files without names).

/lib/ — Contains many device modules and library files used by programs in /bin/ and /sbin/. The directory /usr/lib/ contains library files for user applications.

/dev/ — Stores device files.

/etc/ — Contains configuration files and directories.

/var/ — For variable (or constantly changing) files, such as log files and the printer spool.

/usr/ — Contains files and directories directly relating to users of the system, such as programs and supporting library files.

/proc/ — A virtual file system (not actually stored on the disk) that contains system information used by certain programs.

/initrd/ — A directory that is used to mount the initrd.img image file and load needed device modules during bootup.

/tftpboot/ — Contains files and applications needed for Preboot Execution Environment (PXE), a service that allows client machines and machines without hard drives to boot an operating system from an image on a central PXE server.

/tmp/ — The temporary directory for users and programs. /tmp/ allows all users on a system read and write access.

/home/ — Default location of user home directories.

/opt/ — Directory where optional files and programs are stored. This directory is used mainly by third-party developers for easy installation and uninstallation of their software packages.

Comments

Popular posts from this blog

How to make the email Address Dummy in Oracle Database?

How to make the email Address Dummy in Oracle Database? Query to make the email Address as dummy, update <tablename> set <Columnname> = '@' || <Columnname> where <Columnname>  is not null; Query to Remove the email Address as dummy, update <tablename> set <Columnname>= substr(<Columnname>,2,length(<Columnname>)) where <Columnname> is not null;

Upgrading Windows Server 2008 R2 with a command-line tool using DISM

Windows Server 2008 R2 includes a command-line tool called the Deployment Image Servicing and Management tool, or DISM. It's functionally equivalent to the Windows Anytime Upgrade feature in client versions of Windows. You can run it from an elevated command prompt. To determine the currently installed edition: DISM /online /Get-CurrentEdition To determine the editions you can upgrade to: DISM /online /Get-TargetEditions To actually perform an upgrade: DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

List of FTP commands for the Microsoft command-line FTP client

Command-line options As you're starting the program from a DOS prompt: ftp [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [computer] -v  - Suppresses  verbose  display of remote server responses. -n  - Suppresses auto-login upon initial connection. -i  - Turns off interactive  prompting  during multiple file transfers. -d  - Enables  debugging , displaying all ftp commands passed between the client and server. -g  - Disables filename  globbing , which permits the use of wildcard chracters in local file and path names. -s:filename  - Specifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>). -a  - Use any local interface when binding data connection. -w:windowsize  - Overrides the default transfer buffer size of 4096. computer  - Specifies the computer name o...