≡ Menu

hp ux

Shutdown UNIX Command

How do I shutdown or poweroff a UNIX computer system from a shell prompt?
[click to continue…]

How to: HP-UX UNIX Backup and Recover Data to Tape Device

Q. One of my responsibilities is backing up UNIX server. How do I backup data under HP-UX UNIX? How do I use mt, fbackup and frecover commands to perform full and incremental backups?
[click to continue…]

HP-UX UNIX Configure an NTP Server

Q. How do I configure an NTP (network time protocol) Server under HP-UX UNIX server as my applications rely on the system clock accuracy to get current time / run reports?
[click to continue…]

HP-UX UNIX: Start / Stop and Configure Cron Services

Q. I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
[click to continue…]

How To Write First UNIX Korn Shell Script Program

Can you tell me how to write a UNIX korn shell script program? I'm new to UNIX scripting and HP-UX UNIX operating system.
[click to continue…]

KSH Send Email Attachments Using a Scripts

How do I send an email attachment via KSH shell script under UNIX operating systems?
[click to continue…]

HP-UX: Find Out If Recommend Security Patch Applied Or Not

How do I compare the HP-UX UNIX system output with the most current vendor recommended and security patches?
[click to continue…]

HP-UX start or stop / restart OpenSSH SSHD service

Q. I’ve HP-UX installed on my HP UX UNIX server. But I’m not able to start or restart the OpenSSH ssh server. How do I stop or restart sshd under HP-UX?
A. HP-UX Secure Shell uses Pluggable Authentication Module for password authentication. Server configuration file is located at /opt/ssh/etc/sshd_config.

HP-UX SSHD System Startup and Shutdown script:

/sbin/init.d/secsh {start|stop}

System startup configuration file


Stop HP UX SSH Service

Type the command:
# /sbin/init.d/secsh stop

Start HP UX SSH Service

Type the command:
# /sbin/init.d/secsh start

Backup Home Directories in Linux

Q. I would like to Backup all directories in /home to /dev/st0 tape drive. How do I use script to automate task and what commands do I need to use?
[click to continue…]

Difference Between Linux and UNIX

What is the difference between Linux and UNIX operating systems?
[click to continue…]