Set the time zone on an Amazon EC2 instance Shadab Shamsi 4/07/2019 03:49:00 pm We can set the timezone on an Amazon EC2 instance to CST by using following steps: Login to your EC2 instance. Execute the command: “su... Read More
Change owner of database postgres Shadab Shamsi 3/12/2019 12:59:00 pm ALTER DATABASE target_database OWNER TO new_onwer; Read More
DB backup Restore PostgresSql Shadab Shamsi 12/14/2018 11:18:00 am Backup: pg_dump dbname > dbname.bak Restore: psql test < dbname.bak Read More
installing oracle jdk on linux Shadab Shamsi 8/26/2018 07:46:00 pm 1. sudo apt-get purge openjdk-\* 2. sudo mkdir -p /usr/local/java 3. sudo cp -r jdk-7u45-linux-x64.tar.gz /usr/local/java ... Read More
How to remove Shortcut Virus Shadab Shamsi 2/17/2018 11:25:00 am Go to Start -> Run -> cmd. Go to your pen drive, memory cards or mobile phone directory. Type del *.lnk (to delete all link ... Read More
C/C++ Program to shutdown or restart computer Shadab Shamsi 2/17/2018 11:22:00 am Windows: Linux: Read More