Tag Archives: cmd

Linux CMD

Command
Create an empty text file named index.txt
touch index.txt

Create and write file
cat > index.txt//Wirte abcd contentCtrl + D

Copy File
cp -r index.txt ./floder_path

Zip File
zip index.zip index.txt

UnZip File
zip index.zip index.txt

tar File (zip)
tar -zcvf test3.tar.gz test3

tar File (unzip)
tar -xvzf test3.tar.gz test3

Nano
Search keyword(s) [Next]
Ctrl + WEnter

Search keyword(s) [Backwards]
Ctrl + WAlt + W

Undo
Alt + U

Redo
Alt + E

Save
Ctrl +