Linux

Hpaducli array diagnostics utility

HP Array Diagnostic Report - ADU Report

HP ADU report is quite simple and easy in Linux Operating System. ADU CLI is distributed using Red Hat Package Manager (RPM) packages To start the application: If /usr/sbin is already added in your path, just type: # hpaducli -f adu-report.zip or # /usr/sbin/hpaducli -f adu-report.zip More options can be found by \"hpaducli -help\"  ..

Howto find files specific text string

Search for a particular word in all files

Today I had a requirement to search for a string in all the files which has particular word or text. You can find or search for the string in linux machine as below. To find the string in all directories # find / -name \"*.*\" | xargs grep -i \'find string\' To  ..

How to reload etc profile without restart

Reload file without server reboot

Today I came across a situation to edit the user profile on my linux dev machine. I have added few alias in my server into file /etc/profile. Now I have a requirement like I want my changes has to get effect without server reboot. Most of us would know about sysctl  ..

How to edit multiple files vi editor

Accessing multiple files in vi editor

If you are using gnome vim enhanced version supports gui version. But normally as a sever admin we work in terminal. Open multiple files in a terminal using below command # vi file1 file2 file3 Now from the above command vim/vi editor opens file1 on the terminal You can switch over the  ..

How to check wwn in blade and os

Find SAN port name in linux

Check fiber channel exist in server or not # lspci | grep -i fibre OUTPUT 00:00.1 Fibre Channel: ServerEngines Corp. Emulex OneConnect 10Gb FCoE Initiator # find /sys -type d -name fc_host /sys/class/fc_host Check the Port number by using find command # find $(find  ..

How to set user defined extension in tomcat

Set user defined extension in tomcat

Set user defined extensions in Tomcat, Just do URL mapping in web.xml as explained below, <servlet> <servlet-name>test.jsp</servlet-name> <jsp-file>/test.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>test.jsp</servlet-name> <url-pattern>/test.html</url-pattern> </servlet-mapping>   ..

How to install skype on fedora 18

How to install skype on linux

When you try to install skype using yum, you might get warnings/error or message as dependencies missing. For this you must know that skype is a 32 bit application. That means u need some 32 bit libs required for this setup, In this quick tip i will show you  ..

Mac book pro shortcuts using commands

Mac shortcuts

Clipboard Command+C = Copy Command+V = Paste Command+X = Cut Command+A = Select All Screen capture Command+Shift 3 = Capture the screen to a file Command Ctrl Shift 3 = Capture the screen to the clipboard Command+Shift 4 = Select an area to be captured to a file   ..

Nginx how to block bad bots

Avoid multiple spider bad bots

This helps to avoid serverload because of badbots. For me normally if u have build a good dynamic sitemap then you can allow other spider or bots to crawl your entire site. But if is not then there will be issues like server load spike, wastage of Bandwidth etc. To block  ..

How to boot your android phone secure mode

Boot android mobile in safe mode

You can easily boot your android phone by following the below steps, 1. Hold down the power button in your phone until the option menu comes out on the screen. 2. Then, long press the Power Off option and you will obtain a message on the screen to verify whether  ..

Ps command monitoring top memory and process

Find which process use more system resource

The below commands can be used to calculate system resource used by server. You can find which commandline is using more CPU resource. But ofcourse you can calculate the system resource by using top command, but still below are the below commands or other methods which can be used to  ..

How to create avd configuration in eclipse

Eclipse creating virtual device in android

Defining a AVD(Android Virtual Device) How to Open AVD Manager from Eclipse IDE Window --> Android Virtual Device Manager Click on "New" at top. Choose name and options. Click OK. Note:We can create multiple AVDs. But your system performance might go down.  ..

How to find server downtime

Find last system reboot

To find all system reboot date and time # last reboot | less find last five system reboot # last reboot | head -5 To find last shutdown date and time # last -x | grep shutdown | head -5 Who command to find last system boot time # who -b who command, to  ..

How to uninstall disable selinux redhat

Disable selinux on redhat or fedora

How to uninstall or disable selinux There are many methods of disabling selinux. # ls -Z / # ls -Z /etc/ Disable SELinux Permanently # cat /etc/selinux/config SELINUX=disabled SELINUXTYPE=targeted SETLOCALDEFS=0 Where, SELINUX - can take one of these three values: enforcing - SELinux security  ..

Network monitor tcpdump

Tcpdump examples

How can I monitor all my connections to ssh? How do I monitor all traffic except my ssh session? tcpdump is the premier network analysis tool for analysing more on network traffic # tcpdump -i eth1 -s 1500 port not 22 -s Define the snaplength (size) of the capture in bytes.  ..

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

Tech Bluff