Linux

Introduction
Linux Architecture
Linux booting process
Linux file system structure

Linux Commands

Basic

  • cd  –> Change the shell working directory.
  • pwd  –> Print the name of the current working directory.
  • mkdir  –>  make directories
  • ls  –>  To display list information about files.
  • rm  –> Remove files or directories.
  • cp  –> Copy the files
  • mv  –> To remove files
  • locate  –> To find out the command path
  • clear  –>  To clear the screen
  • ll  –> To display the list of files
  • touch –> change file timestamps or create new create a new file.
  • which –> To find out the path of the command.

Help commands:

  • man
  • help
  • info

Environment Commands:

  • VARIABLE_NAME= variable_value –> to create new variable.
  • env –>
  • unset –>
  • export –>

Networking

  • ping
  • nmap
  • traceroute
  • dig
  • nslookup
  • w
  • ifconfig
  • netstat
  • ifup
  • scp
  • ip
  • tcpkill
  • wget
  • elinks
  • route
  • mount
  • tcpdump
  • wireshark
  • tethereal

File Operation

  • cat
  • vi
  • vim
  • nano

File Filter

  • grep
  • find
  • awk
  • diff

Permissions

  • chmod
  • chown
  • sudo

Links

  • Hardlink (ln)
  • Softlink (ln -s)

Re-direction

  • pipe (|)
  • < , <<, >, >>

Compress

  • tar
  • zip
  • unzip

Installation

  • yum
  • rpm

Schedule

  • crontab
  • at

File Transfer

  • ftp
  • sftp

Data Sync

  • rsync

Broadcast

  • wall

Remote Server Login 

  • ssh
  • telnet
  • rlogin

Programming file commie and run

  • gcc
  • g++
  • javac
  • java

Run command in backgroup

  • bg
  • fg
  • &
  • nohup

Disk Operations

  • fdisk
  • du
  • df

Process

  • top
  • ps
  • ppid
  • killall
  • kill
  • pstree
  • htop

Date & Time

  • date
  • cal

Mathematical

  • bc

RAM Utilities

  • free
  • dmidecode
  • vmst

Admin

  • useradd
  • userdel

Disk I/O

  • iotop
  • iostat

Advertisements
%d bloggers like this: