Linux Commands

Description

This is an example of linux commands. This documents is useful for creating linux.

Reviews
SOME BASIC LINUX COMMANDS cd Change directory. This is the command you use to change into different directories. An example would be "cd /mnt" (minus the quotes, always minus the quotes) now you will be the /mnt dir. Mounts a filesystem. ex, "mount /dev/hda4 /mnt" mounts hard drive partition 4 in your /mnt directory. Copies files. eg, "cp SomeFile /home/momo/" copies a SomeFile into user momo's home directory. Move. Does the same as cp except moves the file instead of copying it. You also use the mv command to rename files/directories ex, "mv file1 SomeNewFilename" renames file1 to SomeNewFilename. Make Directory. ex, "mkdir /home/momo/new" creates a directory named new in momo's home directory. If you are currently in the directory you want to make the the new directory in you can just do "mkdir new" to make a directory named "new". Removes files and directories. ex, "rm file1". To use rm without a hassle you may want to use "rm -rf". This way you won't be prompted to confirm the removal of the file. You can not use rm to remove directories which are not empty unless you use an option telling rm to do otherwise, the -rf option works well for this. Use "rm -rf" carefully. Removes empty directories. ex, "rmdir new". displays the man page for a paticular application or command mount cp mv mkdir rm rmdir man chmod changes the permissions for a file; permissions should include a letter designating permissions who gets permissions (u for the user, g for the group, o for others, or a for all) filenames followed by a + or - (to give or take away the permission) followed by the kind of permission (r for read access, w for write access, x for execute if the file is a program or script); the complete command that you type should look like: chmod g-w filename clear ls [-l] [-a] [-p] [-r] [t] [-x] clears the screen lists the files in a directory; -l displays detailed informtion about each file and directory, including persmissions, owners, size and time/date when the file was last modified; -a option displays all the files and subdirectories including hidden files (with names that begin with a dot); -p displays a slash at the end of each ps pwd directory name to distinquish them from filenames; -r displays files in reverse order; -t displays files in order of modification time; -x displays the filenames in columns across the screen. displays information about your processes/jobs/programs which are running on the server displays the current working directory

Related docs
Linux-Commands
Views: 3  |  Downloads: 7
All Linux Commands
Views: 531  |  Downloads: 156
mandrake linux commands
Views: 212  |  Downloads: 30
advanced linux commands
Views: 159  |  Downloads: 42
Linux Bash Commands
Views: 553  |  Downloads: 18
linux basic commands tutorial
Views: 53  |  Downloads: 19
Linux Fundamentals by Commands and Examples
Views: 186  |  Downloads: 56
basic unix linux commands
Views: 1257  |  Downloads: 216
Linux Commands
Views: 108  |  Downloads: 13
Linux Command Quick Reference
Views: 569  |  Downloads: 120
premium docs
Other docs by mary jean meni...
Ethical Case Studies
Views: 2662  |  Downloads: 40
Public Criminal Records
Views: 837  |  Downloads: 5
Printable Thank You Notes
Views: 1642  |  Downloads: 20
Investing Real Estate Opportunities
Views: 471  |  Downloads: 27
Subway Franchise
Views: 1311  |  Downloads: 33
Dallas Immigration Law Experts
Views: 249  |  Downloads: 2
Information Management
Views: 438  |  Downloads: 15
Prepare a Personal Budget
Views: 536  |  Downloads: 15
Free Instant Credit Report
Views: 579  |  Downloads: 1
Free Case Study Examples
Views: 4753  |  Downloads: 37
Business Names
Views: 475  |  Downloads: 7
Business Credit Cards
Views: 135  |  Downloads: 0
How to Make Money in Real Estate
Views: 130  |  Downloads: 1
Free Career Assessments
Views: 194  |  Downloads: 1
Gross Domestic Product
Views: 412  |  Downloads: 0