Sometimes you need to know what some of the detailed information is about your memory. Issue this command to get that detailed info: cat /proc/meminfo Sometimes you need to know what some of the detailed information is about your processor. Issue this command to get that detailed info: cat /proc/cpuinfo
Category: Linux
Executing Linux Command as Another User
Sometimes you need to execute a command as another user to test newly installed or configured software. For instance, if you just installed snort you want to make sure it’s going to run ok as the snort user. It’s relatively simple. su username -c command So if you wanted to execute a backups script called… Continue reading Executing Linux Command as Another User
Generate your .htaccess Online
Don’t know how to edit .htaccess file, so this post is for you. Now you can edit .htaccess file easily with Online .htaccess Editor. This version is nice on the eyes and will make it easy to build, edit and generate and .htaccess file.
Set Time and Date on Linux using Command Line (CLI)
First lets look at the date. Issue:date at the CLI. You should get a response like: Fri Feb 15 11:36:02 CST 2008 If the time zone is off, type timeconfig and set it. If the clock is off type: date -s 11:36:00 the -s means set then replace 11:36:00 with the respective time. If the… Continue reading Set Time and Date on Linux using Command Line (CLI)