Useful Linux commands

Useful Linux commands:

Linux command for seeing harddrive I/O in real time:
dstat -tdD total,sda,sdb,sdc,md1 60

SSH to a server and forward back X11 commands:
ssh -X -Y *hostname*

Stop and start Gnome as needed:
service gdm stop
service gdm start

Disable Gnome from auto-start:
systemctl set-default
systemctl isolate

To re-enable:
systemctl isolate
systemctl set-default #it’ll setup the gdm boot startup

Show size breakdown for individual directories:
du –summarize –human-readable *

This entry was posted in Technology. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

1 + 9 =