Reconfiguring FreeBSD Ports – Remove OPTIONS config For Any Port
While building Apache port I was presented with a menu from which I selected certain build options. However, certain option giving out error as follows: ===> apache-2.2.8 mod_mem_cache requires...
View ArticleUNIX / Linux Find File Owner Name
Q. How do I find out the name of file / directory owner under UNIX / Linux operating systems? A. You can use ls -l command (list information about the FILEs) to find our the file / directory owner and...
View ArticleHow To Extract a Single File / Directory from Tarball Archive
How do I extract a single file or directory form a tarball under UNIX / Linux shell prompt? How do I restore a single file from /dev/st0 tape device?Read answer to: "How To Extract a Single File /...
View ArticleFreeBSD: pkg_version: corrupted record (pkgdep line without argument), ignoring
I'm using portmaster to manage my ports without external databases. However, when I run the try to run pkg_version -l 'Read answer to: "FreeBSD: pkg_version: corrupted record (pkgdep line without...
View ArticleUNIX / Linux: Find All Empty Files
How do I find out all empty file under Linux and UNIX operating systems?Read answer to: "UNIX / Linux: Find All Empty Files"
View ArticleKsh Read a File Line By Line ( UNIX Scripting )
How do I read a file line by line using KSH shell scripting under UNIX like operating systems?Read answer to: "Ksh Read a File Line By Line ( UNIX Scripting )"
View ArticleLinux iptables: Port Redirection Example
How do I redirect 80 port to 8123 using iptables?Read answer to: "Linux iptables: Port Redirection Example"
View ArticleLinux/UNIX: Configure OpenSSH To Listen On an IPv6 Address
How do I enable OpenSSH SSH server to listen on an IPv6 address under Linux or UNIX operating systems?Read answer to: "Linux/UNIX: Configure OpenSSH To Listen On an IPv6 Address"
View ArticleTruncate Large Text File in UNIX / Linux
How do I truncate or shrink large text file under UNIX / Linux operating systems?Read answer to: "Truncate Large Text File in UNIX / Linux"
View ArticleLinux Date Command: Convert Named Stats Dump Date
The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following...
View ArticleLinux / UNIX: Convert Epoch Seconds To the Current Time
How do I convert Epoch seconds to the current time under UNIX or Linux operating systems?Read answer to: "Linux / UNIX: Convert Epoch Seconds To the Current Time"
View ArticleHowTo: OpenBSD Mount an NTFS File System
I'm dual booting my Windows XP system with OpenBSD. How do I mount an NTFS file system under OpenBSD operating systems?Read answer to: "HowTo: OpenBSD Mount an NTFS File System"
View ArticleOpenBSD: Setup a Serial Console
How do I enable console redirection under OpenBSD so that I can see my remote server boot information and any diagnostic information that is normally printed to the screen? I've already enabled serial...
View ArticleDebian Linux Delete Directory Command
I am new to Debian Linux and bash shell command line. How do I delete or remove a directory using bash prompt?Read answer to: "Debian Linux Delete Directory Command"
View ArticleTruncate: UNIX Binary Log File
How do I truncate a UNIX binary log file using command line options?Read answer to: "Truncate: UNIX Binary Log File"
View ArticleLinux / UNIX: Speed up SSH X11 Forwarding
I've an CentOS based server and Ubuntu based desktop pc. I'm connecting to my CentOS using ssh X11 forwarding feature. However, speed over the Internet is pretty slow for certain apps such as VMWare...
View ArticleLinux / UNIX: Kill User Session
How do I kill all users session under Linux or UNIX operating system using command prompt?Read answer to: "Linux / UNIX: Kill User Session"
View ArticleTCSH / CSH / C Shell Check Whether a Directory is Empty or Not
How do I check whether a directory is empty or not under Linux / UNIX using a TCSH / C shell script?Read answer to: "TCSH / CSH / C Shell Check Whether a Directory is Empty or Not"
View Articlerpmbuild: error: Installed (but unpackaged) file(s) found Solution
I'm trying to build a RHEL 6 rpm of nginx server. But, I get the following error:+ /usr/lib/rpm/brp-strip-comment-note Checking for unpackaged file(s): /usr/lib/rpm/check-files...
View ArticleLinux / Unix: Colored Man Pages With less Command
How do I see colored man pages with standard Unix or Linux less command without installing most paging program for Unix / Linux like oses?Read answer to: "Linux / Unix: Colored Man Pages With less...
View Article