How to Back Up an Oracle Schema with exp and expdp

How to take backup of a oracle schema
You can use Export/Import OR Data pump.
For export(this command can be used to generate a backup file on the client machine)
exp user/password@database owner=user file=datafile.dmp log=logfile.log
where
database=db entry from tnsnames.ora,user=user-id to connect with,
password=password of the user connected with, 
owner=schema which needs to be exported,
more options can be expplored by
exp help=y

Read more

Recover or Reinstall the GRUB Bootloader

If GRUB is overwritten or removed after installing another operating system, you can usually restore it from a Linux live USB or CD. Boot into the live Linux environment and open a terminal. In this example, the installed Linux root partition is /dev/sda2 and GRUB will be installed to /dev/sda. Change these device names to … Read more

Download Files from a Directory with 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, –recursive Specify recursive download. -l, –level=NUMBER Maximum recursion depth (inf or 0 for infinite). -k, –convert-links Make links in downloaded HTML point to local files. -p, –page-requisites Get all images, … Read more

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 as root, you will need the password here. /sbin/shutdown : Command to shutdown the computer. -h : This tell the shutdown command to power off i.e. halt. +300 : The … Read more

How to Comment Lines in vi

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 in ‘vi’ editor.2.Press Escape and type :1,$s/^/##/g3.Press Enter 1,$s/^/##/g can be broken down as1: To start from 1st line $s :To end at the last line/^ : Search for the … Read more