Sudo (super user do) command is a program for Unix / Linux Operating Systems that allows users to run programs with the security privileges of another user (can be the superuser i.e root or any other user in the system). The sudo utility allows users defined in the /etc/sudoers configuration file to have temporary access […]
Archives for December 2015
Solaris : How to scan new storage LUNs (scsi/iscsi/fc/sas)
Storage requirements for servers (and applications) is constantly changing. It becomes very important to be able to allocate or deallocate space without interruption to service. This document provides some approaches to discovering new storage, without performing a reconfiguration reboot. This applies to internal and external disk drives as well as virtual disks. Most of the […]
How to add and set new locale in solaris
A locale is a collection of files, data and sometimes code which contain the necessary information to adapt Solaris to a specific geographical market. A locale is essentially a “bundle”, containing information such as: 1. the messages displayed to the user (localized messages) 2. codesets 3. date and time formatting conventions 4. monetary conventions decimal […]
How to determine link status (up/down) of network interfaces in Solaris
There are several different ways to check the link status(up/down) in solaris. Below are several methods, with examples, to check network link status of Ethernet interfaces in Solaris. Some of the methods like dladm were not available in solaris 8 and 9. In that case we can use kstat and ndd commands. 1. Checking /var/adm/messages […]
RHEL 7 – RHCSA Notes – System documentation including man, info, and files in /usr/share/doc
RHEL 7 – RHCSA Notes (Cheat Sheets) Using man To find a command using a keyword : # man -k [keyword] When you know the exact command to be used, you can use the man page for that command as : # man [command] There are several sections within a man page. Most commonly used […]
RHEL 7 – RHCSA Notes – vi/vim editor
RHEL 7 – RHCSA Notes (Cheat Sheets) The vim editor Inserting text Command Action i Insert text before current cursor position a Append text after current cursor position A Append text at the end of the current line o Open new line below the current line O Open new line above the current line Navigating […]
RHEL 7 – RHCSA Notes (Cheat Sheets)
Red Hat Certified System Administrator better known as RHCSA exam is one of the well-known certification exam in Linux world. I’ve tried to write together notes that I used in my preparation of RHEL 7 RHCSA. Remember that, these are not explanatory notes, but a quick cheat sheet. The post includes links to all exam […]