February 2005

FreeBSD comes with different utilities, which can be use to gathered the information as per your needs. uname command is use to print system information. dmesg command is use to print kernel ring buffer information. sysctl command is use to configure kernel parameters at runtime as well as to read hardware information. Following list summaries, […]

{ 9 comments }

FreeBSD init works different ways. In BSD style, it specifies the kernel security level as follows: -1: Permanently insecure mode. 0: Insecure mode 1: Secure mode 2: Highly secure mode 3: Network secure mode You can get current security level (FreeBSD runlevel) using sysctl command: # sysctl –a | grep kern.securelevel You can setup new […]

{ 0 comments }

You can use a utility called smbclient (part of samba server) to send a message to windows system from FreeBSD or from Linux/Solaris/UNIX OS. This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. General syntax to send a message is as follows:

{ 10 comments }

E-mail is a way of sending a message between users and administrators from command prompt for shell script. Use mail command as follows mail -s “Subject” username-name or email-id email message email message … .. When the message is complete, press Control-D or type dot character and press return/enter key. 1) To send email to […]

{ 0 comments }

Traditionally we used rwall command to send a message to every user on a network. Rwall works over insecure network. Instead of that, we can use wall command over ssh as follows, which is more secure and works with almost all UNIX variant. 1) ssh with wall syntax is as follows, after EOF press enter/return […]

{ 0 comments }

You can use the wall command to send a message to every user on a system. General syntax of wall command is as follows: wall Message Message … …. .. When the message is complete, press Control-D. 1) To display message “Disk failure system will be down for 30 minute” to all users use wall […]

{ 0 comments }

You can send a message to an individual FreeBSD user logged into system using the write command. Typically writing a short message to an Individual user is main usage. 1) Use write command as follows $ write user-name Your message Your message … When the message is complete, press Control-D 2) Here is an example […]

{ 0 comments }