<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Admin&#039;s Choice &#187; Basics</title>
	<atom:link href="http://adminschoice.com/category/basics-of-unix/feed" rel="self" type="application/rss+xml" />
	<link>http://adminschoice.com</link>
	<description>Unix adminstrators documents , tip and more</description>
	<lastBuildDate>Thu, 11 Feb 2010 02:53:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unix Date Format Examples</title>
		<link>http://adminschoice.com/unix-date-format-examples</link>
		<comments>http://adminschoice.com/unix-date-format-examples#comments</comments>
		<pubDate>Thu, 11 Feb 2010 02:53:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Unix Date Format Examples]]></category>

		<guid isPermaLink="false">http://adminschoice.com/?p=417</guid>
		<description><![CDATA[Unix date format is needed  in the scripts, timestamped log files and  script generated reports .  This article attempts to simply date formatting with several examples .  Date command in Unix is used to format date as well as time . First portion of this article covers Date  function and the second portion has the  [...]]]></description>
			<content:encoded><![CDATA[<p>Unix date format is needed  in the scripts, timestamped log files and  script generated reports .  This article attempts to simply date formatting with several examples .  Date command in Unix is used to format date as well as time . First portion of this article covers Date  function and the second portion has the  time function covered .</p>
<p><strong>Unix   Basic date format</strong></p>
<p>$date &#8220;+&lt;Parameter&gt;&lt;seprator&gt;&lt;Parameter&gt;&lt;seprator&gt;&lt;Parameter&gt;</p>
<p>Where Parameters  is  any one or more Parameter from the list below and separator is a any field separator like  hyphen( &#8211; ) , slash \ , colon :   and it is optional.</p>
<p><strong>Unix Date Format Examples</strong></p>
<p>lets get the parameter for year , month and date and produce a hyphen separated  date format</p>
<p><strong><em>$date &#8220;+%Y-%m-%d&#8221;</em></strong></p>
<p><strong><em>2010-02-10</em></strong></p>
<p>%Y is keyword for four digit year<br />
%m is keyword for two digit month<br />
%d is keyword for two digit date<br />
Hyphen is separator here .</p>
<p>If you change the separator here  to  slash the format would look like</p>
<p><em><strong>$date &#8220;+%Y/%m/%d&#8221;<br />
2010/02/10</strong></em></p>
<p>You can switch date keyword anyway you want , if you need month first and year last  ,</p>
<p><em><strong>$date &#8220;+%m-%d-%Y&#8221;<br />
02-10-2010</strong></em></p>
<h2>Weekdays </h2>
<p>You can have  additional weekday information in your date with %A as</p>
<p><strong><em>$date &#8220;+%m-%d-%Y %A&#8221;<br />
02-10-2010 Wednesday</em></strong></p>
<p>or</p>
<p><em><strong>$date &#8220;+%A %m-%d-%Y&#8221;<br />
Wednesday 02-10-2010</strong></em></p>
<p>These are options you can select for weekday</p>
<p>%a 	weekday, abbreviated 	Wed<br />
%A 	weekday, full 	Wednesday<br />
%d 	day of the month (dd), zero padded 	10<br />
%e 	day of the month (dd) 	10<br />
%j 	day of year, zero padded 	000-366<br />
%u 	day of week starting with Monday (1), i.e. mtwtfss 	3<br />
%w 	day of week starting with Sunday (0), i.e. smtwtfs 	3</p>
<h2>Month </h2>
<p>You can have additional month information in your date with %B as</p>
<p><strong><em>$date &#8220;+%m-%d-%Y %B&#8221;<br />
02-10-2010 Februrary</em></strong></p>
<p>or</p>
<p><em><strong>$date &#8220;+%B %m-%d-%Y&#8221;<br />
February 02-10-2010</strong></em></p>
<p>These are options you can select for month</p>
<p>%m 	mm month as two digits<br />
%b 	Mon, locale&#8217;s abbreviated 	Feb<br />
%B 	locale&#8217;s full month, variable length 	February</p>
<h2>Year</h2>
<p>You can have additional year information as two digit or four digit with %y or %Y as</p>
<p><em><strong>$date &#8220;+%m-%d-%y &#8221;<br />
02-10-10</strong></em></p>
<p>or</p>
<p><strong><em>$date &#8220;+%m-%d-%Y &#8221;<br />
02-10-2010</em></strong></p>
<p>These are options you can select for year</p>
<p>%y 	yy two digit year 	00–99<br />
%Y 	ccyy year 	2010</p>
<p>Additional date format parameters which can be used :</p>
<h2>Week</h2>
<p>%U 	week number Sunday as first day of week 	01–53<br />
%W 	week number Monday as first day of week 	01–53<br />
%V 	week of the year 	01–53</p>
<h2>Century</h2>
<p>%C 	cc century 	00–99</p>
<h2>Date</h2>
<p>%D 	mm/dd/yy 	02/10/10<br />
%x 	locale&#8217;s date representation (mm/dd/yy) 	02/10/2010<br />
%F 	%Y-%m-%d 	2010-02-10</p>
<h2>Date and Time time stamp</h2>
<p>%c 	locale&#8217;s date and time 	Wed Feb 10 10:02:33 PST 2010</p>
<hr />
<h2>Time function </h2>
<p>Time function is simple to use and date command is used to format &amp; display time as well . You can use date and time parameters to format your date time stamp as per your requirment</p>
<p>A simple time stamp with date  can be generated as :</p>
<p><em><strong>$date &#8220;+%c&#8221;</strong></em><br />
%c 	locale&#8217;s date and time 	Sat Nov 04 12:02:33 EST 1989</p>
<p>Date function have some preformated time stamps to make things easier</p>
<p><strong>Example :</strong></p>
<p><em><strong>$date &#8220;+%r&#8221;<br />
05:28:55 PM</strong></em></p>
<p>More preformated options :</p>
<p>%R 	hours, minutes (24 hour clock) 	hh:mm e.g. 17:28<br />
%T 	hours, minutes, seconds (24-hour clock) 	17:28:55<br />
%X 	locale&#8217;s time representation (%H:%M:%S)       05:28:55 PM</p>
<p>Custom time format</p>
<p>Examples</p>
<p>Time stamp with  12 hr clock</p>
<p><em><strong>$date &#8220;+%l:%M:%S<br />
5:22:45</strong></em></p>
<p>Time stamp with  24 hr clock</p>
<p><em><strong>$date &#8220;+%H:%M:%S&#8221;<br />
20:22:45<br />
</strong></em></p>
<p>Time stamp with  AM/PM</p>
<p><em><strong>$date &#8220;+%l:%M:%S %p&#8221;<br />
5:22:45  PM<br />
</strong></em></p>
<p>Additional date time parameters :</p>
<p><strong>Hours</strong><br />
%l (Lowercase L) 	hour (12 hour clock) 	8<br />
%I (Uppercase I) 	hour (12 hour clock) zero padded 	08<br />
%k 	hour (24 hour clock) 	20<br />
%H 	hour (24 hour clock) zero padded 	20<br />
%p 	locale&#8217;s upper case AM or PM (blank in many locales) 	PM<br />
%P 	locale&#8217;s lower case am or pm (really!) 	pm</p>
<p><strong>Minutes</strong><br />
%M 	MM minutes 	28</p>
<p><strong>Seconds</strong><br />
%s 	seconds since 00:00:00 1970-01-01 UTC (Unix epoch) 	1265833735<br />
%S 	SS second 	00–60<br />
%N 	nanoseconds 	000000000–999999999</p>
<p><strong>Time zone</strong><br />
%z 	-zzzz RFC-822 style numeric timezone 	-0500<br />
%Z 	time zone (e.g., EDT) nothing if no time zone is determinable 	EST</p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/unix-date-format-examples/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geek Speaks</title>
		<link>http://adminschoice.com/geek-speaks</link>
		<comments>http://adminschoice.com/geek-speaks#comments</comments>
		<pubDate>Tue, 29 Dec 2009 20:50:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://adminschoice.com/?p=347</guid>
		<description><![CDATA[Explanations of some frequently used geek terms]]></description>
			<content:encoded><![CDATA[<p>Geek Speaks &#8211; collection  of previous geek speaks<br />
SE, HVD, LVD SCSI interfaces<br />
CIDR : Classless Inter-Domain Routing<br />
Priority Paging<br />
FSSTABLE<br />
umask<br />
Dynamic System Domains</p>
<p><strong>SE, HVD, LVD SCSI interfaces</strong> &#8211; Single Ended interface drives each signal line against ground &#038; is susceptible to noise and has short length.<br />
High Voltage Differential interface drives two lines for each SCSI signal. One line is the inverse of the other line and the SCSI signal is the difference and hence term differential.<br />
Low Voltage Differential uses 3.3 volt logic which is 5V in HVD. Maximum cable lenth supported are from 1.5 to 6 meter in SE , 25 meters in HVD &#038; 12 Meters in LVD.<br />
A multimode LVD device will automatically switch between LVD and single-ended operation by detecting whether the other devices on the chain are running in SE or LVD mode. SE &#038; LVD are not electrically compatible to HVD due to voltage difference. </p>
<p><strong>CIDR </strong>: Classless Inter-Domain Routing &#8211; the notation often used instead of writing the subnet mask along with ip-address . It has network prefix at the end of a address as / number of network bits.This means that the IP address 192.200.20.10 with the subnet mask 255.255.255.0 can also be expressed as 192.200.20.10/24. The /24 indicates the network prefix length, which is equal to the number of continuous binary one-bits in the subnet mask (11111111.11111111.11111111.000000). Zeros are for addressing the hosts on this network.</p>
<p><strong>Priority Paging</strong> : Priority paging parameter in pre Solaris 8 versions allows file system cache in the memory to be paged out first leaving application and data in the memory . Free memory is used for caching file system in Pre Solaris 8 versions and paging in such cases sometimes led to paging out of application &#038; data , making application experience a page-in page-out time delay.Solaris 8 keeps file cache isolated so it is not required there. This can be enabled in pre solaris 8 versions by adding line &#8220;set priority paging=1&#8243; in /etc/system. Remove this line if upgrading from Solaris 7 to 8 &#038; retaining old /etc/system file. </p>
<p><strong>FSSTABLE</strong> : File System Stable state flag. The file system is (or was) mounted but has not changed since the last checkpoint (sync or fsflush) that normally occurs every 30 seconds. The kernel periodically checks if a file system is idle and, if so, flushes the information in the superblock back to the disk and marks it as FSSTABLE. If the system crashes, the file system structure is stable, but users might lose a small amount of data. File systems that are marked as FSSTABLE can skip the checking before mounting. The mount command will not mount a file system for read and write access if the file system state is not FSCLEAN, FSSTABLE, or FSLOG in case of logging file system</p>
<p><strong>umask </strong>- is the filter which determines the default file and directory permissions at the time of their creation . It is represented by 3 octal values representing permissions to be denied by default .First value is for user ,second for group and third for others permission .Default is 022 and set in /etc/profile .Current value can be seen by typing umask at command prompt</p>
<p><strong>Dynamic System Domains</strong> &#8211; the ability to create multiple (Solaris) systems within a single Enterprise 10000 chassis. The components which form a domain (system boards, CPU, memory and i/o) are electrically isolated from other domains to provide the protection between applications running in different domains. The hardware within domains can be reconfigured under software control to meet fluctuating demands of applications running within the domains of an Enterprise 10000 </p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/geek-speaks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix  Basics</title>
		<link>http://adminschoice.com/unix-for-beginer</link>
		<comments>http://adminschoice.com/unix-for-beginer#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:22:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=4</guid>
		<description><![CDATA[Learn about various Unix Shells , their configuration files ; Unix directory structure and  Commonly used Unix commands for system administration.]]></description>
			<content:encoded><![CDATA[<p><strong>Unix Shell</strong><br />
Shell in unix acts as a command interpreter between user and Unix kernel as well as provides a strong scripting language .</p>
<p><strong>Following are the different types of Unix shells , </strong></p>
<p><strong>B shell</strong> , /bin/sh &#8211; This is the default Unix shell for many Unix operating systems .<br />
Bourne shell was written by S. R. Bourne and its more emphasis is to use it as a scripting language rather than an interactive shell .<br />
Some of the features are :<br />
Provided support for environment variables using  parameters and exportable variables.<br />
Redirection of program output and error .<br />
Command substitution using back quotes: `command`.<br />
embed a file/commands using input redirector &lt;&lt;<br />
&#8220;for ~ do ~ done&#8221; loops<br />
&#8220;case ~ in ~ esac&#8221;  for selecting and responding to a data value .</p>
<p><strong>C-shell</strong> /bin/csh was designed to provide  the interactive features lacking in b shell such as  job control and aliasing .</p>
<p><strong>K shell</strong> /bin/ksh &#8211;  was created by David Korn and has features of both B shell and C shell along with some  additional features .</p>
<p><strong>Bash</strong> &#8211;  the Bourne again shell was developed by GNU project .It is based on B shell language and has features of C and K shells.</p>
<p><strong>tcsh </strong>is the default shell of FreeBSD and its descendants. Essentially it is C shell with programmable command line completion, command-line editing, and a few other features.</p>
<p><strong>Zsh </strong> is a shell designed for interactive use  and it has many of the useful features of bash, ksh, and tcsh along with many new features.</p>
<h3>Unix Shells  configuration files :</h3>
<p><strong>b shell</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<blockquote><p>shell prompt	:   $<br />
executable file :   /bin/sh</p>
<p>Read on interactive/non interactive login to bash<br />
/etc/profile<br />
~/.profile</p></blockquote>
<p><strong>bash shell</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<blockquote><p>shell prompt	:   $<br />
executable file :   /bin/bash</p>
<p>Read on interactive/non interactive login to bash<br />
/etc/profile<br />
~/.profile<br />
~/.bash_profile<br />
~/.bash_login</p>
<p>Always read on invoking bash<br />
~/.bashrc</p>
<p>/etc/profile login login     login<br />
~/.profile login login</p></blockquote>
<p><strong>csh shell</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<blockquote><p>shell prompt	:  %<br />
executable file :   /bin/csh</p>
<p>Read on  csh shell invocation .<br />
/etc/csh.cshrc<br />
~/.cshrc</p>
<p>Read on interactive/non interactive login to tcsh shell<br />
/etc/.login<br />
~/.login<br />
~/.logout<br />
/etc/csh.login</p></blockquote>
<p><strong>ksh</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<blockquote><p>shell prompt	:   $<br />
executable file :   /bin/ksh</p>
<p>Read on interactive/non interactive login to bash<br />
/etc/profile<br />
~/.profile</p></blockquote>
<p><strong>tcsh shell</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<blockquote><p>shell prompt	:   &amp;<br />
executable file :   /bin/tcsh</p>
<p>Read on  tcsh shell invocation .<br />
~/.tcshrc<br />
/etc/csh.cshrc<br />
~/.cshrc</p>
<p>Read on interactive/non interactive login to tcsh shell<br />
/etc/.login<br />
~/.login<br />
~/.logout<br />
/etc/csh.login</p></blockquote>
<p><strong>zsh</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<blockquote><p>shell prompt	:   $<br />
executable file :   zsh</p>
<p>Configuration files :</p>
<p>Always read on invoking zsh<br />
~/.zshenv            always<br />
/etc/zshenv          always</p>
<p>only read on interactive login to zsh.<br />
~/.zshrc<br />
/etc/zshrc</p>
<p>Read on interactive/non interactive login to zsh<br />
/etc/zprofile        login<br />
/etc/zlogin          login<br />
/etc/zlogout         login<br />
/.zprofile          login<br />
~/.zlogin            login<br />
~/.zlogout           login</p></blockquote>
<p><strong>Unix Dir Structure &#8211; Next </strong> </p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/unix-for-beginer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vi editor Quick Reference</title>
		<link>http://adminschoice.com/vi-editor-quick-reference</link>
		<comments>http://adminschoice.com/vi-editor-quick-reference#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:22:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=31</guid>
		<description><![CDATA[vi  is a unix editor available on almost all the unix  operating systems like  solaris , bsd ,aix , hpux etc.
This document is a quick reference to vi editor and will be of help if your are new to unix , learning unix  or just looking for some vi commands]]></description>
			<content:encoded><![CDATA[<p><strong> Introduction</strong><br />
vi  pronounced as &#8221; vee eye &#8221; is a unix editor available on almost all the unix  operating systems , solaris , bsd ,aix , hpux etc.<br />
This document is a quick reference to vi editor and will be of help if your are new to unix , learning unix  or just refreshing your vi knowledge after a few years.</p>
<p><strong>Requirements:</strong><br />
In order to work correctly the vi need  correct terminal type (TERM) setting  .The TERM setting depends on the   type of terminal you have . Commonly used TERM types are vt100 , vt220 and  ansi .  In most cases vt100 will  work  fine . In case  vi is not able to understand the TERM you have given, it starts in open mode   giving you a line by line display .<br />
Generally TERM is taken from .profile or  /etc/profile  but can be set at the command line as :<br />
$TERM=vt100<br />
$export TERM</p>
<p>echo $TERM will display the current TERM set.</p>
<p><strong>Create new file or  Open existing file in vi</strong><br />
vi without any file name will open a   new file where you can enter the text and edit but while coming out you will  be asked to enter a valid file name to save the text.  vi with a  file name as argument will  open that file for editing  if the file already exists it opens it  otherwise it creates a new file by the argument.<br />
Example :  $vi  testfile<br />
Creates or opens the existing file called testfile</p>
<p><strong>Modes in vi</strong></p>
<p>vi operates in following  two modes :<br />
i. ) <strong>Command Mode</strong> : After a file is opened it is opened  in command<br />
mode ,that is , input from the keyboard will be treated as vi commands<br />
and you will not see the words you are typing on the screen .</p>
<p><strong>ii.) Insert Mode</strong>: To enter the  text you have to put vi in insert  by pressing &#8216;i&#8217; or &#8216;a&#8217;  after  which you can add the text and whatever is being type will be seen on the  screen. . To switch between these mode Esc key is used .   Esc i<br />
(text mode)  Esc (command mode)</p>
<p><strong>Saving  &amp; Exiting  vi editor</strong><br />
You can exit vi in different ways :</p>
<p><em>1.) Quit without saving</em> : If you don&#8217;t  want to save the work :q  will take you out without saving  your editing in vi.<br />
<em>2.) Write &amp; quit</em> : . Simple :w  saves the current file but don&#8217;t exit. For save and quit  :wq is  used in vi.<br />
<em>3.) Forced Quite </em>: An ! (Exclamation  sign at the end of  exit commands ( :q! , :wq! )  causes a forced  quit from vi  after ignoring editing (for :q!)  or writing (for :wq!)  all the change</p>
<table border="0"><span style="font-size: medium; font-family: Times New Roman;"> </span></table>
<table id="AutoNumber2" style="border-collapse: collapse; height: 1786px;" border="1" cellspacing="0" cellpadding="3" width="392" bordercolor="#ffffff">
<tbody>
<tr>
<td><strong>Vi Commands &#8211; Reference</strong></td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#c0c0c0"><strong> Moving Cursor in File</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Left</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">h</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Right</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">i</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Up</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">k</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Down</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">j</td>
</tr>
<tr>
<td colspan="2" width="528" height="13" align="left" bgcolor="#ffffff"><strong>Line</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Beginning</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">^ or B</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">end</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">$</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Sentence</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Next          sentance</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">)</td>
</tr>
<tr>
<td width="231" height="23" align="left" valign="top" bgcolor="#e4e4e4">Previous sentance</td>
<td width="297" height="23" align="left" valign="top" bgcolor="#e4e4e4">(</td>
</tr>
<tr>
<td colspan="2" width="528" height="21" align="left" bgcolor="#ffffff"><strong>Paragraph</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Next</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">}</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Previous</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">{</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>file</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Go to end of file</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">:$</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">on chacter forword</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">:w</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">One word forword</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">:W</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">go to a line number</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">:line_number</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">display file info          .</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">^g</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Inserting and appending text </strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">inserts text to the left of  cursor</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">i</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">nserts in the beginning of line</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">I</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">appends text to right of cursor</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">a</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">appends to the end of line</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">A</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Adding new line</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">add a new line below the current line</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">o</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">adds a new line above the current line.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">O</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Deleting the text :</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">deletes text above the text</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">x</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">deletes text character on  right of cursor</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">X</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">deletes line 20</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">20d</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">deletes current line</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">dd</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">delete          till end of current line.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">D</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Replacing a character &amp; word</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">replace          the character above the cursor.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">r</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">replces characters until Esc is pressed.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">R</td>
</tr>
<tr>
<td width="231" height="57" align="left" bgcolor="#e4e4e4">replaces the word from cursor to the end indicated by $ sign .</td>
<td width="297" height="57" align="left" bgcolor="#e4e4e4">cw</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">replaces          till end of line.</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">C</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Substitute</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">subistutes current    charcater.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">s</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">substitutes entire line.</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">S</td>
</tr>
<tr>
<td colspan="2" width="528" height="16" align="left" bgcolor="#ffffff"><strong>Undo last changes</strong></td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">undo last change.</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">u</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">undo changes to the current line.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">U</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Copy and pasting lines</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">copys the current line into buffer.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">yy</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">copies 5 lines from the current line.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">5yy</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">pastes the current buffer.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">p</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Searching</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">Searches for the word name in    the file</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">:/name</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">n continues search forward.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">n</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">N searches backwards</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">N</td>
</tr>
<tr>
<td colspan="2" width="528" height="19" align="left" bgcolor="#ffffff"><strong>Saving</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">saves the text does not quit.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">:w</td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">saves          &amp; quit the editor .</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">:wq!</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">save</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">ZZ</td>
</tr>
<tr>
<td width="231" height="23" align="left" bgcolor="#e4e4e4">Quit without saving</td>
<td width="297" height="23" align="left" bgcolor="#e4e4e4">q!</td>
</tr>
<tr>
<td width="231" height="19" align="left" bgcolor="#e4e4e4"></td>
<td width="297" height="19" align="left" bgcolor="#e4e4e4"></td>
</tr>
<tr>
<td width="231" height="19" align="left" bgcolor="#e4e4e4">Search &amp; Replace</td>
<td width="297" height="19" align="left" bgcolor="#e4e4e4"><strong> s/&lt;search&gt;/&lt;replace&gt;/g .</strong></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">Repeating  last command</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4"><span style="font-size: large;">.</span></td>
</tr>
<tr>
<td width="231" height="38" align="left" bgcolor="#e4e4e4">Recovering a unsaved vi file.</td>
<td width="297" height="38" align="left" bgcolor="#e4e4e4">
<dl>
<dt><strong>vi -r  filename</strong> </dt>
</dl>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/vi-editor-quick-reference/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Unix Commands Tutorial</title>
		<link>http://adminschoice.com/unix-commands-tutorial</link>
		<comments>http://adminschoice.com/unix-commands-tutorial#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:22:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=54</guid>
		<description><![CDATA[A unix command tutorial with some of the most popular and useful commands used in unix operating system arranged by functionality .]]></description>
			<content:encoded><![CDATA[<p> Unix commands are the first thing needed by a unix  sysadmin  who are  starting to work in unix operating system . Unix operating systems  comes with online manual  system which can be used to see the command details , syntax options and examples on while working on a unix  system. Unix manual can be accessed using man <command name> and it requires the man package   installed and MANPATH  set to man  directories. The manual page directories may differ in different unix operating systems and  man package may not be installed in all systems .</p>
<p>Following is  a unix command tutorial with some of the most popular and useful commands used in unix operating system arranged by functionality .</p>
<table id="AutoNumber1" style="border-collapse: collapse; height: 4891px;" border="1" cellspacing="0" cellpadding="2" width="100%" bordercolor="#ffffff">
<tbody>
<tr>
<td width="26%" height="26" valign="top" bgcolor="#e4e4e4"><strong> *</strong></td>
<td width="40%" height="26" valign="top" bgcolor="#e4e4e4">
<dl>
<dt> The * wildcard character substitutes for one or     more characters in a filename. For instance, to list all the files in     your directory that end with .c, enter the command</dt>
<dt> ls *.c</dt>
</dl>
</td>
</tr>
<tr>
<td width="26%" height="26" valign="top" bgcolor="#e4e4e4"><strong> ?</strong></td>
<td width="40%" height="26" valign="top" bgcolor="#e4e4e4">
<dl>
<dt> ? (question mark) serves as  wildcard     character for any <em>one</em> character in a filename. For instance, if     you have files named <tt> prog1, prog2,     prog3</tt> , and <tt> prog3 </tt>  in your directory, the Unix     command:</dt>
<dt>
ls prog?</dt>
</dl>
</td>
</tr>
<tr>
<td colspan="2" width="66%" height="44" valign="middle" bgcolor="#ffffff"><strong> directory</strong></td>
</tr>
<tr>
<td width="13%" height="18" valign="top" bgcolor="#e4e4e4"><strong>Change</strong></td>
<td width="53%" height="18" valign="top" bgcolor="#e4e4e4"><strong>cd dir </strong> Change to directory d</td>
</tr>
<tr>
<td width="13%" height="17" valign="top" bgcolor="#e4e4e4"><strong>Make</strong></td>
<td width="53%" height="17" valign="top" bgcolor="#e4e4e4"><strong>mkdir dir </strong> Create new directory d</td>
</tr>
<tr>
<td width="13%" height="14" valign="top" bgcolor="#e4e4e4"><strong>Move</strong></td>
<td width="53%" height="14" valign="top" bgcolor="#e4e4e4"><strong>mv dir1 dir2 </strong>Rename directory d1 as d2</td>
</tr>
<tr>
<td width="13%" height="16" valign="top" bgcolor="#e4e4e4"><strong>Remove</strong></td>
<td width="53%" height="16" valign="top" bgcolor="#e4e4e4"><strong>rmdir dir </strong>Remove directory d</td>
</tr>
<tr>
<td width="12%" height="26" bgcolor="#e4e4e4"><strong> file</strong></td>
<td width="52%" height="26" bgcolor="#e4e4e4"></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>list , no details only names</strong></td>
<td width="52%" height="19" bgcolor="#e4e4e4"><strong>ls</strong> <strong>filename</strong> , filename with wildcard character/s. </td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>list , details</strong></td>
<td width="52%" height="19" bgcolor="#e4e4e4"><strong>ls -1 </strong> <strong>filename</strong> , filename with wildcard character/s. </td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>move  to directory</strong></td>
<td width="52%" height="19" bgcolor="#e4e4e4"><strong>mv filename    dirname </strong> (wildcard character/s supported)</td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>copy file to other/current  directory</strong></td>
<td width="52%" height="19" bgcolor="#e4e4e4"><strong>cp file  directory/newfile </strong> or <strong>cp directory/oldfile  .</strong></td>
</tr>
<tr>
<td width="12%" height="13" bgcolor="#e4e4e4"><strong>Delete the file</strong></td>
<td width="52%" height="13" bgcolor="#e4e4e4"><strong>rm  file </strong> , <strong> rm -rf  directory </strong>- Recursively remove files &amp; directly without any warning.</td>
</tr>
<tr>
<td width="12%" height="1" valign="top" bgcolor="#e4e4e4"><strong>file</strong></td>
<td width="52%" height="1" valign="top" bgcolor="#e4e4e4"><strong>file  filename </strong> , file command tries to determine the  file type</a> , text , executable etc after comparing the values in /etc/magic .</td>
</tr>
<tr>
<td colspan="2" width="63%" height="47" bgcolor="#ffffff"><strong> File edit/create/view</strong></td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>vi </strong>- vi  full screen editor </td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>vi  filename </strong> , Opens a existing file or creates</td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>ed </strong>- Line Text editor</td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>ed  filename</strong></td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>count</strong> &#8211; Line, word, &amp; char</td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>wc  filename</strong></td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>Text content display </strong>- List contents of file at once</td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>cat  filename</strong></td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>Text content display by screen : </strong>List contents of file  screen by screen </td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>more  filename</strong></td>
</tr>
<tr>
<td width="18%" height="19" bgcolor="#e4e4e4"><strong>Concatenate &#8211; </strong>file1 &amp; file2 into file3</td>
<td width="45%" height="19" bgcolor="#e4e4e4"><strong>cat file1 file2 &gt;file3 </strong></td>
</tr>
<tr>
<td colspan="2" width="100%" height="41" bgcolor="#ffffff"><strong> File operation</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4">Change <strong>read/write/execute mode</strong> of fil</td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>chmod mode file</strong> </td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>chown</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>chown [-R] [-h] owner[:group] file</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>move (rename )  file</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>mv file1  file2 </strong> Rename file file1 as file2</td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Remove</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>rm file </strong>Delete (remove) file f</td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Compare </strong>two files</td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>cmp file1 file2 </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Copy </strong>file file1 into file2</td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>cp file1 file2 </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Sort </strong>Alphabetically</td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>sort file</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Sort </strong>Numerically</td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>sort -n file</strong></td>
</tr>
<tr>
<td width="12%" height="17" bgcolor="#e4e4e4"><strong>Split </strong>f into n-line pieces</td>
<td width="53%" height="17" bgcolor="#e4e4e4"><strong>split  [-n]  f</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>match </strong><em>pattern</em></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>grep <em>pattern</em> file </strong> Outputs lines that</td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Lists file differences</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>diff file1 file2 </strong> </td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>head f Output beginning of file</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>head  file</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Output end of file</strong></td>
<td width="53%" height="19" bgcolor="#e4e4e4"><strong>tail file</strong></td>
</tr>
<tr>
<td colspan="2" width="100%" height="48" bgcolor="#ffffff"><strong> PROCESS</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Suspend </strong>current process</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>CTRL/z * </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Interrupt</strong> processes</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>CTRL/c * </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Stop screen scrolling</strong></td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>CTRL/s * </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Resume screen scrolling</strong></td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>CTRL/q * </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Sleep</strong> for n seconds</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>sleep n </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Print</strong> list of jobs</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>jobs</strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Kill</strong> job n</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>kill % </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Remove</strong> process n</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>kill  -9 n </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>status</strong> process status stats</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>ps </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Resume</strong> background job n</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>bg  [%n] </strong></td>
</tr>
<tr>
<td width="12%" height="19" bgcolor="#e4e4e4"><strong>Resume</strong> foreground job n</td>
<td width="47%" height="19" bgcolor="#e4e4e4"><strong>fg  [%n] </strong></td>
</tr>
<tr>
<td width="12%" height="16" valign="top" bgcolor="#e4e4e4"><strong>Exit</strong> from shell</td>
<td width="47%" height="16" valign="top" bgcolor="#e4e4e4"><strong>exit </strong></td>
</tr>
<tr>
<td width="12%" height="51" bgcolor="#ffffff"><strong> User admin</strong></td>
<td width="47%" height="51" bgcolor="#ffffff"></td>
</tr>
<tr>
<td width="12%" height="4" valign="top" bgcolor="#e4e4e4"><strong>add a new user login</strong> to the system</td>
<td width="47%" height="4" valign="top" bgcolor="#e4e4e4"><strong># useradd -u 655 -g 20 -d /home/ttes testlogin  loginname</strong>
<dl>
<dt> -u is userid , if not specified system takes     highest available .</dt>
<dt> -g group id should be existing in /etc/group ,     if not specified other or user is assigned.</dt>
<dt> -d home directory , default is to use <em>user </em>as     the directory name under the home directory.</dt>
<dt>loginname &#8211; new login name to be created .</dt>
</dl>
<p><strong>#useradd testlogin</strong> will create a user by the name &#8216;testlogin&#8217; with all default values .</td>
</tr>
<tr>
<td width="12%" height="4" bgcolor="#e4e4e4"><strong>password</strong> Change</td>
<td width="47%" height="4" bgcolor="#e4e4e4"><strong>passwd  &lt;user&gt;</strong></td>
</tr>
<tr>
<td width="12%" height="15" bgcolor="#e4e4e4"><strong>alias </strong>(csh/tcsh) &#8211; Create command</td>
<td width="47%" height="15" bgcolor="#e4e4e4"><strong>alias name1 name2 </strong></td>
</tr>
<tr>
<td width="12%" height="10" bgcolor="#e4e4e4"><strong>alias </strong>(ksh/bash) &#8211; Create alias command</td>
<td width="47%" height="10" bgcolor="#e4e4e4"><strong>alias name1=&#8221;name2&#8243; </strong></td>
</tr>
<tr>
<td width="12%" height="7" bgcolor="#e4e4e4"><strong>alias</strong> &#8211; Remove alias </td>
<td width="47%" height="7" bgcolor="#e4e4e4"><strong>unalias name1[na2...]</strong></td>
</tr>
<tr>
<td width="13%" height="26" bgcolor="#e4e4e4"><strong> printer</strong></td>
<td width="50%" height="26" bgcolor="#e4e4e4"></td>
</tr>
<tr>
<td width="13%" height="19" bgcolor="#e4e4e4"><strong> Output file f to line printer </strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>p -d printer file </strong></td>
</tr>
<tr>
<td width="13%" height="19" bgcolor="#e4e4e4"></td>
<td width="50%" height="19" bgcolor="#e4e4e4"></td>
</tr>
<tr>
<td width="14%" height="55" bgcolor="#ffffff"><strong> System  Status</strong></td>
<td width="50%" height="55" bgcolor="#ffffff"></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Display disk quota</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>quota </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Print date &amp; time</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>date </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>List logged in users</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>who </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Display current user</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>whoami </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Output user information</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>finger  [username] </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Display recent commands</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>history</strong></td>
</tr>
<tr>
<td width="14%" height="47" bgcolor="#ffffff"><strong> Environment Variable</strong></td>
<td width="50%" height="47" bgcolor="#ffffff"></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>set</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>set</strong> command alone displays the environment variables</a>, it is used to set options in<strong> ksh </strong> like<strong> set -o vi </strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>export</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4"><strong>export variable </strong>,  export  makes variable visible in sub shells.</td>
</tr>
<tr>
<td width="12%" height="6" bgcolor="#e4e4e4"><strong>Set environment  variable</strong> (csh/tcsh)  to value v</td>
<td width="47%" height="6" bgcolor="#e4e4e4"><strong>sentenv name v</strong></td>
</tr>
<tr>
<td width="12%" height="8" valign="top" bgcolor="#e4e4e4"><strong>Set environment  variable</strong> (ksh/bash)  to value v</td>
<td width="47%" height="8" bgcolor="#e4e4e4"><strong>export name=v </strong> example :  <strong>export TERM=vt100</strong></td>
</tr>
<tr>
<td width="14%" height="46" bgcolor="#ffffff" bordercolor="#FFFFFF"><strong> Connectivity</strong></td>
<td width="50%" height="46" bgcolor="#ffffff" bordercolor="#FFFFFF"></td>
</tr>
<tr>
<td width="14%" height="19" valign="top" bgcolor="#e4e4e4"><strong>Connecting to a  remote host</strong></td>
<td width="50%" height="19" valign="top" bgcolor="#e4e4e4"><strong>$telnet hostname/ip address </strong> or <strong> $telnet</strong>Telnet brings up the login prompt of remote host and  expects you to enter your user name &amp; password .Without argument it enters command mode (telnet&gt;) and accepts command listed by ? at telnet&gt; prompt. Communication</a> is not encrypted between two hosts.</td>
</tr>
<tr>
<td width="14%" height="19" valign="top" bgcolor="#e4e4e4"><strong>Securely connecting to a remote host</strong></td>
<td width="50%" height="19" valign="top" bgcolor="#e4e4e4">
<dl>
<dt><strong>ssh  username@hostname      or ssh -l username hostname</strong></dt>
<dt>Depending on ssh setting for your     account you may or may not be asked a password to login. Your login/passwd     will be same login password as you would use with telnet connection.</dt>
<dt>Communication is encrypted between two     hosts so if someone intercepts your communication he will not be able     to use it.</dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="19" valign="top" bgcolor="#e4e4e4"><strong>Copy files from/to remote host</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4">
<dl>
<dt><strong>ftp hostname</strong></dt>
<dt>ftp expects you to enter  your     username/passwd or if it is ftp only account it will require ftp     account password .</dt>
<dt>put , mput ( <strong>m</strong>ultiple <strong>put</strong> )     command is used to transfer     files</a> to remote host.</dt>
<dt>get , mget ( <strong>m</strong>ultiple <strong>put</strong>)     command is used to transfer files from remote host.</dt>
<dt>ftp allows some limited number of     commands to be executed at ftp&gt; prompt &amp; summary of ftp command     can be found by using ? at ftp&gt;  prompt</dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#e4e4e4"><strong>Securely copy files from/to remote host</strong></td>
<td width="50%" height="19" valign="top" bgcolor="#e4e4e4"><strong>sftp username@hostname:</strong><em>remotefile  localfile </em>Communication is encrypted between two hosts.</td>
</tr>
<tr>
<td width="14%" height="19" valign="top" bgcolor="#e4e4e4"><strong>Test the tcp/ip  connectivity between two hosts</strong></td>
<td width="50%" height="19" bgcolor="#e4e4e4">
<dl>
<dt><strong>ping hostname</strong></dt>
<dt>If you can ping a host the host is     reachable from the machine that you are using .</dt>
<dt>Router/firewall configuration may     prevent ping to succeed .</dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="40" bgcolor="#ffffff"><strong>Backup and  Restore</strong></td>
<td width="50%" height="40" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td width="14%" height="5" valign="top" bgcolor="#e4e4e4"><strong>backup and restore using tar , TApeaRchive</strong></td>
<td width="50%" height="5" bgcolor="#e4e4e4">
<dl>
<dt><strong>tar tvf filename.tar</strong> &#8212;  <em><strong>View</strong></em> the table of content of a tar archive</dt>
<dt><strong>tar xvf filename.tar </strong> &#8212;     <em><strong>Extract</strong></em> content of a tar archive</dt>
<dt><strong>tar cvf filename.tar</strong> <strong>file1     file2  file3</strong> &#8212; <em><strong>Create</strong></em> a tar archive called     filename.tar using file1, file2,file3 .</dt>
<dt>tar can&#8217;t copy the special files , device files .Not suitable for     taking root backup.</dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="1" valign="top" bgcolor="#e4e4e4"><strong>backup and restore using cpio  , C</strong>o<strong>p</strong>y<strong>I</strong>nput<strong>O</strong>utput</td>
<td width="50%" height="1" valign="top" bgcolor="#e4e4e4">
<dl>
<dt>cpio is mostly used in conjunction with other commands to generate a     list of files to be copied :<br />
<strong>#ls | cpio -o &gt; /dev/rmt/c0t0d0</strong> &#8212; Copy the contents of a     directory into a tape archive:<br />
<strong>#find . -depth -print | cpio -pd newdir &#8212; </strong>copy entire     directory to other place:<br />
<strong>#find . -cpio /dev/rmt/c0t0d0 &#8212; </strong>Copy files in current     directory to a tape</dt>
<dt>cpio can copy special files and hence useful in taking root backup     containing device file.</dt>
</dl>
</td>
</tr>
<tr>
<td colspan="2" width="64%" height="31" valign="top" bgcolor="#ffffff" bordercolor="#FFFFFF"><strong> Find files  , directories</strong></td>
</tr>
<tr>
<td width="14%" height="19" valign="top" bgcolor="#e4e4e4"><strong>find  files , directories</strong></td>
<td width="50%" height="19" valign="top" bgcolor="#e4e4e4">
<dl>
<dt>Find  command is used to find the     files , directories and to run commands on the list of files thus     generated .By default, find does not follow symbolic links.</dt>
<dd> </dd>
<dt><strong>find . -name *.log -print </strong> &#8212; Simple find to list   log     files</a></dt>
<dt><strong>find . -name &#8216;*.log&#8217; -exec rm      {} \;</strong> &#8212; Simple find to find log files and delete them .</dt>
<dt>find accepts a long list of options to     find the files based on different parameters such as create time ,     modified time , of certain size etc. Please refer to man find for more     option.</dt>
</dl>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/unix-commands-tutorial/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Solaris Installation</title>
		<link>http://adminschoice.com/solaris-installation</link>
		<comments>http://adminschoice.com/solaris-installation#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:22:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Install]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=72</guid>
		<description><![CDATA[How to install Solaris OS - Introduction to the procedure and sequence of event  in Solaris installation. ]]></description>
			<content:encoded><![CDATA[<p>Solaris installation poses a challenges to the new Solaris sysadmins who have never done the installation of Solaris before . Though the installation itself is simple and straight forward but doing it the first time comes with its own anxiety associated with  unexplored and unknown things .</p>
<p>The idea of this article is to introduce you with the procedure and sequence of event  Solaris installation to build enough confidence to finish the installation on your own.</p>
<p>Table of contents<br />
1. Before you begin<br />
2. Getting Started<br />
3. Starting the installation<br />
4. OS distributions &amp; disk configuration<br />
5. After Installation<br />
6. Next Steps</p>
<p><strong>1. Before you begin</strong><br />
For Solaris installation on standalone Sun machine you need the following besides sun cpu :</p>
<p>A) Sun Monitor and Sun Keyboard<br />
OR<br />
For carrying the installation through the serial port A of Sun (ttya)<br />
Dumb Terminal or PC with serial port communication software like HyperTerminal<br />
AND<br />
A null modem cable ( Pin 2 &amp; 3 crossed 5 common ground in 9 Pin to 9 pin ; Pin 7 is common ground in 25 Pin connector ) connecting sun&#8217;s serial port A with PC serial port.</p>
<p>B) You will also require a IP address, netmask and a host name for your system.</p>
<p><strong>2. Getting Started</strong></p>
<p>Installation starts at OK&gt; prompt &amp; you can get to ok&gt; using any of the following method :</p>
<p>A. by pressing Stop A key sequence on a Sun Keyboard.<br />
B. typing #init 0 if your system boots up directly .<br />
C. Pressing ctrl-break or shift-break on a pc keyboard if using pc as<br />
console through serial port.<br />
D. If auto-boot feature is enabled system directly boots up<br />
and gives you a # prompt .You can disable auto-boot so next time it<br />
stays at ok prompt for starting installation.<br />
#/usr/platform/sun4u/bin/eeprom auto-boot?=false<br />
reboot the system.</p>
<p><strong>3. Starting the installation</strong><br />
Insert the installation media &#8211; OS CD in CD drive and type boot cdrom at ok&gt; prompt .<br />
Ok&gt;boot cdrom</p>
<p>The first phase begins with system identification   and gathers information about the system from the the user .System starts booting up and after initialization it asks for language and locale also terminal type in case of PC/terminal</p>
<p>Select your locale and DEC VT100 terminal type for terminal selection<br />
Further installation through the terminal require response to the<br />
selections through ESC and function keys and space bar which are<br />
mentioned on the installation screen.</p>
<p>On the next screens, you are to identify the system as networked or    non-networked, and set the default time zone and date/time. After this following host information is required :</p>
<p>A) A host name for the system<br />
B) Whether the system is networked if yes you will have to<br />
provide the IP address &amp; netmask of this machine.</p>
<p>Next you will be asked to select the name services<br />
Name services
<pre>
[    ]                      NIS+
[    ]                      NIS
[    ]                      DNS
[X ]                        None
</pre>
<p>Select the service if you have complete details like domain names etc or select none to configure after installation.</p>
<p>You have to select a distribution type from among the choices choices</p>
<p><strong>4. OS distribution &amp; Disk configuration</strong><br />
After identification is complete the installation process proceeds on to the OS and disk configuration and need your input for these settings. Selection depends on role of your machine</p>
<p>Typical space requirement for Solaris 7 is given here.</p>
<pre>
[   ] Entire Distribution plus OEM support 64-bit 1242.00 MB (F4 to Customize
[X] Entire Distribution 64-bit .....…...….1215.00 MB
[   ] Developer System Support 64-bit.... 1154.00 MB
[   ] End User System Support 64-bit .….. 765.00 MB
[   ] Core System Support .............. .334.00 MB
</pre>
<p>* Entire distribution with OEM has all software with some third party software<br />
* Entire distribution  has all software without   third party software .<br />
* Developer system has run time libraries for C software etc.<br />
* End user has  X windows and CDE environment .<br />
* Core system is without X windows softwares etc.</p>
<p>If you are not sure select entire distribution.</p>
<p>You will be presented with choice to select the boot disk among the disks present in the system ,unless you have reasons  select the c0t0d0 at boot disk.</p>
<p>[ X ] c0t0d0 (17269 MB) boot disk 17269 MB</p>
<p>[   ] c0t1d0 (17269 MB) 17269 MB</p>
<p>overlap partition represents entire disk and is slice s2 of the disk.<br />
If any of the disk contain a preexisting partition you will be given a choice to  preserve the partition .<br />
Next the current layout is given ( if existing ) and you are asked to select between Automatic and Custom layout of disk partitions.</p>
<p>* Automatic layout make a single partition of entire boot disk .<br />
* Customize option gives and option to create the partitions and select the sizes .</p>
<p>Things to keep in mind while doing interactive or custom installation<br />
- Additional space is required in /var &amp; /home  if server is to handle  mail and printing as mail and print files are formed in /var &amp; if the user home directories are to be located on /home partition</p>
<p>A sample partition table may look like following .</p>
<pre>
File system/Mount point Disk/Slice Size
---------------------------------------

/           c0t0d0s0       300 MB

swap        c0t0d0s1       2000 MB

overlap     c0t0d0s2       17269 MB

/usr        c0t0d0s3       2000 MB

/opt        c0t0d0s4       1000 MB

/var        c0t0d0s5       1000 MB
</pre>
<p>- The swap partition size depends on the size of RAM in the system if you are not sure of its size keep it double the RAM or more than RAM in the system.</p>
<p>- If you are not sure of individual partition sizes of   /    , /usr   /opt &amp; /var make one partition as / and keep its size sufficiently higher than the distribution size you have selected in earlier steps . Always keep in mind the future software that you might have to install like compilers applications etc and log files that will be generated and accumulate in /var directory or partition.</p>
<p>After you have specified the partition sizes it gives summary and error if any</p>
<pre>
Installation Option: Initial

Boot Device:            c0t0d0s0
Client Services:        None
Software: Solaris 2.7, Entire Distribution

File System and Disk Layout:
/          c0t0d0s0     300 MB
swap       c0t0d0s1     2000 MB
/usr       c0t0d0s3     2000 MB
/opt       c0t0d0s4     1000 MB
/var       c0t0d0s5     1000 MB

one more question is asked about rebooting

[X] Auto Reboot
[  ] Manual Reboot
</pre>
<p>Afterwards it starts configuring disk making partitions and installing software indicating the progress in a table .</p>
<p>MBytes Installed: 700.66</p>
<p>MBytes Remaining: 0.00</p>
<pre>
Installing:
|    |     |     |     |     |

0   20    40    60    80    100
</pre>
<p>After the installation is complete it customizes system files , devices ,logs , installs patches which are there in OS CD for that release. You can install recommended  latest patches later</p>
<p>System then  reboots or ask you to reboot depending upon the choice selected earlier .</p>
<p><strong>5. After Installation</strong><br />
After rebooting it asks for new root passed and  comes to console prompt where you can login as root install patches ,additional software , make user etc. etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/solaris-installation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crontab &#8211; Quick Reference</title>
		<link>http://adminschoice.com/crontab-quick-reference</link>
		<comments>http://adminschoice.com/crontab-quick-reference#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:22:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[crontab syntax]]></category>
		<category><![CDATA[unix crontab]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43</guid>
		<description><![CDATA[cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. Learn  setting up cronjobs in Unix and Solaris in this document. ]]></description>
			<content:encoded><![CDATA[<p><strong>Setting up cron jobs in Unix and Solaris</strong></p>
<p>cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris.  Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.</p>
<p>This document covers following aspects of Unix cron jobs<br />
1. Crontab Restrictions<br />
2. Crontab Commands<br />
3. Crontab file &#8211; syntax<br />
4. Crontab Example<br />
5. Crontab Environment<br />
6. Disable Email<br />
7. Generate log file for crontab activity</p>
<p><strong>1. Crontab Restrictions</strong><br />
You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use<br />
crontab if your name does not appear in the file /usr/lib/cron/cron.deny.<br />
If only cron.deny exists and is empty, all users can use crontab. If neither file exists, only the root user can use crontab. The allow/deny files consist of one user name per line.</p>
<p><strong>2. Crontab Commands</strong></p>
<p>export EDITOR=vi ;to specify a editor to open crontab file.</p>
<p>crontab -e&nbsp;&nbsp;&nbsp;&nbsp;Edit your crontab file, or create one if it doesn&#8217;t already exist.<br />
crontab -l &nbsp;&nbsp;&nbsp;&nbsp;     Display your crontab file.<br />
crontab -r &nbsp;&nbsp;&nbsp;&nbsp;     Remove your crontab file.<br />
crontab -v &nbsp;&nbsp;&nbsp;&nbsp;     Display the last time you edited your crontab file. (This option is only available on a few systems.)</p>
<p><strong>3. Crontab file</strong><br />
Crontab syntax :<br />
A crontab file has five fields for specifying day , date and time  followed by the command to be run at that interval.</p>
<table id="AutoNumber1" style="border-collapse: collapse; height: 160px;" border="0" cellspacing="7" cellpadding="0" width="433" bgcolor="#dbdbdb" bordercolor="#dbdbdb">
<tbody>
<tr>
<td width="100%">
<pre>
*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)
</pre>
</td>
</tr>
</tbody>
</table>
<p>* in the value field above means all legal values as in braces for that column.<br />
The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).<br />
<strong>Notes</strong><br />
A. ) Repeat pattern like /2  for every 2 minutes or /10 for every 10 minutes is not supported by all operating systems. If you try to use it and crontab complains it is probably not supported.</p>
<p>B.) The specification of days can be made in two fields: month day and weekday. If both are specified in an entry, they are cumulative meaning both of the entries will get executed .</p>
<p><strong>4. Crontab Example</strong><br />
A line in crontab file like below  removes the tmp files from /home/someuser/tmp each day at 6:30 PM.</p>
<p><span style="font-weight: 400;"><span style="font-family: Times New Roman; font-size: small;">30      18     *     *     *          rm /home/someuser/tmp/*</span></span></p>
<p>Changing the parameter values as below will cause this command to run at different time schedule below :</p>
<table style="height: 127px;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="8%" height="13" align="center" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;">min</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;">hour</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;">day/month</span></td>
<td width="13%" height="13" align="center" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;">month</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;">day/week</span></td>
<td width="66%" height="13" align="left" valign="top" bgcolor="#808080"><span style="font-family: Verdana; color: #ffffff; font-size: xx-small;"> Execution        time</span></td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">30</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">1</span></td>
<td width="13%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">1,6,12</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">*</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#ffffff"><span style="font-family: Verdana; font-size: xx-small;">&#8211;        00:30 Hrs  on 1st of Jan, June &amp; Dec.</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="1" align="center" bgcolor="#dbdbdb"></td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">20</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">*</span></td>
<td width="13%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">10</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">1-5</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">&#8211;8.00        PM every weekday (Mon-Fri) only in Oct.</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="2" align="center" bgcolor="#dbdbdb"></td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">1,10,15</span></td>
<td width="13%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">*</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">*</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">&#8211;        midnight on 1st ,10th &amp; 15th of month</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="2" align="center" bgcolor="#dbdbdb"></td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">5,10</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">10</span></td>
<td width="13%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">*</span></td>
<td width="9%" height="38" align="center" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">1</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#ffffff"><span style="font-family: Times New Roman; font-size: small;">&#8211;        At 12.05,12.10 every Monday &amp; on 10th of every month</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="1" bgcolor="#dbdbdb"><span style="font-family: Verdana; color: #dbdbdb; font-size: xx-small;">:</span></td>
</tr>
</tbody>
</table>
<p><strong>Note :</strong> If you inadvertently enter the crontab command with no argument(s), do not attempt to get out with Control-d. This removes all entries in your crontab file. Instead, exit with Control-c.</p>
<p><strong>5. Crontab Environment</strong><br />
cron invokes the command from the user&#8217;s HOME directory with the shell, (/usr/bin/sh).<br />
cron supplies a default environment for every shell, defining:<br />
HOME=user&#8217;s-home-directory<br />
LOGNAME=user&#8217;s-login-id<br />
PATH=/usr/bin:/usr/sbin:.<br />
SHELL=/usr/bin/sh</p>
<p>Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.</p>
<p><strong>6. Disable Email</strong><br />
By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .</p>
<p>&gt;/dev/null 2&gt;&amp;1</p>
<p><strong>7. Generate log file</strong><br />
To collect the cron execution execution log in a file :</p>
<p>30 18  *    *   *    rm /home/someuser/tmp/* &gt; /home/someuser/cronlogs/clean_tmp_dir.log</p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/crontab-quick-reference/feed</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Booting Process in Solaris</title>
		<link>http://adminschoice.com/booting-process-in-solaris</link>
		<comments>http://adminschoice.com/booting-process-in-solaris#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:20:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Boot]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=77</guid>
		<description><![CDATA[Understanding the booting process is important in the sense that you can get a clear idea when a system faces a booting problem if you are familiar with the booting sequence and steps involved. Learn about the booting process in Unix/Solaris]]></description>
			<content:encoded><![CDATA[<p>Understanding the booting process is important in the sense that you can get a clear idea when a system faces a booting problem if you are familiar with the booting sequence and steps involved. You can thereby isolate a booting phase and quickly resolve the issues.</p>
<p>Booting process in Solaris can be divided in to different phases for ease of study . First phase starts at the time of switching on the machine and is boot prom level , it displays a identification banner mentioning machine host id serial no , architecture type memory and Ethernet address This is followed by the self test of various systems in the machine.</p>
<p>This process ultimately looks for the default boot device and reads the boot program from the boot block which is located on the 1-15 blocks of boot device. The boot block contains the ufs file system reader which is required by the next boot processes.</p>
<p>The ufs file system reader opens the boot device and loads the secondary boot program from /usr/platform/`uname –i`/ufsboot ( uname –i expands to system architecture type)</p>
<p>The boot program above loads a platform specific kernel along with a generic solaris kernel </p>
<p>The kernel initialize itself and load modules which are required to mount the root partition for continuing the booting process.</p>
<p>The booting process undergoes the following phases afterwards :</p>
<p>1) init phase<br />
2) inittab file<br />
3) rc scripts &#038; Run Level</p>
<p><strong>1. INIT phase</strong><br />
Init phase is started by the execution of /sbin/init program and starts other processes after reading the /etc/inittab file as per the directives in the /etc/inittab file . </p>
<p>Two most important functions of init are<br />
a) It runs the processes to bring the system to the default run level state ( Run level 3 in Solaris , defined by initdefault parameter in /etc/inittab )<br />
b) It controls the transition between different run levels by executing appropriate rc scripts to start and the stop the processes for that run level. </p>
<p><strong>2. /etc/inittab file</strong><br />
This file states the default run level and some actions to be performed while the system reaches up to that level. The fields and their explanation are as follows :</p>
<p>S3:3:wait:/sbin/rc3 > /dev/console 2>&#038;1 < /dev/console </p>
<p>S3 denotes a identification if the line</p>
<p>3 is run level<br />
wait is action to be performed</p>
<p>/sbin/rc3 is the command to be run.</p>
<p>So the fields in the inittab are</p>
<p>Identification : run level : action : process</p>
<p>The complete line thus means run the command /sbin/rc3 at run level 3 and wait until the rc3 process is complete.</p>
<p>The action field can have any of the following keywords :</p>
<p>Initdefault : default run level of the system</p>
<p>Respawn : start and restart the process if it stops.<br />
Powerfail : stop on powerfail<br />
Sysinit : start and wait till console in accessible .<br />
Wait : wait till the process ends before going on to the next line.</p>
<p><strong>3. RC scripts &#038; Run Levels</strong><br />
Rc scripts performs the following functions : </p>
<p>a) They check and mount the file systems<br />
b) Start and stop the various processes like network , nfs etc.<br />
c) Perform some of the house keeping jobs.</p>
<p>System goes in to one of the following run level after booting depending on default run level and the commands issued for changing the run level to some other one.</p>
<p>0 Boot prom level ok> or > prompt in Sun.<br />
1 Administrative run level . Single user mode<br />
2 Multiuser mode with no resource sharing .<br />
3 Multiuser level with nfs resource sharing<br />
4 Not used<br />
5 Shutdown &#038; power off (Sun 4m and 4u architecture )<br />
6 Reboot to default run level<br />
S s Single user mode user logins are disabled.</p>
<p>Broadly speaking the running system can be in any of the folloing state</p>
<p><strong>Single user </strong>– Minimum processes running , user logins disabled and root password is required to gain access to the shell .<br />
<strong>Multiuser </strong>- All system processes are running and user logins are permitted </p>
<p>Run level of a desired state is achieved by a number of scripts executed by the rc program the rc scripts are located in /etc/rc0.d , /etc/rc1.d , /etc/rc2.d , /etc/rc3.d &#038; /etc/rcS.d directories . All the files of a particular run level are executed in the alphanumeric order .Those files beginning with letter S starts the processes and those beginning with K stops the processes.</p>
<p>These files are hard linked to the files in /etc/init.d in order to provide a central location for all these files and eliminating the need to change the run level in case these scripts needs to be run separately . The files in /etc/init.d directory are without any S , K and numeric prefix instead a stop / start argument has to be supplied whenever these scripts are to be executed .</p>
<p>By default system has a number of rc scripts needed for run level transition but sometimes it becomes necessary to start some custom scripts at the booting time and turn them off at the shutdown . Custom scripts can be put in any of the required rc directory but following major considerations has to be kept in mind :</p>
<p>    * The sequence number of the file should not conflict with other files.<br />
    * The sevices needed should be available by previously executed scripts.<br />
    * File should be hard linked to the /etc/init.d directory .<br />
    * The system looks for only those files beginning with letter K &#038; S , any thing else is ignored , therefore, to make a file inactive simply changing uppercase K or S to lower case will cause system to ignore it .</p>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/booting-process-in-solaris/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun OpenBoot Parameters and commands</title>
		<link>http://adminschoice.com/sun-openboot-parameters-and-commands</link>
		<comments>http://adminschoice.com/sun-openboot-parameters-and-commands#comments</comments>
		<pubDate>Thu, 17 Dec 2009 06:18:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Install]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=143</guid>
		<description><![CDATA[The firmware in Sun's boot PROM is called OpenBoot . Learn about setting up and usage of  open boot parameters in system operation and diagnostics .]]></description>
			<content:encoded><![CDATA[<p><strong>About Openboot </strong>:<br />
The firmware in Sun&#8217;s boot PROM is called OpenBoot. The main features of openboot are &#8211;  initial program loading ,   &#038;  debugging features to assist kernel debugging. OpenBoot supports plug-in device drivers which are written in language Forth. This plug in feature allows Sun or any third-party vendors to develop new boot devices but without making any changes to  boot PROM.</p>
<p><strong>Accessing the openboot</strong><br />
Openboot  console can be accessed by any of the following means . Be careful not to do this on a live system as you might end up in rebooting the server .</p>
<p><strong>1. Rebooting a system </strong>, if auto-boot is not set to true rebooted system returns to OK> prompt which is openboot prompt</p>
<p><strong>2. Pressing the keys L1 and A  or STOP A </strong> ,  at the same time will bring you to the OpenBoot system. You will see the display<br />
Type b (boot), c (continued), or n (new command mode)<br />
><br />
 Typing b boots   the operating system . Typing c resumes the execution of a halted program. Typing n gets you to the Forth monitor, and the prompt will change to ok.  </p>
<p><strong>OpenBoot Parameters &#038; commands</strong></p>
<p>Following two tables gives a list of Openboot parameters &#038; commands </p>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td  width="100%" valign="top" height="39">
      <b>Following two tables gives a list of<br />
        Openboot parameters &amp; commands&nbsp;</b>
        </td>
</tr>
<tr>
<td height="23" width="100%" bgcolor="#E4E4E4">
        <b>General</b>
                </td>
</tr>
<tr>
<td height="171" width="100%">
<dl>
<dt><b>printenv</b></dt>
<dt>Display all variables and current<br />
            values.</dt>
<dt><b>setenv &lt;variable&gt;&nbsp;</b>&nbsp;</dt>
<dt>Set variable to the given&nbsp;&nbsp;<br />
            value.</dt>
<dt><b>set-default&nbsp; &lt;variable&gt;&nbsp;</b>&nbsp;</dt>
<dt>Reset the value of <var>variable</var><br />
            to the factory default.</dt>
<dt><b>set-defaults&nbsp;&nbsp;</b></dt>
<dt>Reset variable values to the factory<br />
            defaults.</dt>
</dl>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4"  valign="top" >
        <b><span style="text-transform: uppercase;">boot</span></b></p>
</td>
</tr>
<tr>
<td height="228" width="100%"  valign="top"  >
<dl>
<dt><b>auto-boot?=true</b>&nbsp;&nbsp;</dt>
<dt>System directly boots without<br />
            stopping at OK&gt; after power on.</dt>
<dt><b>boot-command=boot</b><br />
            command passed on to auto boot if true.&nbsp;</dt>
<dt><b>boot-file:&nbsp;&nbsp;</b><br />
            File&nbsp; for booting&nbsp; Solaris , default is empty string .This<br />
            variable contains the default boot arguments that are used when<br />
            OpenBoot is not in diagnostic mode.</dt>
<dt><b>boot-device=disk net</b>&nbsp;&nbsp;</dt>
<dt> Device<br />
            to boot from , multiple devices can be specified using spaces .Other<br />
            devices will be selected if&nbsp; first device fails.</dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4"  valign="top"  >
        <b>Network</b>
        </td>
</tr>
<tr>
<td  valign="top"  width="100%">
<dl>
<dt><b>tpe-link-test?</b></dt>
<dt><b>=true</b></dt>
<dt>Tests the UTP&nbsp; Ethernet port<br />
            link and flashes error messages if there is no network&nbsp; link.</dt>
<dt><b>local-mac-address?</b></dt>
<dt><b>=false</b></dt>
<dt>Use the system&#8217;s&nbsp; MAC address<br />
            instead of network card&#8217;s MAC address .&nbsp;</dt>
<dt><b>Ports</b></dt>
<dt><b>ttyb-rts-dtr-off</b></dt>
<dt><b>=false<br />
            ttyb-ignore-cd</b></dt>
<dt><b>=true<br />
            ttya-rts-dtr-off</b></dt>
<dt><b>=false<br />
            ttya-ignore-cd</b></dt>
<dt><b>=true<br />
            ttyb-mode</b></dt>
<dt><b>=9600,8,n,1,-<br />
            ttya-mode</b></dt>
<dt><b>=9600,8,n,1,-&nbsp;</b></dt>
</dl>
</td>
</tr>
<tr>
<td  valign="top" height="19" width="100%" bgcolor="#E4E4E4">
        <b>DIAGNOSTICS</b></p>
</td>
</tr>
<tr>
<td  valign="top" height="209" width="100%">
<dl>
<dt><b>diag-file</b>:</dt>
<dt>boot file for diagnostic mode This<br />
            variable contains the default diagnostic mode boot arguments.<br />
            <b>diag-device=net</b></dt>
<dt>booting device in diagnostic mode.</dt>
<dt><b>diag-switch?=false</b></dt>
<dt>If true system runs in diagnostic<br />
            mode.</dt>
<dt><b>diag-level=max</b><br />
            Level for diagnostics information , can&nbsp;</dt>
<dt>be&nbsp; min , max and minus . There<br />
            may be additional platform specific values. If set to off, POST is<br />
            not called. The default value is platform-dependent.
            </dt>
</dl>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b><span style="text-transform: uppercase;">input/output</span></b></p>
</td>
</tr>
<tr>
<td height="342" width="100%">
<dl>
<dt><b>input-device=keyboard</b></dt>
<dt>Input device used at power-on (&nbsp;<br />
            keyboard, ttya, or&nbsp; ttyb).&nbsp;&nbsp;
            </dt>
<dt><b>keyboard-click?=false</b></dt>
<dt>keyboard click sound</dt>
<dt><b>keymap</b>:&nbsp;&nbsp;</dt>
<dt>For custom keyboards</dt>
<dt><b>output-device=screen</b></dt>
<dt>Output device used at power-on<br />
            (screen,<br />
            ttya, or ttyb).<b><br />
            ansi-terminal?=true</b></dt>
<dt>controls&nbsp; the behavior of the<br />
            terminal emulator.<br />
            The value false causes&nbsp; the terminal emulator to&nbsp; stop<br />
            interpreting ANSI escape sequences resulting in&nbsp; echoing them<br />
            to the output device.&nbsp;<br />
            <b>screen-#columns</b>=80<br />
            <b>screen-#row</b>s=34</dt>
<dt>Columns and Rows of display screen.</dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>SCSI</b></p>
</td>
</tr>
<tr>
<td height="57" width="100%">
<dl>
<dt><b>scsi-initiator-id=7</b></dt>
<dt>SCSI bus address of host adapter,<br />
            range 0-7. Used&nbsp; in shared scsi storage envornment.</dt>
</dl>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>Bus</b></p>
</td>
</tr>
<tr>
<td height="92" width="100%">
<dl>
<dt><b>pcia-probe-list=1,2,3,4<br />
            pcib-probe-list=1,2,3</b></dt>
<dt><kbd><b>sbus-probe-list=2,0,1,3</b></kbd></dt>
<dt>Order to probe pci and sbus&nbsp;<br />
            buses for devices.</dt>
</dl>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>NVram</b></p>
</td>
</tr>
<tr>
<td height="114" width="100%">
<dl>
<dt><b>use-nvramrc?=false</b></dt>
<dt>If true , execute commands in<br />
            NVRAMRC during sys-<br />
            tem start-up. Defaults to false .<br />
            <b>nvramrc</b></dt>
<dt>Displays contents of NVRAM</dt>
</dl>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>Security</b></p>
</td>
</tr>
<tr>
<td height="190" width="100%">
<dl>
<dt><b>security-mode=none</b></dt>
<dt>Firmware security level (options:<br />
            none, command ,<br />
            or full). If set to command or full, system will prompt for PROM<br />
            security password.&nbsp;<br />
            &nbsp;&nbsp;</dt>
<dt>Security password setting when<br />
            security mode is command or full.<br />
            <b>security-#badlogins=0</b></dt>
<dt>No. of bad security login .</dt>
<dt><b><tt>password&nbsp;</tt>Set&nbsp;<br />
            security-password</b></dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>oem</b></p>
</td>
</tr>
<tr>
<td height="114" width="100%">
<dl>
<dt><b>oem-logo</b>=<b>false</b><br />
            <b>oem-logo?=false</b><br />
            <b>oem-banner?=false</b></dt>
<dt><b>mfg-mode=off</b></dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>Diagnostics</b></p>
</td>
</tr>
<tr>
<td height="361" width="100%">
<dl>
<dt><b>banner&nbsp;</b></dt>
<dt>this command shows the following&nbsp;<br />
            systems hardware information : Model, architecture, processor, keyboard, openboot<br />
            version, Serial no. Ethernet&nbsp; address &amp; host id.<br />
            <b>test floppy</b> &#8211; test floppy disk drive<br />
            <b>test net </b>- test network loop backs<br />
            <b>test scsi</b> &#8211; test scsi interface<br />
            <b>test-all&nbsp;&nbsp;</b>&nbsp; test for all devices with self test<br />
            method<br />
            <b>watch-clock&nbsp;&nbsp;</b></dt>
<dt>Show ticks of real-time clock<br />
            <b>watch-net</b></dt>
<dt>Monitor network broadcast packets<br />
            <b>watch-net-all</b></dt>
<dt>Monitor broadcast packets on all net<br />
            interfaces<br />
            <b>probe-scsi</b></dt>
<dt>Show attached SCSI devices</dt>
<dt><b>probe-scsi-all&nbsp;</b></dt>
<dt>Show attached SCSI devices for all<br />
            host adapters- internal &amp; external.</dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="19" width="100%" bgcolor="#E4E4E4">
        <b>boot</b></p>
</td>
</tr>
<tr>
<td height="222" width="100%">
<p><b>boot</b> &#8211; boot kernel from default<br />
        device.<br />
        Factory default is to boot<br />
        from DISK if present, otherwise from NET.<br />
        <b>boot net</b> &#8211; boot kernel from network<br />
        <b>boot cdrom</b> &#8211; boot kernel from CD-ROM<br />
        <b>boot disk1:h </b>- boot from disk1 partition h<br />
        <b>boot tape</b> &#8211; boot default file from tape<br />
        <b>boot<br />
        disk</span> myunix</b> <b>-as</b> &#8211; boot myunix from disk with<br />
        flags &quot;-as&quot;</p>
</td>
</tr>
<tr>
<td height="20" width="100%" bgcolor="#E4E4E4">
<p><b>DEVALIAS</b></p>
</td>
</tr>
<tr>
<td height="236" width="100%">
<dl>
<dt><tt><kbd><b>ok&gt;show-devs</b></kbd></tt></dt>
<dt><tt>ok <kbd><b>cd /pci@1f,4000/scsi@3</b></kbd></tt>&nbsp;</dt>
<dt>ok <kbd><b>.properties</b></kbd></dt>
<dt><tt>ok </tt><kbd><b>ls</b></kbd></dt>
<dt>f00809d8 tape</dt>
<dt>f007ecdc disk</dt>
<dt><tt>ok </tt><kbd><b>.speed</b></kbd></dt>
<dt>CPU Speed : 200.00MHz</dt>
<dt>UPA Speed : 100.00MHz&nbsp;</dt>
<dt>PCI Bus A : 66Mhz</dt>
<dt>PCI Bus B : 33Mhz</dt>
</dl>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td height="40" width="100%" bgcolor="#C0C0C0">
        <b>Useful<br />
        commands at OK prompt.</b></p>
</td>
</tr>
<tr>
<td height="169" width="100%">
        <b>nvedit </b>Start<br />
        nvramrc line editor using a temporary edit buffer<br />
        <b>use-nvramrc? </b>If this variable is true , Contents of nvramrc is<br />
        executed automatically. Set using setenv command<br />
        <b>nvrun</b> Execute the contents of nvedit edit buffer<br />
        <b>nvstore </b>Save the contents of the nvedit buffer into NVRAM<br />
        <b>nvrecover</b> Recover nvramrc after a set-defaults<br />
        <b>nvalias</b> &lt;name&gt; &lt;path&gt; Edit nvramrc to include<br />
        devalias called &#8216;name&#8217;<br />
        <b>nvunalias</b> &lt;name&gt; Edit nvramrc to remove devalias called<br />
        &#8216;name&#8217;</p>
</td>
</tr>
<tr>
<td height="266" width="100%">
<dl>
<dt><b>Key Sequences</b></dt>
<dt>These commands are disabled if the PROM security is on. Also, if<br />
              your system has full security enabled, you cannot apply any of the<br />
              suggested commands unless you have the password to get to the ok<br />
              prompt.</dt>
<dt>Stop &#8211; Bypass POST. This command does not depend on<br />
              security-mode. (Note: some systems bypass POST as a default; in<br />
              such cases, use <tt>Stop-D</tt> to<br />
              start POST.)</dt>
</dl>
<dl>
<dt><b>Stop-A</b>&nbsp;<br />
            Abort.</dt>
<dt><b>Stop-D</b> -<br />
            Enter diagnostic mode (set <tt>diag-switch?</tt> to <tt>true</tt>).</dt>
<dt><b>Stop-F</b> -<br />
            Enter Forth on TTYA instead of probing. Use <tt>exit</tt> to<br />
            continue with the initialization sequence. Useful if hardware is<br />
            broken.</dt>
<dt><b>Stop-N&nbsp;</b><br />
            Reset NVRAM contents to default values.</dt>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/sun-openboot-parameters-and-commands/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Helpful Links</title>
		<link>http://adminschoice.com/helpful-links</link>
		<comments>http://adminschoice.com/helpful-links#comments</comments>
		<pubDate>Wed, 02 Dec 2009 05:37:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=18</guid>
		<description><![CDATA[Collection of helpful external links related to unix, solaris and system administration.]]></description>
			<content:encoded><![CDATA[<dl>
<dt><span><strong>FAQs</strong></span> </dt>
<dt><span><a href="http://www.npl.washington.edu/faq/unix-FAQ.html">unix</a> , <a href="http://www.erlenstar.demon.co.uk/unix/faq_toc.html">unix               programming</a> , <a href="http://unlser1.unl.csi.cuny.edu/faqs/vi-faq/">VI </a> ,<a href="http://www.sendmail.org/faq/">Sendmail </a> , <a href="http://www.intac.com/%7Ecdp/cptd-faq/">Bind</a></span> </dt>
<dt><span><a href="http://www.kleber.net/ssh/ssh-faq.html">ssh</a> ,<a href="http://theory.uwinnipeg.ca/faqs/bash.html#1">BASH</a> ,<a href="ftp://rtfm.mit.edu/pub/faqs/computer-security/most-common-qs">Security</a>, <a href="http://www.whitefang.com/sup/secure-faq.html">Secure unix </a><a href="http://www.developerweb.net/sock-faq/">programming, Unix socket </a></span> </dt>
<dt><span><a href="http://www.scsifaq.org/scsifaq.html">SCSI</a> </span></dt>
<dt><span><a href="http://www.science.uva.nl/pub/solaris/solaris2.html" target="_blank">Solaris 2</a> ,  <a href="http://wks.uts.ohio-state.edu/sun/faqs/s86faq.html" target="_blank">Solaris               x86</a> ,<a href="http://www.eng.auburn.edu/users/rayh/solaris/NIS+_FAQ.html" target="_blank">NIS+</a> <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html">FreeBSD</a> ,<a href="http://www.redhat.com/support/docs/faqs/rhl_general_faq/FAQ.html">RedHat</a> , <a href="http://devresource.hp.com/STK/hpux_faq.html">HPUX</a> </span></dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Unix</strong></span> </dt>
<dt><span><a href="http://www.unix-systems.org/what_is_unix/history_timeline.html">Unix History and               timeline</a> ,</span> </dt>
<dt><a title="Explanation of the basics of UNIX" href="http://www.bell-labs.com/history/unix/tutorial.html"><span>Overview               of the UNIX </span></a> </dt>
<dt><a href="http://www.kirch.net/unix-nt/"><span>Microsoft Windows               NT Server 4.0 versus UNIX</span></a> </dt>
<dt><span><a href="http://www.rhyshaden.com/unix.htm">Overview of               Unix Commands</a> </span> </dt>
<dt><span><a href="http://www.uwsg.iu.edu/UAU/uau.html">Unix for               advance Users </a>,</span> </dt>
<dt><span><a href="http://www.torget.se/users/d/Devlin/shell/index.html">Unix               Bourne Shell Guide with Ksh</a> ,</span> </dt>
<dt><span><a href="http://docs.sun.com/db/doc/816-3318/6m9jv8akh?q=ksh&amp;a=view">Korn               Shell</a></span> </dt>
<dt><span><a href="http://www.gnu.org/manual/bash/html_mono/bashref.html">BASH reference Guide</a>, </span> </dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Solaris Documentation</strong></span> </dt>
<dt><a href="http://docs.sun.com/?p=coll/47.8"><span>Solaris 7               System Administration Collection</span></a> </dt>
<dt><a href="http://docs.sun.com/?p=coll/47.11"><span>Solaris 8               System Administrator Collection</span></a> </dt>
<dt><a href="http://docs.sun.com/?p=coll/47.13"><span>Solaris               9 System Administartion Collection</span></a> </dt>
<dt><a href="http://docs.sun.com/db/doc/806-7008/"><span>Creating               Solaris Packages</span></a> </dt>
<dt><a href="http://multiboot.solaris-x86.org/" target="_blank"><span>Multibooting Solaris </span></a> </dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Sun</strong></span> </dt>
<dt><a href="http://sunsolve.sun.com/handbook_pub/"><span>Sun System               Handbook</span></a> </dt>
<dt><a href="http://www.sun.com/products-n-solutions/hardware/"><span>Sun Hardware Info.</span></a> </dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Documentation Home</strong> </span></dt>
<dt><span><a href="http://docs.sun.com/">Sun </a>, <a href="http://freebsd.org/">BSD</a> ,<a href="http://www.redhat.com/support/manuals/RHL-6.1-Manual/getting-started-guide/">Linux</a> ,<a href="http://docs.hp.com/">Hp</a>,<a href="http://support.veritas.com/index.htm">Veritas</a> </span></dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Patches &amp; Softwares</strong></span> </dt>
<dt><span><a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access">Solaris Patches</a> , </span> </dt>
<dt><span><a href="http://www.sunfreeware.com/">Solaris Freeware </a>, </span> </dt>
<dt><span><a href="http://www.gnu.org/software/software.html">GNU               Software</a>, </span> </dt>
<dt><span><a href="http://www.bb4.com/">big brother</a> , </span> </dt>
<dt><span><a href="http://www.webmin.com/">webmin               .com</a> , </span> </dt>
<dt><a href="http://www.bugzilla.org/"><span>bugzilla.org</span></a> </dt>
<dt><span style="font-family: Verdana; color: #ffffff;">:</span> </dt>
<dt><span><strong>Certification Info</strong>:</span> </dt>
<dt><span><a href="http://suned.sun.com/US/certification/"><span>Sun</span> </a><span>,<a href="http://www.redhat.com/training/rhce/courses/">Red Hat</a> , </span><a href="http://www.hp.com/education/">HP</a> , <a href="http://studyguides.cramsession.com/">Free               Study Guides</a></span></dt>
<dt><strong><span>Others</span></strong> </dt>
<dt><a href="http://www.finitesystems.com/PRODUCT/raid/raidlevel.htm" target="_blank"><span>RAID primer</span></a> </dt>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://adminschoice.com/helpful-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
