Posts

Showing posts with the label tips

Hide Password Entry in UNIX script:

We can use 'stty' to hide the password entry in UNIX command prompt, which is like entering password when you login to the UNIX. stty: 'stty' sets options for your terminal Ex : stty erase \^h --- set the backspace as erase key stty sane stty

Datastage Job xxx is being accessed by another user

DataStage Error:   Job xxx is being accessed by another user    Take below steps to get rid of locks in datastage -- In web console check active sessions and if job is listed disconnect session. To view all active sessions: In the Web console, click the Administration tab. In the Navigation pane, select Session Management > Active Sessions The Active Sessions pane shows the users that are currently connected to the server.

Disable Putty Sessions Time Out due to Inactivity

The ssh client PuTTY can be configured to maintain a connection and not time out due to inactivity.   To set up a new connection with "keep alives" to maintain your connection follow the steps below: Open the PuTTy application and navigate to the  Options  panel. Select Connection In the field  Sending null packets to keep session active  change the default value from  0 to 1800  (30 minutes) Check the  Enable TCP keepalives (SO_KEEPALIVE option)  check box. Note:  This option may not be available in older versions of the PuTTY client. Select  Session  from the left hand menu. In the  Host Name (or IP Address)  field enter the  destination hostname , for example vayu.nci.org.au In the  Saved Sessions  box enter a name for the session, for example vayu. Select  Save Any new sessions will now use these modified connection options.  

Setting up "CRON" Jobs in Linux

If you want to use the emacs editor for editing cron jobs, then, set the following in your "/home/user/.bash_profile" EDITOR=emacs Then, to edit cron jobs $ crontab -e You may want to put in the following header