Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Browsing all 2612 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Bash 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 Article


Image may be NSFW.
Clik here to view.

OpenBSD / 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 Article

Image may be NSFW.
Clik here to view.

Linux: 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 Article

Image may be NSFW.
Clik here to view.

OpenBSD: 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 Article


Image may be NSFW.
Clik here to view.

Debian / 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 Article

Image may be NSFW.
Clik here to view.

CentOS / 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 Article

Image may be NSFW.
Clik here to view.

curl: 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 Article


Image may be NSFW.
Clik here to view.

Bash 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 Article


Image may be NSFW.
Clik here to view.

Download 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 Article

Image may be NSFW.
Clik here to view.

15 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 Article

Image may be NSFW.
Clik here to view.

Sed: 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 Article

Image may be NSFW.
Clik here to view.

Debian / 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 Article


Image may be NSFW.
Clik here to view.

HowTo: 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 Article

Image may be NSFW.
Clik here to view.

HowTo: 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 Article


Image may be NSFW.
Clik here to view.

Linux / 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 Article

Image may be NSFW.
Clik here to view.

Debian / 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 Article


Image may be NSFW.
Clik here to view.

Debian / 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 Article

RHEL / 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 Article

Image may be NSFW.
Clik here to view.

Linux 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
Browsing all 2612 articles
Browse latest View live