≡ Menu


Solaris Buffer Overflow Protection

One of the most common ways for hackers to break into a Solaris system is to exploit buffer overflows. How do I turn on buffer overflow protection under Solaris UNIX operating system just like CentOS/Redhat Linux system?
[click to continue…]

Solaris UNIX Case-Insensitive Find File Search

I'd like to match all filename like foo.c, FOO.C, fOO.c, Foo.C and so on using find command under UNIX. How do I do a case-insensitive find search under Sun Solaris / OpenSolaris UNIX systems?
[click to continue…]

How do I show networking routing table information under Solaris UNIX operating systems using a shell prompt?
[click to continue…]

UNIX Find A File Command

I am a new Sun Solaris UNIX user in our Lab. I would like to know more about finding files from the shell prompt. How do I find a file under UNIX operating systems using bash or ksh shell?
[click to continue…]

Solaris UNIX LUN Rescan With cfgadm Command

I know how to do LUN rescan under Linux using echo command. A reboot option (downtime) is not available for me. How do I rescan LUN under Solaris UNIX operating systems?

The cfgadm command provides configuration administration operations on dynamically reconfigurable hardware resources. Pass the -l option to Lists the state and condition of attachment points specified. Login as root and type the following command:
cfgadm -al
For further information read cfgadm and format command man page

Solaris UNIX: Change Default Shell

How do I change default ksh shell to bash shell under Solaris / OpenSolaris UNIX operating system using command line options?
[click to continue…]

Q. How do I display information about loaded kernel modules under Sun Solaris UNIX operating system?

A. You need to use modinfo command which is a trivial program to display information about the loaded modules. The format of the information is as follows:

Id Loadaddr Size Info Rev Module Name

where Id is the module ID, Loadaddr is the starting text address in hexadecimal, Size is the size of text, data, and bss in hexadecimal bytes, Info is module specific information, Rev is the revision of the loadable modules system, and Module Name is the filename and description of the module.

Task: Displaying the status of kernel modules

Just enter modinfo command:
You can pass -c option to modinfo command to display the number of instances of the module loaded and the module's current state:
modinfo -c

Display information about particular module / driver only

You can also display information about particular module only by specifying its ID #:
modinfo -i 5
The above example displays the status of module # 5.

Read modinfo man page for other information and options.