Recover/Reinstall grub bootloader
Download all files in a directory using WGET
To download all files in the directory using WGET in Linux, the following command can be used wget -H -r –level=1 -k -p http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/ -r,…
Space taken by a directory in Linux OS/Unix
Get the space taken by directory for Linux OS/Unix The following command can be used to get the space taken by directory du -sh <path…
Shutdown Linux after pre-determined time
This is an alternative for Cron Issue the following command in terminal: /sbin/shutdown -h +300 Command Details: sudo : This is to execute the command…
Search and delete files in Unix
This is a useful tip to find and remove some files by searching recursively in a directory and sub directories This will list down all…
How to comment all lines in VI editor ?
How to comment all lines in VI editor ? This can be done with a using a command like ‘search and replace’ 1.Open the file…
Space taken by a schema in Oracle database
To get the space taken up by all the objects in the schema, the following query can be used select ((sum(bytes)/1024)/1024)/1024 Space_in_GB from dba_segments where…
From Half duplex to Full duplex in GNU/Linux
From Half duplex to Full duplex in GNU/Linux This can be one of the reasons for slow network performance with Linux.one of the issues that…