addsense

main menu

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

top 5 linux command


1:   tar command  

   To extract zip files in kali linux you need to install   unzip softwere
    for installation process  , you open terminal and type this command

'apt-get install unzip'
'apt-get install tar'
  
to extrat achive files in kali linux type this command
tar -vxf  'file name'
and press enter.



2:  cd  ( change dircectory ) command

this is very usefull commad for all linux and mostly use in linux operating
system

some examples  of this cammand blew

cd 'path of your directory'
cd Desktop
cd Documents
cd /root/sbin
etc


3: ls - list directory contents   command

List  information  about  the FILEs (the current directory by default).
       Sort entries alphabetically if none of -cftuvSUX nor --sort  is  speci‐
       fied.



  -a, --all
              do not ignore entries starting with .

       -A, --almost-all
              do not list implied . and ..

       --author
              with -l, print the author of each file

       -b, --escape
              print C-style escapes for nongraphic characters

       --block-size=SIZE
              scale sizes by SIZE before printing them; e.g., '--block-size=M'
              prints sizes in units of 1,048,576 bytes; see SIZE format below

       -B, --ignore-backups
              do not list implied entries ending with ~

       -c     with -lt: sort by, and show, ctime (time of last modification of
              file status information); with -l: show ctime and sort by  name;
              otherwise: sort by ctime, newest first

       -C     list entries by columns

   


3:  nano  ( this is text editor )



NAME
       nano - Nano's ANOther editor, an enhanced free Pico clone

SYNOPSIS
       nano [options] [[+line[,column]] file]...

DESCRIPTION
       nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine pack‐
       age.  On top of copying Pico's look and feel, nano also implements some missing (or disabled by default) features  in  Pico,
       such as "search and replace" and "go to line and column number".

EDITING
       Entering  text and moving around in a file is straightforward: typing the letters and using the normal cursor movement keys.
       Commands are entered by using the Control (^) and the Alt or Meta (M-) keys.  Typing ^K deletes the current line and puts it
       in  the  cutbuffer.  Consecutive ^Ks will put all deleted lines together in the cutbuffer.  Any cursor movement or executing
       any other command will cause the next ^K to overwrite the cutbuffer.  A ^U will paste the current contents of the  cutbuffer
       at the current cursor position.

       When a more precise piece of text needs to be cut or copied, one can mark its start with ^6, move the cursor to its end (the
       marked text will be highlighted), and then use ^K to cut it, or M-6 to copy it to the cutbuffer.   One  can  also  save  the
       marked text to a file with ^O, or spell check it with ^T.

       Since  nano-2.7.0,  text  can also be selected by holding Shift and moving the cursor with the arrow keys.  Holding down the
       Alt key too will increase the stride.

       The two lines at the bottom of the screen show the most important       commands; the built-in help (^G) lists all  the  available
         ones.  The default key bindings can be changed via the .nanorc file --     see    nanorc(5).

      example

      nano abc.txt     and press enter



4: free     command

       free command is use to check free ram
       all detail about ram



5: top       command


        top command is use to see to top process of linux machine



6:  pwd  

       (print name of current/working directory)




7:   which    command


              this command is use to traca a path



8:     who   command
         show who is logged on
















   

No comments:

Post a Comment