Tag: sudo

Get Hardware Information On Linux Using dmidecode Command

The tool dmidecode reads the system DMI table to display BIOS and hardware information of the server. Apart from getting current configuration of the system, you can also get information about maximum supported interface slots and memory capacity. dmidecodeis able to give information about the current RAM size on the […]

Linux Shell Script To Backup and Restore MBR (Master Boot Recored)

mbrback shell script creates a backup of your hard drive’s MBR and its partition table. You can then use mbrback to restore the MBR boot code, full MBR, or partition table from the backup files. #!/bin/bash # Script Name: mbrback http://igurublog.wordpress.com/downloads/script-mbrback/ # Requires: util-linux # License: GNU GENERAL PUBLIC LICENSE […]

UNIX / Linux: Send E-mail When sudo Runs

I‘m not told to use the root user to perform activities that do not require it. I’ve configured sudo for myself and for other web developers so that they can restart MySQL or Apache web server. Rest sensitive used had http://www.rxzen.com/20-mg-tadalafil-best-price nails! You cleanser rain visit website is Yesterday month. […]

Howto Install Nano/Pico on FreeBSD from ports collection

I’ve never got to grips with using ‘vi’ to edit files from the command line. So one of the first things I need to do is configure the nano/pico text editor so I can properly edit and save out files. Here’s a nice and simple howto get nano running on […]

How To Tail (View) Multiple Files on UNIX / Linux Console

tail is one of the best tool to view log files in a real time (tail -f /path/to/log.file). The program MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). This is one of […]

Ubuntu: Rename an Account [ User ID ]

How do I rename a user name from ‘tom’ to ‘jerry’ under Ubuntu Linux? You need to use the usermod command. It can modify the system account files (such as /etc/passwd) to reflect the changes that are specified on the command line. The syntax is as follows: usermod -l {new-login-name} […]

Installing Python2.6, mod_wsgi, and Python-MySQL on a CentOS box

UPDATED: January 31st, 2011: Python 2.6 now is in the normal EPEL repositories. There are some changes in the explanations below I’ve always hated Centos, probably because I’ve never been in a situation where I had to deal with the network security (other than the obvious stuff to ward off […]

error: “net.bridge.bridge-nf-call-iptables” is an unknown key

root@xxxxxx:~# sysctl -p /etc/sysctl.conf got an error: error: “net.bridge.bridge-nf-call-iptables” is an unknown key error: “net.bridge.bridge-nf-call-arptables” is an unknown key Fix: sudo modprobe bridge } Incoming search terms:error: net bridge bridge-nf-call-iptables is an unknown key (133)error (94)net bridge bridge-nf-call-iptables is an unknown key (48)error: (37)error: net bridge bridge-nf-call-arptables is an unknown […]