However, by using the AWS consoles as much as possible, you can reduce the need for the CLI to a minimum. Even so, you find that some tasks still require the CLI, which is where this handy list of CLI commands comes into play. (Information you must replace with a specific entry appears in italics.)
- cat /proc/mounts: Displays a list of mounted drives.
- ls: Lists the contents of a directory. You may optionally provide a directory path to list.
- rm
: Removes the specified file from the current directory. - rpm -ql '
': Obtains a list of utilities contained within a package. - sudo chmod
: Changes the access mode for the current directory. - sudo mkdir
: Creates a new directory to hold files. - sudo reboot: Reboots the remove AWS system so that you can see the results of any changes you make.
- sudo rmdir
: Removes the specified directory. - sudo yum groupinstall "
": Installs the specified group of packages. - sudo yum search '
': Searches for a package. - sudo yum update: Performs required AWS updates.
- sudo yum -y install
: Installs a required support service or feature onto the AWS system.