| Like what you see? Get it in one document for easy printing! |
Click Here!
|
|
|
Basic Concepts and Procedures for Creating, Viewing and Editing Files and Directories
This section will cover the basic
commands needed to interact with the file system including such activities
and listing directory contents, creating files, managing access permissions
to those files, and listing and editing files. Although it includes
a limited number of commands, it does include all the important functions
a system user or administrator would need to know to use efficiently
the command line to manage file activities.
Lets start with a list of basic
file system commands, as shown in Table 11.
Table 11: Basic Linux File System Commands
Command
|
Frequently used
options
|
Description
|
cat
|
|
Concatenate files and print on
the standard output
|
cd
|
|
Change working directory
|
cp
|
-i interactive
-r recursive
|
Copy files or directories
|
head
|
+n
|
Output the first part of files
|
less
|
|
Similar to more but with aditional
functinality
|
ls
|
-a include hidden files
-l long format
|
List directory contents
|
mkdir
|
|
Make directories
|
more
|
|
View files
|
mv
|
-i interactive
-r recursive
|
Move (rename) files
|
pwd
|
|
Print name of current/working
directory
|
rm
|
-i interactive
-r recursive
|
Remove files or directories
|
rmdir
|
|
Remove directory which must be
empty
|
tail
|
|
Output the last part of files
|
|
Quick navigation to subsections and regular topics in this section
|
| If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support! |
|
|
Home -
Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.
|