My list of important Linux commands

 

After working with Linux operating system for quite sometime now, I have compiled a list of some of the most useful commands to help perform the day-to-day administrative tasks.

Text/Data:

  • cat
  • wc
  • head
  • tail
  • echo

Text Editors:

  • nano
  • vi

Filesystem:

  • ls
  • df
  • cat /proc/diskstats
  • cat /proc/sys/fs/file-max

Performance:

  • top (1 for all CPUs)
  • mpstat -P ALL 2 1
  • vmstat 5
  • iostat -dx 5

Monitoring:

  • top
  • mpstat -P ALL 2 1
  • watch

General Info:

  • whoami
  • hostname
  • pwd
  • ls
  • env
  • lsof
  • lsmod
  • date

Linux Administration:

  • cat /proc/version
  • cat /proc/cpuinfo
  • cat /proc/mounts
  • cat /proc/filesystems
  • cat /proc/uptime
  • cat /proc/mounts

Advanced:

  • cat /proc/diskstats
  • cat /proc/devices
  • cat /proc/mdstat (software RAID)
  • cat /proc/sys/fs/file-max
  • cat /proc/partitions
  • cat /proc/meminfo
  • cat /proc/vmstat
  • cat /proc/modules

Please feel free to use the comments form below if you have any questions or need more explanation on anything.

Tags

linux, administration, command, script, filesystem, os, unix,

Popular Searches

linux, php, mysql, ubuntu, mysql mysql, tools, install mysql, gearman, source code, java

more>>

Comments (write a comment):

0 comments so far. Be the first one to leave a comment on this article.

 

Comment