Linux Commands
Linux Commands
cd - change directory
cp - copy
mv - move
sudo - used by ADMIN or the ROOT user to do tasks for other users
ps -a - background processes
-------------------------------------------------------------------------
----------
VI EDITOR COMMANDS
- delete
- cut/copy/paste, etc.
* To enter the INSERT MODE or, in simple terms to start writing in (vi)
we first press "i" button from the keyboard ,which enables the INSERT
MODE,
then start writing what we want.
* To go to the LAST LINE MODE , first press "esc" button then press the
":" button
* To SAVE a file , first go to the command mode, then type "wq" (means
write quit)
hit the enter button
* To COPY a line , first go to the line that you want to copy , then
press the "y"
button twice, then go the destination where you want to paste the
copied file ,
then press the "p" button.
* To DELETE a line , first go to the line that you want to delete , then
press the "d"
button twice.
* To EXIT from (vi) , go to the command mode, then type ":q" [ you can
also exit from the
vi editor( without saving changes ) by just typing ":q!" ]