FreeBSD Display Information About The System Hardware

last updated in Categories FreeBSD, Hardware, Howto

FreeBSD comes with different utilities, which can be used to gather the information as per your needs. The uname command is used to print system information, and dmesg command is used to print kernel ring buffer information. The sysctl command is use to configure kernel parameters at runtime as well as to read hardware information. Let us see all commands that can display hardware information on the FreeBSD server or desktop.

Solaris: Remove / uninstall the software / package

last updated in Categories Howto, Solaris, UNIX

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 in interactive mode, meaning that prompt messages are given during processing to allow the administrator to confirm the actions being taken. Non-interactive mode can be requested with the -n option.

pkgrm command syntax

Use the following command syntax
pkgrm packagename
The following example removes SUNWgtar (GNU Tar):
pkgrm SUNWgtar

The following example removes all instances of SUNWjunk:
# pkgrm -R /export/root/client1 SUNWjunk*

Where,

  • -R root_path : Defines the full path name of a directory to use as the root_path . All files, including package system information files, are relocated to a directory tree starting in the specified root_path .

See the pkgrm(1M) man page for information and options:
man 1 pkgrm