Home
Solaris Network Card Properties Script PDF Print E-mail
Written by Peter   
A useful Solaris shell script to determine the properties of your network cards:

#!/bin/sh

# Only the root user can run the ndd commands

if [ "`/usr/bin/id | /usr/bin/cut -c1-5`" != "uid=0" ] ; then

   echo "You must be the root user to run `basename $0`."

   exit 1

fi

Last Updated on Sunday, 24 January 2010 09:32
 
Restoring the Original Version of the ODM PDF Print E-mail
Written by Administrator   

aix.jpgThe /etc/objrepos/Cu*.$$ files enable you to return to the original version of the ODM. To return to the original version of the ODM, enter:

cd /etc/objrepos

ls -l Cu*

Last Updated on Sunday, 24 January 2010 01:02
 
Distribute Windows XP SP2 with NT 4.0 logon PDF Print E-mail
Written by Kerry   
logo_windows.gifGroup policies make it easier to centrally distribute Windows XP Service Pack 2 from Windows 2000 Server or Windows Server 2003, but Windows NT servers don't offer group policies. Instead, NT administrators can distribute Windows XP SP2 using logon scripts.

 

You can install Windows XP service packs through logon scripts as easily as you can execute other workstation configuration settings. If you don't use logon scripts on your server, you'll have a little bit of extra work because you'll need to create the initial logon scripts and then add them to every user in User Manager For Domains--or at least those to which you want to deploy SP 2.

Last Updated on Thursday, 17 July 2008 13:51
 
Adding the Recovery Console to a Windows XP machine PDF Print E-mail
Written by Kerry   

logo_windows.gifIf you support a Windows XP system that occasionally has problems booting up, you may want to install the Recovery Console on that system. Once you install the Recovery Console, it will always be available when you need to troubleshoot the boot process. This will save you from having to search for a Windows XP installation CD every time you want to run the Recovery Console.

Here's how to add the Recovery Console to an XP machine:

Last Updated on Thursday, 17 July 2008 13:52
 
Reset Your Lost Root Password PDF Print E-mail

suse_geeko.jpgboot from the install CD

Boot from your first install CD and press F1 at the first screen. Then choose "Rescue System" from the menu.

At the prompt type:

# root

*note* - You do NOT need a password.

edit the "passwd" file

At the next prompt, enter:

# cd /etc

# vi passwd

Last Updated on Monday, 14 July 2008 17:44
 
Useful SED Oneliners Print E-mail
Written by Peter   

Here are some very useful sed one liners, mostly stolen from somewhere.... enjoy!

FILE SPACING:

# double space a file

sed G

# triple space a file

sed 'G;G'

# undo double-spacing (assumes even-numbered lines are always blank)

sed 'n;d'

Last Updated on Sunday, 24 January 2010 09:40
 
Automate Chkdsk and Defrag on WinXP machines PDF Print E-mail
Written by Administrator   

logo_windows.gifWe've developed a batch file that can save you some time by automatically running Chkdsk and Defrag on your Windows XP machines. First, it does a read-only Chkdsk. If Chkdsk sets the errorlevel to 3, meaning that it found errors and needs to be run with the /F (fix) option, the file checks to see whether the systemroot or pagefile exist on the drive. If so, it runs Chkdsk the next time the system is rebooted. If systemroot or pagefile don't exist on the drive, it runs a Chkdsk /F /R now, and then it runs a Defrag -b and a regular Defrag. (The -b switch is an undocumented switch that optimizes the drive for boot.)

 

Last Updated on Sunday, 24 January 2010 01:14
 
Altering the Windows registration information PDF Print E-mail
Written by Kerry   

logo_windows.gifWhen you install Windows XP, the installation procedure prompts you to enter your user name and a company name. Then, this information displays on the General tab of the System Properties dialog box under the Registered To heading. Unfortunately, Windows XP doesn't provide you with a tool for changing this registration information. However, you can alter the registration information by editing the registry. Follow these seven steps to alter the information:

Last Updated on Thursday, 17 July 2008 13:52
 
Howto to lower the "nice" level of a user PDF Print E-mail
Written by Administrator   

aix.jpgThe nice command lets you run a command at a priority lower than the command's normal priority.  The nice value can range from 0 to 39, with 39 being the lowest priority.  For example, if a command normally runs at a priority of 20, specifying an increment of 5 runs the command at a lower priority, 25, and the command runs slower. 

A standard user usually has a nice level of 20 so you are able to reduce the nice level of a user from 20 to 39 (0 to -19).  Edit the /etc/passwd file entry for the user, and run the users shell program at a lower nice level.

Last Updated on Sunday, 24 January 2010 01:04
 
Configuring the grub boot loader PDF Print E-mail
Written by gerryh   
suse_geeko.jpgAssuming you already have grub installed on your system and /boot is part of your root filesystem you would use the following steps to configure yoursystem to boot using grub.

Execute "grub" to drop into the grub shell and use the following commands to setup grub on the Master boot record (first disk of the system):

Set the root partition (first disk, first partition):

grub> root (hd0,0)

Install the boot record on the MBR:

Last Updated on Monday, 14 July 2008 17:45
 
<< Start < Prev 1 2 3 Next > End >>

Page 1 of 3
SoluFlex

Login Form



Who's Online

We have 6 guests online

Statistics

Members : 136
Content : 37
Web Links : 6
Content View Hits : 28607