System Command

 


 du
 Display directory space usage

  df
  display Disk Usages

  cal
  it show calender

  cat /proc/meminfo
  shows memory information.

  w
  Display, who is currently online

  cat /proc/cpuinfo
  shows cpu information

  cat /proc/version
  shows Information about Linux System

  fingure username
  shows information about a user

  whoami
  shows your login name

  uname -a
  used to display Kernal Information

  date
  show the current date & time

  uptime
  shows the system current uptime.

  man command
  shows manual a command

  whereis app
  shows possible location for an App

  which app
  shows which App will be Run by Default

  free
  Display Memory and swap usage.

  man command
  shows manual a command

  kill
  send signal to process

  kill [PID]
  This sends the TERM signal to the process.The TERM signal tells the process to please terminate.

  kill -l
  list all of the signals that are posssible to send with kill

  lspci
  shows PCI Devices

  lsusb
  shows USB Devices

  lsblk
  block devices in a tree-like format

  curl ifconfig.me
  to display external ip address

  cat /var/log/boot.log
  Bootlog information

  reset
  salvage a borked terminal

  man ascii
  quick access to the ascii table

  getconf LONG_BIT
  32 bits or 64 nits?

  lsof -i
  watch network service activity in real-time

  lsof -P -i -n
  show apps that use internet connection at the moment

  nc -v -l 80 < file.ext
  shareing file through http 80 port

  vim -x
  add password protection to a file your editing in vim

  man hier
  show file system hierarchy

  fuser -k filename
  kills a process that is locking a file

  cat /etc/issue
  display which distro is installed

  date -d@1234567890
  convert seconds to humn readble format

  curl wttr.in/india
  nice weather forecast on your shell

  ls -d */
  list only the directories

  script
  make a log of a terminal session

0 Comments:

Post a Comment