Archive for the tag 'unix'

 

 

Oct 13 2009

Command History with Arrow Keys in Ksh

Published by under Aix,Linux,Misc,Solaris

Arrows aren’t used in ksh as a default. To enable command history like in Bash, add the following lines in the .profile or .kshrc file: # Switch to Emacs mode # Only Emacs mode lets you make use of arrow keys set -o emacs # Go back in command history (up arrow) alias __A=’^P’ # […]

One response so far

Jul 02 2009

Access Windows, Unix and AS400 from AS400

Published by under AS400

Windows Windows shares can be mounted on /QNTC filesystem. Create a folder is all needs to be done. MKDIR ‘/QNTC/MY_SERVER’ Walk through remote directory: WRKLNK ‘/QNTC/MY_SERVER’   IP address can also be used in place of the server name: mkdir ‘/QNTC/IPADDR’ wrklnk ‘/QNTC/IPADDR’   Note: Pay attention to Windows rights. It doesn’t seem to be […]

No responses yet

Jan 22 2009

How to Add a Permanent Static Route in AIX 4.3

Published by under Aix

To add a permanent static route in AIX, add the route command in the startup file /etc/rc.net: AIX Server.root / # route add -net 192.168.2.0 -netmask 255.255.255.0 192.168.0.1   or use AIX interface Smitty (preferred):   AIX Server.root / # smitty -> Communications applications and Services -> TCIP/IP -> Further Configuration -> Static Routes -> […]

3 responses so far

Next »