Saturday, August 10, 2013

Linux Commands

Here are some common Unix/Linux commands
  1. OS bitness 32 or 64: getconf KERNEL_BITS
  2. architecture of processor: file /usr/bin/w
  3. disk space usage: du
  4. enable backspace: stty erase hit_the_backspace_key
  5. split a vim screen vertically: Ctrl+wv
  6. list of open ports: netstat
  7. list of processes: ps
  8. rename a file: mv original_filename renamed_filename
  9. move a file: mv filepath/filename target_filepath/filename
  10. change permissions: chmod
  11. change owner: chown

No comments:

Post a Comment