Shared Flashcard Set

Details

Computer Science Commands
UNIX Commands
16
Computer Science
Undergraduate 1
01/22/2013

Additional Computer Science Flashcards

 


 

Cards

Term
ls
Definition
list all contents in your current directory
Term
cd
Definition
takes you back to your home directory
Term
cd ..
Definition
takes you back one directory
Term
cd dir_path
Definition
takes you to the directory specified by the path provided
Term
mv src_file dest_path
Definition
renames scr_file to dest_file
Term
mv src_file dest_path
Definition
moves scr_file to the folder specified by dest_path
Term
mv scr_file dest_dir/dest_file
Definition
moves scr_file to the folder specified by dest_path and gives it the name dest_file
Term
cp src_file dest_file
Definition
copies scr_file to dest_file
Term
cp src_file dest_path
Definition
copies src_file to the folder specified by dest_path
Term
cp src_file dest_dir/dest_file
Definition
copies src_file to the folder specified by dest_dir and gives it the name dest_file
Term
rm file_name
Definition
deletes the file named file_name
Term
mkdir dir_name
Definition
creates the directory named dir_name in your current directory
Term
rmdir dir_name
Definition
deltes the directory named did_name if it is empty
Term
rm -rf dir_name
Definition
deletes the directory named dir_name
Term
ps
Definition
shows a listing of processes that are running
Term
kill -9 [pid]
Definition
kills the process you specify with the [pid] (process id#) which is shown when you type ps
Supporting users have an ad free experience!