Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
32 Cards in this Set
- Front
- Back
pwd
|
show the present working directory or current directory
|
|
cd
|
Change Directory to your HOME directory
|
|
cd /usr/strim100
|
change current directory to /usr/strim100
|
|
cd init
|
change current directory to INIT which is a sub-directory of the current directory.
|
|
cd . .
|
Change current directory to the parent directory of the current directory
|
|
cd $STRMWORK
|
Change current directory to the diretory defined by the environment variable 'STRMWORK'.
|
|
cd ~bob
|
change the current directory to the user bob's home directory (if you have permission).
|
|
ls
|
list a directory
|
|
ls -l
|
list a directory in long (detailed) format
|
|
ls -a
|
list the current directory including hidden files. Hidden files start with "."
|
|
ls -ld*
|
list all the file and directory names in the current directory using long format. Without the "d" option, ls would list the contents of any sub-directory of the current. with the "d" option, ls just lists them like regular files.
|
|
chmod 755 file
|
changes the permission of file to be rwx for the owner, and rx for the group and the world. (7 = rwx = 111 binary. 5 = r-x = 101 binary)
|
|
chgrp user file
|
makes the file belong to the group user.
|
|
chown cliff file
|
makes cliff the owner of the file
|
|
chown -R cliff dir
|
makes cliff the owner of dir and everything in its directory tree.
|
|
cp file 1 file 2
|
copy a file
|
|
mv file1 newname
|
move or fename a file
|
|
mv file1 ~/AAA/
|
Move file1 into sub-directory AAA in your home directory
|
|
rm file1 [file2 ...]
|
remove or delete a file
|
|
rm -r dir1 [dir2...]
|
recursively remove a directory and its contents BE CAREFUL!
|
|
mkdir dir1 [dir2...]
|
create directories
|
|
mkdir -p dirpath
|
create the directory dirpath, including all implied directories in the path.
|
|
rmdir dir1 [dir2...]
|
remove an empty directory
|
|
cat filename
|
Dump a file to the screen in ascii.
|
|
more filename
|
progressively dump a file to the screen: ENTER = one line down SPACEBAR = page down q=quit
|
|
less filename
|
Like more, but you can use Page-Up too. not on all systems
|
|
vi filename
|
edit a file using the vi editor. all unix systems will have vi in some form.
|
|
emacs filename
|
edit a file using the emacs editor. not all systems will have emacs.
|
|
head filename
|
show the first few lines of a file.
|
|
head -n filename
|
show the first n lines of a file.
|
|
tail filename
|
show the last few lines of a file.
|
|
tail -n filename
|
show the last n lines of a file.
|