Posts

Showing posts from 2013

A collection of "find" command examples for Unix/Linux

<<<<<<<The find command is used to locate files on a Unix or Linux system.It can search the entire filesystem to find files and directories according to the search criteria you specify. Besides using the find command to locate files, you can also execute other Linux commands (grep, mv, rm, etc.) on the files and directories you find, which makes find extremely powerful.>>>>>>> 1. find / -name xyz This will search the whole system for any files named xyz and display their  path names.Here we are using the criterion -name w ith the argument xyz to  tell find   to perform a name search for  the file name xyz .   2. find /tmp /var/tmp . $HOME -name xyz You can specify as many places to search as you wish. 3. find / -type f -mtime -7 | xargs tar -rf weekly_incremental.tar           ...

Aix: Device configuration list in Aix

lsdev - Cc adapter To check installed adapter list lsdev - Cc disk To check installed hard disk list lsdev - Cc processor To check installed processor list lsdev - Cc if To check installed network port list lsdev - Cc cdrom To check installed optical drive list lsdev - Cl cd0 - F parent To check installed cdrom type lsdev - Cl sata0 -F parent To check installed behind sata0 adapter lsdev - Cc cdrom - F “name physloc” To check physical location of cdrom lsdev - P -H To check Predefined Device object lsdev - C To check Customized Dvice object lsdev - Cc adapter - S a To list the adapters that are in the Available state in the Customized Devices object class lsdev - P - c tape To list all of the tape devices in the Predefined Devices object class lsdev - p pci0 To list all of the children of the pci0 bus lsdev - Cc ...

Aix: Nim server configuration in aix

  <<<<<<<<<<<<<<<<<<<<<Contents>>>>>>>>>>>>>>>>>>> 1.         Introduction. 2.         Create Volume Group, loglv, and filesystem for NIM resources. 3.         Generate a copy of Aix media in directory. 4.         Install the nim master file set. 5.         Configuring the NIM master and creating basic installation resources from              the command line. 6.         Configure the clients. 7.         Allocate nim resource to the clients. 8.         Boot the LPAR Client from network. 1. <<<<<<<<Introduction>>>>>>>>> In an environment with  AIX systems, in...

Aix: Step by step the configuration of LVM in aix

In this blog, I am showing you step by step the configuration of  LVM 1. How to configure Physical Volume. 2. How to configure Volume Group. 3. How to configure Logical Volumes 4. How to configure File system. 1<<<<<<<Physical Volume>>>>>>>> a)   display                      lspv lspv <pv>           (detailed) lspv -l <pv>        (list logical volumes) lspv -p <pv>       (physical partition usage)  b)  PVID  chdev -l <pv> -a pv=yes chdev -l <pv> -a pv=clear Note: PVID's are automatically added when the disk is placed into a vg   c) adding chdev -l <pv> -a pv=yes    (new) chpv -v a <pv> ...