February 22nd, 2007
Part 2: Helpful Command-Line Commands (Linux)
By Kyle Reasons
Contributing Writer, RealTechNews
General
- at
- Runs a command or script at a given time
- Shows the jobs that are scheduled to run
- Used to remove a job that is scheduled to run
- Runs a command or script and is really a subset of the at command that takes you to the at>prompt if you type only batch
- Displays the contents of a file to the screen
- Changes to another directory
- Changes the group associated with one or more files to a different group
- Controls file security
- Changes file ownership
- Sets your login shell
- Used to compare two files
- Copies a file to another directory (and you can rename the file at the same time)
- df
- Shows a report of how the disk space is used
- Backs up files
- Used to edit disk quotas associated with user accounts
- Formats and partitions a disk
- Displays the file type
- Used to find specific files
- Performs a verification of the file system
- Searches for a particular string of characters in a file
- Creates a new group
- Deletes an existing group
- Modifies an existing group
- Displays information and documentation about a command or a utility
- Used to configure a keyboard
- Sets the repeat rate for the keyboard
- Stops a process
- Shows the contents of a file, with the ability to go back or more ahead in the file
- Creates symbolic file links
- Configures a printer
- Used to check a print queue
- Prints a file
- Removes print jobs from the queue
- Lists the contents of a directory
- Displays documentation in Linux
- Creates a directory
- Displays text in a file one screen at a time
- Lists the disks currently mounted; also mounts file systems and devices
- Moves a file to a different directory
- Creates a new file system
- Used to change a password
- Used to format a file into pages or columns for printing
- Prints environment variables that are already set up
- Shows currently running processes
- Checks the /etc/ passwd and /etc/shadow files to make sure password authentication entries are valid
- Shows the directory you are in
- Displays the disk quota for users
- Verifies the disk quota files, including reporting disk usage
- Enables or disables disk quotas
- Makes a report of disk quotas
- Restores files (from a dump)
- Removes a file or directory
- Deletes a directory that is empty
- Sorts the contents of a text file
- Turns page file devices on or off
- Forces information in memory to be written to disk
- Used to archive files
- Shows a report of the main, current processes engaging the central processing unit (CPU)
- Creates an empty file
- Dismounts a file system
- Shows information about the operating system
- Configures a new user account
- Removes an existing user account
- Modifies an existing user account
- Displays a report about virtual memory use
- Used to locate information about a specific file, such as a program
Network Commands
- finger
- Provides information about a user
- Enables file transfers
- Used to set up a network interface
- Used to manage a firewall
- Shows network connection information
- Shows statistics for Network File System (NFS) file upload and download activity
- Used to query information on Internet Domain Name System (DNS) servers
- Used to poll a TCP/IP node to verify you can communicate with it
- Displays routing table information and can be used to configure routing
- Shows clients that have mounted volumes on a NFS server
- Shows who is logged on
- Controls a Point-to-Point Protocol (PPP)-based modem dialer












Ed3 says:
It should be noted those are not Linux-only commands. Most will work on any UNIX-based system, including Mac OSX…
…or does that ruin your plan for Part3 - Mac OSX command-line commands?
February 23rd, 2007 at 8:07 am