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: ^P, ^N, etc aren’t one single character. Enter Ctrl-V and Ctrl-P to display them in vi. Auto-completion is only available for files, not commands. Press either twice on the escape key, […]
Tags: AIX, ksh, linux, solaris, unix
Dec
21
2008
Here’s a package managers basic commands quick reminder/comparative for (in this order) – Linux Debian/Ubuntu, – Linux Redhat/Suse and – Solaris/OpenSolaris. rpm and dpkg are basic package managers while yum (rpm) and apt-get/aptitude (dpkg) manage dependancies and (online) repositories. # List ALL installed packages dpkg –list rpm -qa | grep rpm pkginfo […]
Tags: debian, linux, redhat, solaris, suse, ubuntu
Nov
07
2008
You need more swap but there’s no more disk space left to create a partition? Here’s a quick and easy fix creating a swap file on the existing filesystem. No reboot needed! Solaris Linux Do not use swap files on a personal computer that is configured to “suspend to disk” since it requires a dedicated […]
Tags: linux, solaris, swap
Aug
29
2008
A lot of networks use LDAP or NIS to authenticate users on Linux servers and any Unix flavours. There is no policy control by default and all users in the central LDAP database have access to all servers.Access can be restricted to some of the accounts adding them into the default passwd file if the […]
Tags: AIX, Authentication, ldap, linux, NIS, solaris, unix