≡ Menu

Solaris-Unix

How To See Characteristics of File Systems on Linux or Unix

How do I display the characteristics of file systems such as inodes, blocks, block size, file system name, state, lifetime writes, fsck status and more on Linux or Unix-like operating system?
[click to continue…]

Ksh Read a File Line By Line ( UNIX Scripting )

How do I read a file line by line using KSH shell scripting under UNIX like operating systems?
[click to continue…]

Samba Restrict File Sharing To Particular Users or Network Addresses

All my local Linux user accounts will be able to log in to my Samba server and access share. How do I restrict access to particular users or network subnet such as 192.168.2.1/24?
[click to continue…]

Linux / UNIX: Restrict Access To A Given Command

How do I restrict access to a given command for instance /opt/apps/start, to authorized users only under Linux / UNIX / BSD operating system?
[click to continue…]

Firefox: Add a Trusted CA

The default Firefox comes with certificates from well-known commercial CAs. My ISP is also CA and Firefox cannot verified it because the CA is not recognized. How do I force Firefox to accept my ISPs certificate?
[click to continue…]

Solaris UNIX Configure Disk Quota For UFS File System

How do I configure file system quotas to control how much available storage space can be used on a given UFS file system (such as /export/home) under Solaris UNIX operating systems?
[click to continue…]

UNIX Get An Alert When Disk Is Full

I want to get an alert when my disk is full under UNIX and Mac OS X? How do I set a a specified threshold and run the script via cron?
[click to continue…]

Shut Down a Solaris UNIX System

How do I shutdown a Solaris UNIX machine or server using command prompt?
[click to continue…]

Solaris UNIX: Show All Network Interfaces

I've a new Solaris / OpenSolaris unconfigured UNIX server. How do I find out list of network interfaces under Solaris UNIX?
[click to continue…]

UNIX / Linux: Send E-mail When sudo Runs

I'm not told to use the root user to perform activities that do not require it. I've configured sudo for myself and for other web developers so that they can restart MySQL or Apache web server. How do I send email when sudo run by one of my user? How do I keep track of user login done via sudo command?
[click to continue…]