Home
Flashcards
Preview
Linux Intermediate
Home
Get App
Take Quiz
Create
command to list files
ls
by default, linux does not list what type of files?
dotfiles .access
to see all files, what flag do you add?
ls -al
to see user acess what flag do you use?
ls -l
to get to the home directory?
cd ~
wild card for one letter
? as in ls a? will return everything that has a and another single character (am, a1, etc.)
wild card for any number of letters
*
difference between * and ?
* any number of characters where as ? is one character or digit only. * covers ? and ??, etc.
How to go up one level in the structure?
Cd ..
how to go up 2 levels in the structure?
cd ../..
command for copying files in same directory
cp cas
Copy files or rename them
cp counter.pl counter.pl.old
Duplicate a whole directory
cp -a cgi cgi2
Move or rename a file
mv counter.pl.old counter.pl.original
delete file
rm remove
rm counter.pl.original
create a directory
mkdir images
remove directory
rmdir images
remove all the files in a directory
rm -r cgi2
If you copy more than one file
cp cgi-lib.pl counter.pl guest.pl backups
Author
dalbabes
ID
73134
Card Set
Linux Intermediate
Description
More Linux
Updated
2011-03-15T23:19:09Z
Show Answers
Home
Flashcards
Preview