Sunday, November 9, 2025
Home Blog Page 390

Power off a Solaris system

This command will safely turn off a Solaris system using the init command.

Find all empty files in a UNIX filesystem

Using the find command, this locates all files with zero length.

Limit the depth of search using find

The find command searches all subdirectories under the specified path by default. Using the maxdepth option, the search depth can be limited.

Find UNIX files with no valid owner

Using the find command, one can locate files that are owned by a uid that no longer exists.

Check the UNIX passwd file for errors

Errors in the /etc/passwd file can cause many problems including the inability to login as root. The pwck command is a quick way to test the file and should be run whenever you make manual edits.

Check the UNIX group database for errors

UNIX systems store user group information in the /etc/group file. Errors in this file can cause a variety of problems.

Create a Virtual Interface in Solaris

Virtual interfaces allow a single ethernet interface to listen on additional IP addresses.

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.

Stay Connected

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

Latest Articles

Latest Reviews

Latest Comments

error: Content is protected !!