Archive for the 'Aix' Category

 

 

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

May 18 2009

Export NFS shares in AIX

Published by under Aix

Edit /etc/exports (or create it if it doesn’t exist) and add folders to be shared: /home/public -access=client1,root=client1 Option access restricts the list of clients, root allows to mount the share by root user   Start nfsd services: startsrc -s nfsd startsrc -s mountd   Check daemons are running: AIX_NFS_Server # lssrc -s nfsd Sub-system Group […]

2 responses so far

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