Saturday, April 3, 2010

Pachelbel Canon D in Violin

Listened to an excellent classical piece by Pachelbel Canon D in Violin. Although the music is by Pachelbel's but the picture is Mozart's (don't know why the video uploader had not choosen Pachelbel's picture. In order to compensate, I have posted below a picture of Pachelbel's picture; to learn more about Pachelbel, click on his picture).

Listen for yourself:


Linux.com :: Disk usage analysis and cleanup tools

Linux.com :: Disk usage analysis and cleanup tools

Excellent tool to analyze file sizes in Linux OS. I used to find Disk Usage using du utility, but after using baobab I simply love it. For more information click on the hyperlink above.
Open a terminal window (equivalent to command window in Windows) and type baobob. It will launch a window displaying disk usage of the directory or the total disk, depending on whether you are at root or in one of the branches. You can simply double click on the folder to drill down or use wild card searches.
I have enclosed a screenshot of baobab above. Navigation: Applications -->System Tools --> Disk Usage Analyzer. Or of course, you can launch from the command prompt window by typing baobab

Wednesday, March 31, 2010

How to find Sunrise & Sunset times in US?

To find sunrise and sunset times in US check this website.http://www.sunrisesunset.com/usa/ The website also displays twilight times. 

Sunday, March 28, 2010

List of commands I frequently use in Oracle

Listed below commands I fequently use on Oracle in Linux OS environment.
(I will keep updating as I come across more)...
Oracle Commands:
  • .How to find whether listener is running or not? 
    • lsnrctl status
    • to start listener 
      • lsnrctl start
    • to stop listener
      • lsnrctl stop 
    • to list services
      • lsnrctl services
  • To Configure Listener
    • from command prompt type netca
  • to start dbconsole (Enterprise Manager Console)
    • emctl start dbconsole
  • to stop dbconsole
    • emctl stop dbconsole
  • to access Enterprise Manager
    • https://<service_name>:1158/
      • for example if your service name is my.example.com then access url will be https://my.example.com:1158/
  • How to start Oracle dB?
    • sqlplus /nolog
    • sql> connect / as sysdba
    • startup
  • How to shutdown Oracle dB?
    • shutdown immediate
  • How to lock a user account & of course to unlock?  
    • SQL> ALTER USER <username>  ACCOUNT LOCK;
    • SQL> ALTER USER <username> ACCOUNT UNLOCK;
    • If you want to change the password while you unlock, use the following command: 
      • SQL> ALTER  USER <username> IDENTIFIED BY <password> ACCOUNT UNLOCK;