http://www.ehow.com/how_7738270_tutorial-aix-unix.html
Instructions
-
Beginning Basics
- 1
Log on as a user and change your password.
On the operating system (OS) prompt, which is "%" for C shell, type the following command:
%kpasswd
This will prompt you for the old password (given by your system administrator), new password and reconfirmation of your new password.
Now your AIX session has begun, and you are in the shell. You can type commands on the shell prompt: "%."
Note: "kpasswd" is for AIX's Kerberos Security System and corresponds to the standard UNIX command "passwd."
- 2
Execute the following command at the shell (OS) prompt:
% ls -al
It should show the current directory listing on the screen. Commands are either system programs or built-in shell functions. AIX is case-sensitive. Basic shell command syntax looks like this:
% command [ argument1 argument2 argument3 .... ]
Arguments (parameters) are inputs directing the behavior of the command in the form of options, keywords, file names, sizes, etc. Options are indicated with a "-" (dash) sign preceding the option letter. Multiple options can be combined on a single "-" sign.
Run the ls command again, with the two options given separately this time:
%ls -a -l
The output should be exactly the same as when the two options were combined.
'-l' tells ls to output a detailed list for files and directories and '-a' indicates that all files, including the hidden files, should be displayed.
-
- Open & Download Zip Files
Most Popular Compression Utility for Windows. Official Site Download
http://googleads.g.doubleclick.net/aclk?sa=L&ai=BDqvpJLnFT-OAPMLNigedi4idA5SjnssDxNan8iHAjbcBsOoBEAEYASCpia0GOABQrc2MmP7_____AWCdwd6B2AWyAQx3d3cuZWhvdy5jb23IAQHaATZodHRwOi8vd3d3LmVob3cuY29tL2hvd183NzM4MjcwX3R1dG9yaWFsLWFpeC11bml4Lmh0bWzIAozk8RaoAwH1AwAEAIb1AwAAABA&num=1&sig=AOD64_1FILbGbQJSeHSeFcuxGZPZnk9xIg&client=ca-ehow_300x250&adurl=http://track.did-it.com/n%3Flid%3D81585436%26tid%3D44a03b33dd424%26eng_creative%3D9005400588%26eng_keyword%3Dzip%2520rar%2520files%26eng_placement%3Dwww.ehow.com%26url%3Dhttp://www.winzip.com/index.htm%3Fsc_cid%3Dgo_en_nb_cont_rar_files%26LID%3D81585436
- Open & Download Zip Files
- 3
Run the "man" command with a command name as an argument to learn about that command.
"% man grep" will provide a manual page for the "grep" utility explaining each optional argument.
- 4
Use the "more" utility program to prevent output from scrolling off the screen:
% ls -al | more
Here, the output of 'ls' is sent to a "pipe" through the "|" sign, through which it is redirected as input to the "more" utility. "More" breaks it into pages and displays one page at a time.
Press any key to see the next page of output.
Try this:
% man ls | more
- 5
Run "cat" to display the contents of a file:
% cat <filename> [ | more ]
Execute "tail" to display the last few lines of a file. Type:
% tail <filename> -<n - number of lines>
where n indicates last n lines. If -n is omitted, it will display the last 10 lines.
- 6
Observe the output of "ls -al | more." You will find some files beginning with a "." All files whose names begin with a dot are hidden. Simply running "ls" will not show them. These are the .login, .profile and .cshrc (for C shell) files. The .login file holds operating system-specific information for the user. Among other things, it specifies terminal characteristics, your search path, mappings of actions to keystrokes and other environment variable settings. An example:
set path = (/usr/ucb /bin /usr/bin /etc /usr/local . )
This will set your environment variable "path" to the above each time you log in.
- 7
Run the following:
% cat .login | more
% cat .cshrc | more
The .cshrc is executed every time you enter the C shell. Your chosen default shell is also specified at login.
Working with Files and Directory
- 8
Execute the following file operations:
% cp [<path1>/]file1 [<path2>/]file2 # to copy a file as another
% mv [<path1>/]file1 [<path2>/]file2 # to rename a file
% mv file1, file2, file3 ... <destination directory> # to move one or more files as another
% rm <filename> # to delete a file permanently
% pg <filename> # to display contents of a file page by page. Press any key to read the
# next page.
The "pg" (page) program gives the effect of "cat <filename> | more." Words following a "#" on a line are treated as comments and not executed. Run the man command on each of the commands above to learn about the various combinations of optional arguments.
- 9
Run "pwd" to print a working directory.
The output can look like this:
/u/devreportgroup/tara
At login, you are in the home directory, which is defined by setting the environment variable "HOME." It holds all your hidden startup files that set up your environment.
- 10
Create a new subdirectory:
% mkdir ./workfiles
% mkdir ./mysource
% mkdir workfiles/lib
A "." in the path indicates the current directory. A relative path looks like this:
http://www.cnblogs.com/bin
It says go up one level for each "../" in the code. Here, go up two directory levels and to the bin subdirectory at that level.
- 11
Change your directory:
% cd ./workspace/lib
- 12
Remove subdirectory mysource using "rmdir." Type:
% rmdir ./mysource or % rmdir mysource or % rmdir %HOME%/mysource
- 13
Change the mode (access permission) of a file or directory. Type:
% chmod < user/group/all/others - for whom > < +/- grant / remove > <r w x - access type> <file or directory name>
The u = user, g = group, a = all, o = others.
An example:
% chmod g+rw myfile (grant read/write access for myfile to the entire group to which this user belongs).
% chmod o-x legacypgm (remove execute access to legacyprogram from others who are not in this user's group).
- 1
- Version Database Objectshttp://googleads.g.doubleclick.net/aclk?sa=L&ai=BR3uxJLnFT82bGMXbigflrJH6AuyI6a8C1OSFwirAjbcB8IQOEAEYASDj8ZsCKAQ4AFC9gYbX_P____8BYJ3B3oHYBbIBDHd3dy5laG93LmNvbboBCjMzNngyODBfanPIAQHaATZodHRwOi8vd3d3LmVob3cuY29tL2hvd183NzM4MjcwX3R1dG9yaWFsLWFpeC11bml4Lmh0bWyoAwH1AwAEAIb1AwAAABA&num=1&sig=AOD64_1hBPWTrHEsYj9J9uhhAm2b8uxIjA&client=ca-ehow_336x280&adurl=http://www.dbvsys.com
DBVS versions database objects and deploys SQL. Get it free now!
- Root Cause softwarehttp://googleads.g.doubleclick.net/aclk?sa=L&ai=BvNoGJLnFT82bGMXbigflrJH6ArCF6P0C-P3Ln0XAjbcBsNsGEAIYAiDj8ZsCKAQ4AFCA68aAB2Cdwd6B2AWyAQx3d3cuZWhvdy5jb226AQozMzZ4MjgwX2pzyAEB2gE2aHR0cDovL3d3dy5laG93LmNvbS9ob3dfNzczODI3MF90dXRvcmlhbC1haXgtdW5peC5odG1sqQKV3_hKP-m0PqgDAfUDAAQAhvUDAAAAEA&num=2&sig=AOD64_3XGkpwAJLmOr_yhI3ZTvPxVZp2-w&client=ca-ehow_336x280&adurl=http://cgerisk.com/solutions/cge/investigator-3
Incident analysis software using Root Cause with Investigator 3
- Lease a AIX 7 WPARhttp://googleads.g.doubleclick.net/aclk?sa=L&ai=BW-aSJLnFT82bGMXbigflrJH6AuSp8r0B3MPjoTTAjbcB8JMJEAMYAyDj8ZsCKAQ4AFCm5euX______8BYJ3B3oHYBbIBDHd3dy5laG93LmNvbboBCjMzNngyODBfanPIAQHaATZodHRwOi8vd3d3LmVob3cuY29tL2hvd183NzM4MjcwX3R1dG9yaWFsLWFpeC11bml4Lmh0bWyAAgGpApXf-Eo_6bQ-yAK048ExqAMB9QMABACG9QMAAAAQ&num=3&sig=AOD64_1buX0hJ4rZ1V6JTb3ZGl0Dnz33eg&client=ca-ehow_336x280&adurl=http://www.wpar4you.com
Your own AIX 7 environment Lease a WPAR for 1-3-6-12 months
- Very Fast Cluster Storagescalableinformatics.com/sicluster
Capacity from TB thru PB+ with Lustre, GlusterFS, FhGFS, etc.
Read more: A Tutorial for AIX on Unix | eHow.com http://www.ehow.com/how_7738270_tutorial-aix-unix.html#ixzz1wKZvT9WA
References
Resources
- IBM: Certification Study Guide: pSeries AIX System Administration
- "The UNIX C Shell Field Guide"; Gail Anderson and Paul Anderson; 1999
Read more: A Tutorial for AIX on Unix | eHow.com http://www.ehow.com/how_7738270_tutorial-aix-unix.html#ixzz1wKa6qUXJ