Getting Started with Linux commands
- pwd Displays the current directory
- CD switch directories such as: CD/switch to root directory
- CD.. Switch to Parent directory
- ls displays all files and folders in the current directory
- ls-l lists the files and folders in the current directory for more information
- ls-a displays all files and folders (including hidden files) in the current directory
- VI. Test creates a hidden file with a file name of. Test
- LS-LH Friendly display the list of files in the current directory (the file/folder size display unit is no longer a byte, but in kb,m, etc.)
- Vim file name Edit file Vim file name >> Press i key >> input file Contents >> Press ESC >> Press SHIFT +;(enter colon) > > enter Wq to edit the file and save
- Cat file name View all contents of file
- More file name to view the contents of the files when you hit the return line to see, knocking the Space bar one page to see
- mkdir directory name creation directory
- MV File 1 (directory 1) directory 2 move files or directories under a sibling directory to another directory
- MV file 1 file 2 overwrite file 1 under sibling directory 2
- mkdir-p Directory 1/Directory 2/Directory 3 recursively create a directory
- Tree Directory 1 properties show all content under directory 1
Getting started with Python--linux command