Common Linux Commands - For Dummies
Common Linux Commands - For Dummies
Advertisement
FirePlotter A real-time bandwidth monitor for Cisco and FortiNet firewalls www.fireplotter.com
Rich Text Editor Control WinForms Word Processing and Export DOC, PDF, HTML, OOo, RTF. www.devexpress.com
Command Description
cat [filename] Display file’s contents to the standard output device (usually
your monitor).
cd /directorypath Change to directory.
chmod [options] mode Change a file’s permissions.
filename
chown [options] Change who owns a file.
filename
clear Clear a command line screen/window for a fresh start.
cp [options] source Copy files and directories.
destination
date [options] Display or set the system date and time.
df [options] Display used and available disk space.
du [options] Show how much space each file takes up.
file [options] filename Determine what type of data is within a file.
find [pathname] Search for files matching a provided pattern.
[expression]
grep [options] pattern Search files or output for a particular pattern.
[filesname]
http://www.dummies.com/how-to/content/common-linux-commands.html 15.04.2012 1:43:39 AM
Common Linux Commands - For Dummies Page 2
kill [options] pid Stop a process. If the process refuses to stop, use kill -9 pid.
less [options] [filename] View the contents of a file one page at a time.
ln [options] source Create a shortcut.
[destination]
locate filename Search a copy of your filesystem for the specified filename.
lpr [options] Send a print job.
ls [options] List directory contents.
man [command] Display the help information for the specified command.
mkdir [options] directory Create a new directory.
mv [options] source Rename or move file(s) or directories.
destination
passwd [name Change the password or allow (for the system administrator)
[password]] to change any password.
ps [options] Display a snapshot of the currently running processes.
pwd Display the pathname for the current directory.
rm [options] directory Remove (delete) file(s) and/or directories.
rmdir [options] directory Delete empty directories.
ssh [options] user@ Remotely log in to another Linux machine, over the network.
machine Leave an ssh session by typing exit.
Useful Commands in Ubuntu Linux Bill Gates Just Bought $571 Million of
This Stock (StreetAuthority)
Decorating Windows with the Curtains
and Drapes 7 inventors killed by their inventions
(Mother Nature Network)
Repairing Stains, Nicks, and Scratches
in Hardwood Floors 4 Herbs That Get Rid of Headaches
[?] (RealAge)
10 Quotes to Provide Instant Motivation
(Moneyning.com)
4 Truths About Women No Man Should
Ever Forget (MadeMan)
[?]
Copyright © 2012 & Trademark by John Wiley & Sons, Inc. All rights reserved.