Tag archive for ‘information’

Solaris > Finding more information about packages

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): [...]

How do I Apply Debian Linux Security update?

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 [...]

Shell script to get uptime, disk , cpu , RAM , system load, from multiple Linux servers – output the information on a single server in html format

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 [...]

Shell script to General FreeBSD and Linux System information

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 [...]

Linux : How to delete file securely

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. [...]

FreeBSD Display Information About The System Hardware

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, [...]

Solaris: Remove / uninstall the software / package

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 [...]

Solaris > Gathered System Information or How to print system configuration

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: [...]

Shell Script To Display The Text Entered By The User in Bold

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 [...]

Fix corrupted RPM database on CentOS 5

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 [...]