Command | Description | |||||||
---|---|---|---|---|---|---|---|---|
cat filename | Displays a filename. | |||||||
cd dirname | Moves you to the directory identified. | |||||||
cp file1 file2 | Copies one file/directory to specified location. | |||||||
file filename | Identifies the file type (binary, text, etc). | |||||||
find filename dir | Finds a file/directory. | |||||||
head filename | Shows the beginning of a file. | |||||||
less filename | Browses through a file from end or beginning. | |||||||
ls dirname | Shows the contents of the directory specified. | |||||||
mkdir dirname | Creates the specified directory. | |||||||
more filename | Browses through a file from beginning to end. | |||||||
mv file1 file2 | Moves the location of or renames a file/directory. | |||||||
pwd | Shows the current directory the user is in. | |||||||
rm filename | Removes a file. | |||||||
rmdir dirname | Removes a directory. | |||||||
tail filename | Shows the end of a file. | |||||||
touch filename | Creates a blank file or modifies an existing file.s attributes. | |||||||
whereis filename | Shows the location of a file. | |||||||
which filename | Shows the location of a file if it is in your PATH. |
Saturday, 29 June 2013
Linux Basic Commands
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment