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.

CentOS / RHEL: Install vnStat Network Traffic Monitor To Keep a Log Of Daily...

How do I install vnstat software - a console-based network traffic monitor under CentOS or RHEL or Fedora Linux operating system to keep a log of hourly, daily and monthly network traffic?Read answer...

View Article


Image may be NSFW.
Clik here to view.

CentOS / RHEL: View Vnstat Graphs Using PHP Web Interface Frontend

How do Install view vnstat - a network console output using my web-browser? How do I install vnstat php frontend on CentOS / RHEL / Fedora Linux based system?Read answer to: "CentOS / RHEL: View Vnstat...

View Article


Image may be NSFW.
Clik here to view.

HowTo: Linux Rename a RAID Array From md0 to md2

I am moving a raid array called /dev/md0 from serverA to serverB. On serverB /dev/md0 is already in use. How do I rename a RAID array from /dev/md0 to /dev/md2?Read answer to: "HowTo: Linux Rename a...

View Article

Image may be NSFW.
Clik here to view.

Unix / Linux: Bash Number Currency Formatting Thousands Grouping Separator

I have a number stored in a shell variable called x="240570.578". I would like to print $x as 2,40,570.57. How do I replace the number with their currency format under bash shell scripts?Read answer...

View Article

Image may be NSFW.
Clik here to view.

CentOS / RHEL 6: Install Suhosin PHP Advanced Protection System

Suhosin is an open source patch for PHP. How do I install suhosin under CentOS / Red Hat Enterprise Linux server running on my IBM server?Read answer to: "CentOS / RHEL 6: Install Suhosin PHP Advanced...

View Article


Image may be NSFW.
Clik here to view.

Awk Find And Replace Fields Values

I have a data as follows : foo bar 12,300.50 foo bar 2,300.50 abc xyz 1,22,300.50 How do I replace all , from 3rd field using awk and pass output to bc -l in the following format to get sum of all...

View Article

Image may be NSFW.
Clik here to view.

diff Command: Colorize Output On The Unix / Linux Command Line

The diff command compare files line by line and displays a list of changes between two file. You can use diff command to:See the changes between one version of a file.Compare two configuration or...

View Article

Image may be NSFW.
Clik here to view.

Top 30 Nmap Command Examples For Sys/Network Admins

Nmap is short for Network Mapper. It is an open source security tool for network exploration, security scanning and auditing. However, nmap command comes with lots of options that can make the utility...

View Article


Image may be NSFW.
Clik here to view.

OpenBSD: HowTO Install Sets After Installation

How do I install a package set after install under OpenBSD operating systems? I forgot to add a file set comp52.tgz package. How do I install the same after installing the operating system?Read answer...

View Article


Image may be NSFW.
Clik here to view.

Linux / Unix: Rsync Copy Files / Directories Names With WhiteSpaces / Blanks

I need to transfer a file called 'some cool movie.avi' that contains whitespace under rsync. How do I escape a filename or directory name with spaces in them while using rsync command under Linux /...

View Article

Image may be NSFW.
Clik here to view.

OpenBSD: Configure Ralink USB IEEE 802.11a/g/n Wireless Network Adapter

I brought a USB 2.0 wireless adapters based on the Ralink RT2700U, RT2800U and RT3000U chipsets. How do I configure and use it under OpenBSD operating systems?Read answer to: "OpenBSD: Configure Ralink...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu / Debian Linux: Setup An ISC DHCP Server For Your Network

How do I setup a DHCP server for my local area network (LAN) using Debian Linux 6 or Ubuntu Linux server running on my IBM hardware?Read answer to: "Ubuntu / Debian Linux: Setup An ISC DHCP Server For...

View Article

Image may be NSFW.
Clik here to view.

Fix: VIM UP and Down Keys Inserting A B C D Character

I am login to a remote server using a ssh client. I am annoyed with the arrow key behavior during insert mode in Vim. As soon as I hit arrow keys, vim display A B C D on screen. How do I fix this...

View Article


Image may be NSFW.
Clik here to view.

Linux / Unix Command To Optimize and Compress PNG Files In Bulk

I have lots of images in png format (over 250k+ png). Properly formatting and compressing png images can save many bytes of data. How do I compress and optimize png images on my amazon cloud account so...

View Article

Image may be NSFW.
Clik here to view.

OpnBSD PPTP Client: Install and Create a VPN

I work form home, and I need to login into our corporate network (Microsoft based PPTP server) using a pptp based vpn. How do I configure and setup up a PPTP VPN client under OpenBSD desktop / laptop...

View Article


Image may be NSFW.
Clik here to view.

Ubuntu / Debian Linux: Install and Setup TFTPD Server

How do I install and configure TFTP server under Debian or Ubuntu Linux server to configure networking equipment such as remote booting of diskless devices or remote loading of Unix like operating...

View Article

Image may be NSFW.
Clik here to view.

CentOS / RHEL: Set Accounts To Disable After Password Expiration

How do I automatically disable user accounts after 30 days after password expiration date under CentOS / Fedora / Red Hat / RHEL / Scientific Linux server operating systems?Read answer to: "CentOS /...

View Article


Image may be NSFW.
Clik here to view.

Linux: GNU/Screen Scroll Up and Down Look At Data

I am using GNU Screen software application to multiplex several virtual consoles. I can access multiple separate terminal sessions inside a single terminal window over remote ssh terminal session....

View Article

Image may be NSFW.
Clik here to view.

seinfo Command: Query SELinux Policy Under CentOS / RHEL / Linux

How do I query and get information about a policy under SELinux? How do I analyze a binary or a source policy file under SELinux?Read answer to: "seinfo Command: Query SELinux Policy Under CentOS /...

View Article

Image may be NSFW.
Clik here to view.

HowTo: Nginx Redirect All HTTP Request To HTTPS Rewrite Rules

I have setup nginx as a secure reverse proxy server. How do I redirect all http://example.com/ requests (traffic) to https://example.com/ under nginx web server?Read answer to: "HowTo: Nginx Redirect...

View Article
Browsing all 2612 articles
Browse latest View live