≡ Menu

unix operating system

UNIX Shell: Find Out Real Path Of File or Directory

My programs and scripts needs a real path and not a a symbolic link. How to I determine a real path of any directory under Linux / UNIX like operating systems? How do I remove references to /./, /../ and extra ‘/’ character in path?
[click to continue…]

Sysadmin because even developers need heroes!!!

BSD PF Firewall: Displays Active Packetfilter States And Rules

Q. How do I view active connections with PF firewall under FreeBSD / OpenBSD UNIX operating system?
[click to continue…]

VI / Vim Print Line Numbers on Hardcopies / Printer

How do I print line numbers on the printer for my c / java / c++ code written using vi or vim text editor under Linux / UNIX like operating system?
[click to continue…]

How To Open .TBZ ( tar.bz2 ) File Under Linux / UNIX

Q. I’ve download ed .tbz file. How do I open .tbz file under Linux / UNIX operating system using a shell prompt or GUI application?
[click to continue…]

How To AIX UNIX Configure TCP/IP Networking ( NIC )

Q. How do I configuring TCP/IP and the network interface under AIX UNIX operating system?
[click to continue…]

Bash While Loop Example

How do I use bash while loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using while statement?
[click to continue…]

Solaris UNIX: Change Default Shell

How do I change default ksh shell to bash shell under Solaris / OpenSolaris UNIX operating system using command line options?
[click to continue…]

Understanding Routing Table

Q.What is a routing table? Can you explain its usage under Linux / UNIX operating system?
[click to continue…]

UNIX / Linux: Set your PATH Variable Using set or export Command

How do I add a new path to $PATH variable under Linux and UNIX like operating system? What is my path, and how do I set or modify it using csh/tcsh or bash/ksh/sh shell?
[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…]