Archives Posts
August 5th, 2007 by elizar
The find command is the most useful command on a UNIX box. System administrators use this powerful utility frequently.
Presented here, ladies and gentlemen, are the most commonly used ‘find’ options.
(Let’s add more as time goes on, alright?)
Find a file or directory
# find . -name TEMP -print
or
# find . -name TEMP -exec echo {} \;
Find core files in this directory tree and remove them
# find . -name “core” -exec rm -f {} \;
Find junk directories and remove their contents recursively
# find . -name “junk” -exec rm -rf {} \;
Read the rest of this entry »
Archives Posts
August 4th, 2007 by elizar
Here is the scenario all you SysAds out there… You accidentally initiated an abort sequence in one of your Solaris (sparc) box. As a consequence, your SPARC-based SYSTEM WENT INTO THE prom MODE. You need to disable the default keyboard abort sequence.
The default keyboard abort sequence on a Solaris system is sent with the L1-A or STOP-A keys pressed together on an attached Sun keyboard, or the BREAK signal on the serial console.
Inserting or unplugging a keyboard on a running Sun system will also send an abort sequence, effectively dropping you to the Open Boot Prompt (”ok” prompt).
To disable the keyboard abort sequence for the current session:
kbd -a disable
To disable the keyboard abort sequence for future sessions (i.e. after a system reboot), change the following in /etc/default/keyboard.
From:
#KEYBOARD_ABORT=disable
To:
KEYBOARD_ABORT=enable
And you’re done.
Archives Posts
August 4th, 2007 by elizar
Unlike Windows, you know that it is from Microsoft and is only one. Unix, however is not a single operating system. It has many flavors (aka. variants, types, or implementations). Although based on a core set of Unix commands, different flavors have their own unique commands and features, and designed to work with different types of hardware.
The following are some of the well-known Unix flavors. By no means this is complete. No one knows exactly how many variants UNIX has, but is surely in the hundreds, including the obsolete ones.
AIX by IBM
BSD/OS (BSDi) by Wind River
CLIX by Intergraph Corp.
Debian GNU/Linux by Software in the Public Interest, Inc.
Tru64 Unix (formerly Digital Unix) by Compaq Computer Corp.
DYNIX/ptx by IBM (formerly by Sequent Computer Systems)
Esix Unix Esix Systems
FreeBSD by FreeBSD Group
GNU Herd by GNU Organization
HAL SPARC64/OS by HAL Computer Systems, Inc.
HP-UX by Hewlett-Packard Company
Irix by Silicon Graphics, Inc.
Linux by several groups several
LynxOS by Lynx Real-Time Systems, Inc.
MacOS X Server by Apple Computer, Inc.
NetBSD by NetBSD Group
NonStop-UX by Compaq Computer Corporation
OpenBSD by OpenBSD Group
OpenLinux by Caldera Systems, Inc.
Openstep by Apple Computer, Inc.
Red Hat Linux by Red Hat Software, Inc.
Reliant Unix by Siemens AG
SCO Unix by The Santa Cruz Operation Inc.
Solaris by Sun Microsystems
SuSE by S.u.S.E., Inc.
UNICOS by Silicon Graphics, Inc.
UTS by UTS Global, LLC
Archives Posts
August 4th, 2007 by elizar
Welcome to SysAdminDayPH blog.
Everyone is welcome here! Whether you’re involved in IT, System administration, a student of IT or just interested in everything IT.
Enjoy your stay!