07-24-2008
Not knowing what you already know I would start to learn following things:
- get used to the shell and basic Unix commands like
ps, df, ls, cat, more, mount, ifconfig, netstat, rm, touch, find, date, etc.
- AIX has superb man pages with examples and also a good documentation ie. the IBM info center
- get used to smit(ty); btw with F6 or escape+6 you can always check what command smit is going to fire off behind the scenes
- text processing & shell scripting (ksh, grep, tr, sed, awk)
- LVM (lspv, lsvg, lslv, ...)
- what the ODM is and how you can query it etc.
- package management with smit or installp, lslpp, rpm, ...
- backups with mksysb
- read about virtualization (HMC, LPAR/DLPAR)
- NIM
- start reading about performance tuning (vmstat, sar, svmon, ...)
- how VMM works
- keep reading AIX forums to find interessting stuff
- also consult IBM red books
Most important is:
-> Try out everything you can without risking the production.
-> Always ask if you don't know or if you are unsure.
Last edited by zaxxon; 07-24-2008 at 02:57 AM..
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone tell me how I can simplify the script that follows!!!
I know that there must be a way how to
grep Average from sar01..................
sar02 .......................
sar03.......................
sar04... (3 Replies)
Discussion started by: JairGuerra
3 Replies
2. UNIX for Dummies Questions & Answers
Hi guys! I have a dummy question for u :p
I cant find a solution for these tascks...tried everything (i know :cool: ).
1 Issue the following command sleep 1000
Note that sleep 1000 waits 1000 seconds!!! You cannot do anything now!!!
2 Open another terminal window and enter the tty... (1 Reply)
Discussion started by: RomeO
1 Replies
3. Shell Programming and Scripting
As far as I know
Crontab is the utulity to schedule tasks to run at specific times.Is there any utility to perform the same task (4 Replies)
Discussion started by: tjay83
4 Replies
4. Homework & Coursework Questions
1. Write a shell program which renames the current directory with the given file extension to another extension. The playoffs are given on the command line.
Example usage:
$ Rename txt doc
will be renamed:
aaa.txt in aaa.doc
Juhutxt in Juhudoc
...
* To solve, you can also help with... (5 Replies)
Discussion started by: eclip
5 Replies
5. Shell Programming and Scripting
Hi, I have a question.
I have a file that I need to do two things to.
The first thing I need to do is turn a file with lines before and after a line with the term "Acceptance" into only the "Acceptance" line and every line thereafter. I am using this:
grep -A1000000 "Acceptance" Brown_DL... (2 Replies)
Discussion started by: mikey11415
2 Replies
6. Shell Programming and Scripting
I am in the process of updating a folder of hundreds of recipe html files. I've already managed to modify a number of things in each file but I have run into something that's beyond my ability.
I have a text file that I need to insert the contents into the html at a specific point. It creates... (0 Replies)
Discussion started by: Trapper
0 Replies
7. What is on Your Mind?
So the company I work for is interviewing for a senior engineer, DevOps position. I was requested to participate in the last interview. I realize, among many things, personality and group cohesiveness are a contributing factor when considering a new employee. With this in mind I only asked... (4 Replies)
Discussion started by: Circuits
4 Replies
LEARN ABOUT OPENDARWIN
catch
catch(n) Tcl Built-In Commands catch(n)
__________________________________________________________________________________________________________________________________________________
NAME
catch - Evaluate script and trap exceptional returns
SYNOPSIS
catch script ?varName?
_________________________________________________________________
DESCRIPTION
The catch command may be used to prevent errors from aborting command interpretation. Catch calls the Tcl interpreter recursively to exe-
cute script, and always returns without raising an error, regardless of any errors that might occur while executing script.
If script raises an error, catch will return a non-zero integer value corresponding to one of the exceptional return codes (see tcl.h for
the definitions of code values). If the varName argument is given, then the variable it names is set to the error message from interpret-
ing script.
If script does not raise an error, catch will return 0 (TCL_OK) and set the variable to the value returned from script.
Note that catch catches all exceptions, including those generated by break and continue as well as errors. The only errors that are not
caught are syntax errors found when the script is compiled. This is because the catch command only catches errors during runtime. When
the catch statement is compiled, the script is compiled as well and any syntax errors will generate a Tcl error.
EXAMPLES
The catch command may be used in an if to branch based on the success of a script.
if { [catch {open $someFile w} fid] } {
puts stderr "Could not open $someFile for writing
$fid"
exit 1
}
The catch command will not catch compiled syntax errors. The first time proc foo is called, the body will be compiled and a Tcl error will
be generated.
proc foo {} {
catch {expr {1 +- }}
}
SEE ALSO
error(n), break(n), continue(n)
KEYWORDS
catch, error
Tcl 8.0 catch(n)