Common Linux Commands

This will be an on-going post that I will use to keep track of my most commonly used commands.
Tested on Centos 6.3.

Linux Misc

List users

cat /etc/passwd

List groups

cat /etc/group

View free memory

free -m

View disk space usage

df -h


Init new remote repo

git init –bare

Clone existing repo using HTTP

git clone

Clone existing repo using SSH on non-standard port

git clone ssh://

Xen using LibVirt

List running Virtual Machines on Node

virsh list

List all Virtual Machines on Node

virsh list –all

Leave a Reply

Your email address will not be published. Required fields are marked *