≡ Menu

grep command

Debian Linux Configure Wireless Networking With WPA2

I‘ve Atheros AR5001 wifi a/b/g card detected and supported natively under Linux. How do I configure my wireless card with WPA2 networking using /etc/network/interfaces file?
[click to continue…]

Sysadmin because even developers need heroes!!!

Debian / Ubuntu Linux: Install KornShell (KSH)

I am porting ksh script from Sun/Oracle Unix to Debian / Ubuntu Linux based server hosted on AWS cloud. How do I install ksh (KornShell) in Debian or Ubuntu Linux server? How do I run and test ksh scripts?
[click to continue…]

HowTo: Linux Mount devpts File System On /dev/pts

How do I mount the devpts file system under Linux operating systems using bash command prompt? How can I mount the devpts on /dev/pts using /etc/fstab file under Linux operating systems?
[click to continue…]

Linux: Find Out Which Process Is Listening Upon a Port

How do I find out running processes were associated with each open port? How do I find out what process has open tcp port 111 or udp port 7000 under Linux?
[click to continue…]

UNIX / Linux: awk Add Two Numbers

How do I add two numbers using awk? How do I calculate all incoming number stream on fly and display the total using awk?
[click to continue…]

Grep From Files and Display the File Name

How do I grep from a number of files and display the file name only?
[click to continue…]

HowTo: UNIX / Linux Open TCP / UDP Ports

How do I open the TCP or UDP ports under UNIX / Linux like operating systems?
[click to continue…]

Linux Syslogd: Nothing Gets Logged Using /dev/log And /jail/apache/dev/log

I‘ve configured my Apache in chrooted jail at /jail/apache directory. However, my syslogd is not working and nothing gets logged using /dev/log and /jail/apache/dev/log. How do I fix this problem under CentOS 5.x AMD64 with SELinux?
[click to continue…]

Linux: Find Out If CPU Support Intel VT and AMD-V Virtualization Support

How do I find out if my system support Intel – VT / AMD -V hardware virtualization extensions for host CPU using the command line options? How do I check if my Linux hardware from HP/IBM/Dell supports virtualization?
[click to continue…]

Ubuntu: Mount Encrypted Home Directory (~/.private) From an Ubuntu Live CD

Recently my old desktop system crashed and I brought a new Ubuntu Laptop from Dell. To access my data from old hdd; I’ve attached my desktop harddisk using an external USB case. Now my old data is stored using external USB hard disk. How do I recover data from encrypted ~/.private home directory using an Ubuntu Live CD and copy it to existing laptop drive using known passphrase?
[click to continue…]