viernes, 12 de junio de 2015

Test ports (applications) from command line UNIX

Commands to test applications (ports open)

Here you go three commands to test ports open. in this case im testing the port 80 of the site google.com


nc -v google.com 80

telnet google.com.mx 80


nmap google.com.mx -p 80




miércoles, 10 de junio de 2015

Start and stop services in AIX (SSH)




1.First check the status of the service (SSH) giving the below command
#lssrc -s sshd



2. Stop the service (SSH) by giving the below command

#stoptsrc -s sshd 

3. Start the service (SSH)
#startsrc -s sshd 

Note:
If you want to list all available services on the machine:

#lssrc -a 

For more information about the commands:
man