How 2 Know
If you can't Google it, You Can Knowing it.

How to sync users and password between hosts on hacmp

February 23rd, 2014

AIX has a wonderful method to synchronize the users and their passwords or any files you need to sync them between HACMP Nodes.

there is a command call “rdist”, this command used to transfer files between hosts and make them synced.

Continue Reading…

uncompress files using jar command

February 23rd, 2014

you can uncompressed zipping files using java, specially “jar” command:

 

to do that , try the following :

 

/usr/java6/bin/jar -xvf /tmp/test.zip

run levels description

December 21st, 2013

The Following points shows the meaning of each run level :

  • on LINUX-UBUTNU/DEBIAN:

0 – halt
1 – single user
2 – multiuser (default)
3 – same as 2
4 – same as 2
5 – same as 2
6 – reboot Continue Reading…

how to know current run level

December 21st, 2013

run the following command to know your current run level:


# who -r
         run-level 2  2013-12-20 00:39

how to know your operating system release

December 21st, 2013

if you want to get your operating system relase you have 2 ways to do that:

First: you can run the following command:

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 13.04
Release:	13.04
Codename:	raring

Continue Reading…

how to log ftp commands

October 22nd, 2013

if you need to see FTP users log, and what they do on your system, just do the following commands ( this article doesn’t useful for past commands, it will be useful to get commands in the future after you do these steps):

Continue Reading…

how to know the Major Number for Specific Volume Group

October 21st, 2013

to list the Major number for Specific Volume Group, use the following Command :
“lvgenmajor VOLUME_GROUP_NAME”

for example :

# lvgenmajor rootvg
10

and the following link show how to display the available Major Numbers:

Continue Reading…

how to list file system inside specific volume group

October 21st, 2013

You can use command ‘lsvgfs’ to list all file systems inside specific volume group like the following example:

# lsvgfs rootvg
/
/usr
/var
/tmp
/home
/opt
/admin
/var/adm/ras/livedump
/oracle_osb
/u01/app/oracle
/u02/oradata
/iso_image
/TestFs

how to mirror 2 terminals

October 10th, 2013

Hello Everone,

do you think about terminal mirroring ??

do you think about how to know what the other users write on Shells???

AIX has a great commands you can use it for mirroring to see what others write or if you want to teach multi students and they can see on your terminal.

Continue Reading…