Basic command of Linux 2


Process Management

ps - Show snapshot of processes

top - Show real time processes

kill pid - Kill process with id pid

pkill name - Kill process with name name

killall name - Kill all processes with names beginning name

Keyboard Shortcuts

Ctrl + Shift + c - Copy a highlighted text

Ctrl + Shift + v – Paste a copied text

Ctrl + z - Sleep program

Ctrl + c – Stop current command

Ctrl + r – Start a search

Ctrl + u – Cut from start of line

Ctrl + k – Cut to end of line

Ctrl + a – Go to start of line

Ctrl + e – Go to end of line

df -h - Show free space on mounted filesystems

df -i - Show free inodes on mounted filesystems

du -h folder – Show file usage of each folder in folder

du -sh folder – Show the total file size of folder

fdisk -l - Show disks partitions sizes and types (run as root)

free – Show memory and swap usage

No comments:

Post a Comment

Linux Solutions

How to install Xvidcap on ubuntu 13.04 or 12.04 step by step ?

To install Xvidcap on ubuntu 13.04 or 12.04 step by step Xvidcap is desktop movement capture tool to convert on video format . This soft...