April 28th, 2012 |
admin |
How to find what packages (software’s) installed? 1)Run the command pkginfo to find the information: # pkginfo | more 2) Note that packages provided by SUN always have prefix SUNWpkgname 3 To find more about SSH Software’s: # pkginfo | grep “SSH” 4) To print all available information about package (long format aka package description): [...]
December 18th, 2011 |
admin |
It is very easy to update Debian Linux over Internet so that you can get updated packages in stable distribution. This short article explains you how to keep up to date your Debian server/workstation along with small tips. Step # 1 Configure Debian to get updates You need to configure the package resource list, which [...]
December 17th, 2011 |
admin |
Shell script to get uptime, disk usage, cpu usage, RAM usage, system load, etc; from multiple Linux servers and output the information on a single server in html format #!/bin/bash # Shell script to get uptime, disk usage, cpu usage, RAM usage,system load,etc. # from multiple Linux servers and output the information on a single [...]
December 17th, 2011 |
admin |
Shell script to display general FreeBSD and Linux System information such as, Hostname, OS version, Kernel version, Processor/CPU, Total RAM, System load, network interface, total logged in users, Hard disks, Runlevel etc in neat format. How do I use the script? You need to download following two files for FreeBSD operating systems: File # 1 [...]
December 17th, 2011 |
admin |
Recently we had lot of discussion regarding this issue. How to remove files securely so that it cannot be undeleted. Peter Gutmann paper “Secure Deletion of Data from Magnetic and Solid-State Memory” has very good information. Here are some commands/tools available under Debian GNU/Linux (it should work with other Linux distributions) to delete file securely. [...]
December 17th, 2011 |
admin |
FreeBSD comes with different utilities, which can be use to gathered the information as per your needs. uname command is use to print system information. dmesg command is use to print kernel ring buffer information. sysctl command is use to configure kernel parameters at runtime as well as to read hardware information. Following list summaries, [...]
December 17th, 2011 |
admin |
You need to use pkgrm command which will remove a previously installed or partially installed package from the system. A check is made to determine if any other packages depend on the one being removed. If a dependency exists, the action taken is defined in the admin file. The default state for the command is [...]
December 17th, 2011 |
admin |
The prtconf command prints the system configuration information. The output includes the total amount of memory, and the configuration of system peripherals formatted as a device tree. 1) Use prtconf command: # prtconf | more OR # prtconf –D | more OR # prtconf | grep “Memory” Memory size: 512 Megabytes 2) Use modinfo command: [...]
December 16th, 2011 |
admin |
Write a shell script to display the text entered by the user in bold? You need to use the tput utility to display text in bold. It uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell, to initialize or reset the terminal, or return the long name [...]
December 16th, 2011 |
admin |
If rpm / yum command hangs during operations or you see error messages – it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database: Command to rebuild rpm database rm -f /var/lib/rpm/__db* rpm –rebuilddb -v -v Read rpm / yum man pages for more information Incoming [...]