**New Developers Working Group** ===== Common Bash Commands ===== * ''cd'' --> move back to the home folder * ''cd foldername'' --> move from the current folder to a child folder * ''cd ..'' --> move up in the folder hierarchy one level * ''clear'' --> clears your command window giving you a fresh screen to work with (also, Ctrl-l) * ''cp myfile.txt myfile.bak'' --> copies file with new name * ''diff myfile.txt otherfile.txt'' --> shows differences between files * ''echo $ (tab tab)'' --> returns list of all variables * ''echo $s (tab)'' --> returns list of all variables that begin with 's' * ''echo (variable name)'' --> returns value of variable * ''ls'' --> list visible folders and files in the current folder * ''ls -a'' --> lists all of the files and folders in the current folder, including hidden files * ''ls -l'' --> lists all of the folders and files in the current folder with additional detail such as last modified timestamp * ''man (name of command)'' --> opens manual for that command * ''mkdir newfoldername'' --> create a new folder * ''mv myfile.txt myfolder'' --> moves file to folder * ''notepad++ newdocname.txt'' --> create a new file and open it in notepad++ * ''notepad++ docname.txt'' --> edit an existing file in notepad++ * ''pwd'' --> see what folder you are currently in * ''rmdir (myfoldername)'' --> deletes folder