How to test internet speed

How to use Speedtest-cli

Speedtest-cli is application used for testing internet speeds in Linux operating system. # wget # chmod +x # ./ Speedtest is a python script used to test your internet speed, this can be installed by using normal wget and start using it.  ..

How to remove only svn directories

Find and remove .svn folders

Find and remove .svn directories using linux commands I came around this when I was having a need to remove all the svn directories from my development machine. I use Linux box to develope my application and was having all svn directories inside my application directories which was really annoying. below  ..

How to install virtualBox on ubuntu

Linux Mint 15 Installing new VM

Installing virtualbox made very simplar in linux operating system. Ubuntu linux makes it very simple for installing new VM, Follw the simple steps to uninstall and re-install new linux VM Un-install previous VirtualBox version in system # sudo apt-get remove virtualbox-4 Installing VirtualBox 4.3 in system : 32Bit : # wget #  ..

Block access from specific countires

How to Allow and Deny access to server for Countries

How to Allow and Deny access in server for Countries using CSF. As a admin we will be in a situation to allow and deny Countries using to access our websites or webcontents, this can be easily achieved by using CSF. It is a firewall and to achieve this we must  ..

How to clear cache memory on linux

Clean & empty buffers and cache on a Linux system

Before clearing cache memory on a Linux system? # free -m total used free shared buffers   ..

How to install virtualbox on ubuntu linux mint

Installing VirtualBox 4.3 on Ubuntu 13.04/13.10, Linux Mint 15

First uninistall previous VirtualBox version in system # sudo apt-get remove virtualbox-4 Install VirtualBox 4.3 in system : 32Bit : # wget # sudo dpkg -i virtualbox-4.3_4.3.0-89960~Ubuntu~raring_i386.deb # sudo apt-get -f install 64Bit : # wget # sudo dpkg -i virtualbox-4.3_4.3.0-89960~Ubuntu~raring_amd64.deb # sudo apt-get -f install To Run VirtualBox,type below command in Terminal : # virtualbox   ..

Error connection timed out 110

Solved - Error connection timed out 110 Cant open SMTP stream in webmail

When you receive some error like error connection timed out 110, when you try to sent mail through webmail then probably that is because of firwall which installed on the server is not allowing the connections to the SMTP service. ERROR: Message not sent. Server replied: Connection timed out 110 Cant  ..

How to force logout a user

Force logoff a user

How to force a user to logout from the server? To forcefully logout a user and make required changes on server, First find out how many sessions a user have login and also check wheter he is executing some important task, before force fully logout a user. To find user who  ..

Example to split a file in to small file

Create split input file

Create split input file # for i in {1..1000}; do echo "$i" >> split_input; done First we shall create an input file for splitting a file. With the above command we shall create a large input file for splitting a file which has 1000 lines. File split_input file will be having  ..

How to split large file into small files

Breaking large files into small files

A large file can be splitted into small from linux terminal by using split command in linux. Make sure that required packages are installed in the terminal. To Split large file into number of smaller files from linux console, follow the steps below. To Split the file name example.txt, use split  ..

Smartctl command to find disk info

Smartctl to find HP SmartArray controllers

smartctl is a linux tool which is used to perform disk analysis # smartctl -a -d cciss,0 /dev/cciss/c0d0 The smartctl program also allows for you to view and test SMART attributes of a drive. You can quickly check the overall health of a drive by using # smartctl -H /dev/sda   ..

How to find hd controller module running on linux

Find hp smart array controller used linux

The module used for HP SmartArrays is 'cciss'. In more recent kernel versions they have been moving things over to a newer hpsa driver. To find out what modules are used for which which hardware, you can use below command # lspci -k OUTPUT: 04:00.0 RAID bus controller: Hewlett-Packard Company Smart  ..

Execute a script at startup in ubuntu

Set startup script in ubuntu

Command for Startup of Ubuntu Edit /etc/rc.local and add your commands The script must be ends with "exit 0" Command for Rebooting Ubuntu Put your script in /etc/rc0.d Make it runable (sudo chmod +x myscript) The name of your script must begin with K99 and run at the right time. Command  ..

How to find physicaldisk of volumegroup

LVM find physical disk of a filesystem

Sometimes we will be in a situation to find which physical disk are used by a filesystem? Now a days servers are configured with lvm by default. you can use below command to find the physical disks used by a filesytem. # lvs -o +devices /dev/mapper/VG_Name # lvs -o +devices  ..

Heartbleed bug april 7 2014

How to protect servers against heartbleed bug

What is heartbleed? The Heartbleed bug concerns a security vulnerability in a component of recent versions of OpenSSL. OpenSSL cryptographic software library is a technology used by more number of websites or servers for secure the traffic, passwords and other sensitive information transmitted to and from users and visitors. There is a  ..

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next >

Tech Bluff