Gracefully Restart Nginx Web Server After Changes Made In a Config...
I know how to gracefully restart Apache web server under Unix like operating system. I made changes to nginx.conf. How do I gracefully restart Nginx web server? How do I make changes in a Nginx server...
View ArticleBash Shell: Find Out If a Variable Is Empty Or NotFrequently Asked Questions...
My shell script depends upon user input. How do I find out if a variable called $_JAIL path is empty under Linux / Apple OS X / Unix like operating systems?Read answer to: "Bash Shell: Find Out If a...
View ArticleOpenBSD / FreeBSD / NetBSD: PF Firewall List RulesFrequently Asked Questions...
I can use iptables -L -n command with Linux operating system to list the current firewall rules. How do I list all the current firewall rules under OpenBSD / FreeBSD / NetBSD operating systems? How can...
View ArticleLinux: At What Time Cron Entries In cron.daily, cron.weekly, cron.monthly...
I have followed this cron setup tutorial. I am using Red Hat Enterprise Linux server 6 on Dell poweredge server. I would like to know when does entires in /etc/cron.daily, /etc/cron.weekly,...
View ArticleOpenBSD: Boot / Install Using PXE (Preboot Execution Environment)Frequently...
How do I boot and Install OpenBSD operating system using Preboot Execution Environment (PXE)? Do I need to use an existing OpenBSD host to install OpenBSD using PXE?Read answer to: "OpenBSD: Boot /...
View ArticleDebian / Ubuntu: Console Based Network Load MonitorFrequently Asked Questions...
I am looking for a generic network load monitor that will work over the remote ssh session. Nothing fancy. All I need is current device statistics together with a nice graph. How do I monitor network...
View ArticleCentOS / RHEL: Install ipset Administration Tool For IP Sets and...
How do I install the ipset extension to Netfilter/iptables on Red Hat Enterprise Linux / CentOS Linux v6.x?Read answer to: "CentOS / RHEL: Install ipset Administration Tool For IP Sets and IPTables"
View Articlecurl: If-Modified-Since Command Linux / Unix ExampleFrequently Asked...
HTTP protocol allows a client to specify a time condition for the document it requests. It is If-Modified-Since or If-Unmodified-Since. How do I use curl Unix/Linux command line option to test a server...
View ArticleBash Script: Find Out In What Directory Script Is Stored Under Unix Or...
How can I find out the path of the directory in which my bash shell script is located and store that path in _base variable?Read answer to: "Bash Script: Find Out In What Directory Script Is Stored...
View ArticleDownload Samba 4: Active Directory Compatible ServernixCraft: Linux Tips,...
Samba is a free software re-implementation of the SMB/CIFS networking protocol. Samba version 4 has been released. It is a major rewrite that enables Samba to be an Active Directory domain controller....
View Article15 Greatest Open Source Terminal Applications Of 2012nixCraft: Linux Tips,...
Linux on the desktop is making great progress. However, the real beauty of Linux and Unix like operating system lies beneath the surface at the command prompt. nixCraft picks his best open source...
View ArticleSed: Find and Replace The Whole Line [ Regex ]Frequently Asked Questions...
I have a line as follows in squid.conf file. My sever is hosted in a cloud: acl verizonfios src 1.2.3.4 My ISP will force an IP address change every week or two. I would like to replace them with a new...
View ArticleDebian / Ubuntu Python: Set Planet Venus To Combine Two Or More RSS...
How do I setup "Planet Venus" under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together into a single combined feed?Read answer to: "Debian...
View ArticleHowTo: Bash Shell Split String Into ArrayFrequently Asked Questions About...
How do I split string based on delimiter into array under Bash shell?Read answer to: "HowTo: Bash Shell Split String Into Array"
View ArticleHowTo: Bash Extract Filename And Extension In Unix / LinuxFrequently Asked...
I have setup a shell variable called dest="/nas100/backups/servers/z/zebra/mysql.tgz". How do I find out filename (mysql.tgz) and extension (.tgz) in bash program running under Linux or Unix operating...
View ArticleLinux / Unix: Test Internet Connection Speed From Console Over SSH Command...
I have recently rented a dedicated server for my hobby projects and learning CentOS Linux server. I was informed that I am connected to the 100M/s port. How do I test my Internet connection download...
View ArticleDebian / Ubuntu Linux: Install Cherokee Web ServerFrequently Asked Questions...
Cherokee is an open-source Cross-platform Web server. How do I install Cherokee web server under Debian or Ubuntu Linux operating system?Read answer to: "Debian / Ubuntu Linux: Install Cherokee Web...
View ArticleDebian / Ubuntu Linux: Install Cherokee Web ServerFrequently Asked Questions...
Cherokee is an open-source Cross-platform Web server. How do I install Cherokee web server under Debian or Ubuntu Linux operating system?Read answer to: "Debian / Ubuntu Linux: Install Cherokee Web...
View ArticleRHEL / CentOS Linux: Nginx Chroot Jail Start / Stop / Restart Shell...
A simple shell script to start / stop / restart chrooted nginx web server under CentOS / RHEL Linux. You must have Nginx web server setup in a chroot (jail) so that you can minimizes the damage done by...
View ArticleLinux Security: Mount /tmp With nodev, nosuid, and noexec OptionsFrequently...
How do I mount /tmp with nodev, nosuid, and noexec options to increase the security of my Linux based web server? How can I add nodev, nosuid, and noexec options to /dev/shm under Linux operating...
View Article