Category: Command Line
Run Remote App Locally
Run a remote GUI tool in a local system ssh -X neo@192.168.0.30 /usr/bin/kate
nslookup Network Command
Lookup hostname to resolve name to ip address and viceversa nslookup www.example.com
Backup Entire Harddrive to an Image
Backup content of the harddrive to a file. Creates an image of the drive dd if=/dev/sda of=/tmp/sda.iso
Check Ext2 FS
repair / check integrity of ext2 filesystem on disk hda1 fsck.ext2 /dev/hda1
Static Route
Configure static route to reach network ‘192.168.0.0/16’ route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1
Import All MySQL Sql Dumps in a Folder
This command will import all the MySQL sql dumps in the current folder. You can use this to restore your…
Spy on SSH Users
See what your users are doing using SSH connected to your system – this will show you what happens on…
Shell Script for Batch Convertion of Images
An easier way to batch convert images using the ‘convert’ command… #!/bin/sh # An Easy command to use the convert…
Recent Comments