Upgrade to remove ads
The Linux Command Line 1-4
Commands and Terms from the book "The Linux Command Line, A Complete Introduction" by William E. Shotts, Jr.
Terms in this set (63)
Print name of current working directory
Changes the working directory to home directory
Changes the working directory to the previous working directory
List directory contents
List all files, even those with names that begin with a period, which are normally not listed
Display in reverse order z-a
Sort results by size
Sort by modification time
Display results in long format
Determine file type
View file contents
(less): PAGE UP or b
Scroll back one page
(less): PAGE DOWN or Spacebar
Scroll forward one page
(less): Up Arrow
Scroll up one line
(less): Down Arrow
Scroll down one line
Move to the end of the text file
(less): 1G or g
Move to the beginning of the text file
Search forward to the next occurrence of "characters"
Display help screen
Contains binaries (programs) that must be present for the system to boot and run.
Contains the Linux kernel, initial RAM disk image, and the boot loader
Contains list of all devices it understands
Contains all of the system-wide configuration files.
Contains a collection of shell scripts that start each of the system services at boot time.
Contains shared library files used by the core system programs. These are similar to DLLs in Windows.
Contains the mount points for removable media such as USB drives, CD-ROM's, etc. that are mounted automatically at insertion.
Contains mount points for removable devices that have been mounted manually.
Directory used to install "optional" software.
Contains commercial software products
A control and information centre for the kernel
The home directory for the root account
Contains "system" binaries
These are programs that perform vital system tasks
Directory intended for storage of temporary transient files created by various programs.
Contains all the programs and support files used by regular users
Contains the executable programs installed by your Linux distribution
The shared libraries for the programs in /usr/bin
The /usr/local tree is where programs that are not included with your distribution but are intended for system-wide use are installed.
Contains more system administration programs
Contains all the shared data used by programs in /usr/bin
This includes things like default config files, icons, screen backgrounds, sound files, etc.
Most packages installed on the system will include some kind of documentation.
Documentation files organized by package.
Directory tree where data that is likely to change is stored.
Various databases, spool files, user mail, etc. are located here
Contains log files, records of various system activity
Should be monitored from time to time. ATT: /var/log/messages
Move/rename files and directories
Remove files and directories
Any single character
Any character that is a member of the set "characters"
Any character that is not a member of the set "characters"
Any alphanumeric character
Any alphabetic character
Any lowercase letter
Any uppercase letter
Copy files and directories
item1 item2... directory
Copy the files and directories and all of their attributes, including ownerships and permissions
Before overwriting an existing file, prompt the user for confirmation.
Otherwise cp will silently overwrite files
Recursively copy directories and their contents
When copying files from one directory to another, copy only files that either don't exist or are newer than the existing corresponding files in the destination directory.
Display informative messages as the copy is performed
Ignore nonexistent files and do not prompt. This overrides the --interactive option
ln (file) (link)
Create hard link
ln -s (file or directory) (link)
Create a symbolic link
THIS SET IS OFTEN IN FOLDERS WITH...
Crash Course in Command Line
Learning the Command line for Mac OSX/Linux
Linux Command-Line Cheat Sheet
The Linux Command Line Ch 6
YOU MIGHT ALSO LIKE...
1.10 Filesystem Hierarchy Standard (FHS)
OTHER SETS BY THIS CREATOR
Behavioral Science Terms