Wednesday, 16 December 2020

Terminal and nano

                                                                     Introduction

Terminal is a Command Lines interface.Terminal allows to send text commands to computer .


                                                                  Terminal Commands



  • History=Show all used commands 
  • gedit=Open Text new document
  • mkdir=make directory
  • rmdir=Remove Directory
  • mv=Move Directory And rename Directory or folder
  • df -m = Shows Mounted 
  • reset = Reset terminal
  • echo = Show what type on
  • mv = Move Directory And rename Directory or folder
  • man = Mive command details
  • info = Give more details than man
  • touch = Cread file
  • rm-r 'file name' = Remove Directory when it have files
  • head 'file name' = Show first 10 lines
  • tail 'file name' = Show last 10 lines
  • tail -20 'file name'=last 20 lines
  • date = Show date,month,year and time
  • pwd = To Find Path
  • cd = Change Directory
  • cd .. = Come Back to fomer Directory
  • cd ~  = Come out from total  Directory
  • clear = Clear all
  • cat = Read File in Terminal
  • cat > = ver Right Texts
  • cat >> = Add Texts
  • cp 'file name' parth = Copy
  • unzip 'filename.zip' = unzip file
  • uname = Show flatform(os) ex:-linux
  • uname -a = Full Details of the os
  • hostname = Shows User Name
  • hostname -i = Shows ip address
  • who = User Name and Last Lock in
  • whoami = User Name
  • ls = list
  • ls -R = Shows sub Directory And Files
  • ls -a = Shows hidden folder

                                                       Nano Commands 



  • ctrl+y=Page up
  • ctrl+v = Page Down
  • ctrl+i = used like tap
  • ctrl+k = cut
  • ctrl+u = past
  • ctrl+r = insert File
  • ctrl+x=exit
  • ctrl+o=save
  • ctrl+w=Search particular Word
  • ctrl+g=help
  • ctrl+c=cancel
  • ctrl+f=move right side
  • ctrl+b = Move left side
  • ctrl+n = Move down

  • Alt+d=Words lines Chars
  • Alt+> = buffer
  • Alt+a = Select tests
  • Alt+\ = Go to Start
  • Alt+/ = Go to End
  • Alt+g = Go to Specific line and colum

No comments:

Post a Comment