Archive for the tag 'solaris'

 

 

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:  ^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, […]

One response so far

Dec 21 2008

Linux and Solaris Package Managers

Published by under Linux,Solaris

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   […]

No responses yet

Nov 07 2008

Additional Swap in File on Linux/Solaris

Published by under Linux,Solaris

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 […]

No responses yet

Aug 29 2008

Restrict LDAP / NIS User Access on Unix

Published by under Ldap,Linux

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 […]

No responses yet