| Question | Answer |
| ls | directory listing |
| ls -al | formatted listinf with hidden files |
| cd dir | change directory to dir |
| cd | change to home |
| pwd | show current |
| mkdir dir | create a directory |
| rm file | delete file |
| rm - r dir | delete directory dir |
| rm -r file | force remove file |
| rm -rf dir | remove directory dir |
| cp file1 file2 | copy file 1 to file 2 |
| mv file1 to file2 | rename file1 to file2 |
| ln -s file link | create symbolic link 'link' to file |
| touch file | create/update file |
| cat > file | place std input into file |
| more file | outpur the contents of the file |
| less file | output the content of the file |
| head file | output first 10 line of the file |
| tail file | output last 10 lines of file |
| tail -f file | output contents of file as it grows |
Want to create your own Flashcards for free with GoConqr? Learn more.