Oct
13
2009
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’ # [...]
Tags: Aix, ksh, linux, solaris, unix
May
18
2009
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 [...]
Tags: Aix, export, mount, NFS, server, share
Jan
22
2009
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 -> [...]
Tags: 4.3, add, Aix, permanent, route, smitty, static, unix