Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …
Read the full story »
Resetting Local Administrator/User Passwords on Windows NT/2000/XP/2003
The following document explains how to change an unknown password for any local account (including Administrator) on a Windows NT/2000/XP/2003 system. Use this only for disaster recovery purposes.
Requirements:
1.Physical access …
awk/nawk [options] file scan for patterns in a file and process the results
cat [options] file concatenate (list) a file
cd [directory] change directory
chgrp [options] group file change the group of the file
chmod [options] file change file …
to move /opt on new partition (disk or file system)
1) from system prompt: format –> partition –> label
2) newfs -v /dev/dsk/c0t1d0s1 (target location)
3) mkdir /new_dir
4) mount /dev/dsk/c0t1d0s1 /new_dir
5) cd /new_dir
6) ufsdump 0f – /opt | …
In this example we use the tar command to copy the contents of the /export/home directory to /temphome. This particular syntax forgoes the creation of an actual tarball file. This can be useful if you …
Instructions for adding swap space on the fly for a Solaris system. Adding swap space via a swap file degrades system perfomance. However, this is a useful method for quickly adding swap space without interrupting …
Here is a quick example showing how to count users logged in on a particular date using the “last” command on Linux.
Display a file’s modification, last access and other attributes on Solaris.
enable “Rename hard links”
disable “Rename soft links”
if root of destination drive is mounted as /destination/ then select “Restore to alternate path: from / to /destination/ , Restore search path
This is the alternate path for everything: …
The Unix tar command creates an archive of files and directories while preserving directory structure, file permissions and ownership information. This command is ideally suited for creating backups of most types of data. Many open-source …
A sample process for moving a user to a new primary home group on Solaris.
How to determine if your installation of Solaris supports 64-bit applications.
In our example we were requested to archive a 741 mb directory to CD. The source data resided on a Unix data server.
A basic command to copy directory structure and contents using cpio.
All The Reasons Pot Is Good For You
AP/Damian Dovarganes
Colorado and Washington both passed legislation that legalizes the recreational use of marijuana on Tuesday.
While recreational marijuana is controversial, many people believe that the drug should be legal, especially …
A simple example of creating a gzip-compressed tar archive of the current directory.
The following is a collection of examples using fsck command. It is important to unmount VXFS before running fsck on Veritas filesystem.
The following is an example of using rsync to perform a irectory copy between two hosts over the network.
Before beginning Oracle REinstall, make sure to remove the /var/opt/oracle/oraInst.loc file created by /tmp/orainstRoot.sh script during prior installation.
Was this article helpful for you? Do you have any feedback? click this to get in contact with …
Latest Comments