Linux redhat commands cheat sheet

broken image
broken image

Linux has an extensive set of online documentation for your reference. The -a switch-or option, as it's called-shows you all files, even hidden ones. You now see several files beginning with a period. Hidden files in Linux begin with a period (. In your home directory, where you are now, you probably have hidden files. You've successfully listed the contents of the /etc directory, but you can actually list files in several different ways. The /etc ( et-see) directory is where a Linux system's configuration files live.Ī large number of files (over 200) appear on your screen. The ls command won't show you much in your home directory on a new system, so let's explore a directory that contains a lot of files and directories: /etc. If you simply type ls at a prompt ( $), you'll see all non-hidden files in your current directory, which is your home directory when you first log into a Linux system.

broken image

The list ( ls) command is equivalent to the DOS DIR command, in that it lists files and directories.

broken image

How well do you know Linux? Take a quiz and get a badge.Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program.

broken image