Tuesday, July 8, 2025
Home Blog Page 376

Determine the run level of a Solaris system

The following command will show the run level of a solaris system.

Discover and Optionally Delete Files with Find Command

How to discover files matching a find condition and delete them upon user confirmation.

View a File with Line Numbers

Using the cat command in UNIX, a file can be displayed with the line number of each line preceding the line.

Determine Linux ethernet interface speed and duplex

Determine the auto-negotiated Ethernet connection speed and duplex using the mii-tool command.

Force the speed and duplex of a Linux ethernet interface

Using mii-tool, the speed and duplex of an ethernet interface can be set manually.

Find a File by Name in UNIX, Solaris, or Linux

Using the find command, one can locate a file by name.

Find Files Using a Wildcard in UNIX

When you want to find all of the files matching a certain filename pattern, a wildcard can be used with the find command. Here are some examples to get you started.

Find and delete all core files

Locate and remove all core files in system using the find command.

Set system time in Solaris

Example commands used to set the system time in Solaris.

Change the MySQL Root User Password

Simple command for Changing the root user password for MySQL using mysqladmin.

Access remote TCP ports with OpenSSH tunnels

Using OpenSSH, it is possible to access TCP ports on remote systems, even those not on the host you are ssh’ing to, using tunnels.

How to Identify LDAP naming contexts using ldapsearch

Using ldapsearch from the command line, it is possible to find all of the naming contexts of the directory server (lowest level distinguished names like o=tech-recipes).

Stay Connected

16,985FansLike
2,458FollowersFollow
61,453SubscribersSubscribe

Latest Articles

Latest Reviews

Latest Comments

error: Content is protected !!