≡ Menu

echo command

UNIX / Linux: Shell Scripting With mail Command

How do I send e-mails from a shell script including file attachments?
[click to continue…]

Unix / Linux: TCSH / CSH Shell Set Variable

How do I set environment variables using c shell (tcsh or csh) under FreeBSD UNIX or Linux operating systems? How do I save variable using csh shell under Unix like operating systems?
[click to continue…]

HowTo: Verify My NTP Working Or Not

I've setup an NTP (Network Time Protocol) client and/or server to manage the system clock over a network. But, how do I verify that it is working correctly?
[click to continue…]

Linux: Change the PATH [ Add New Directory ]

How do I change the PATH settings under Linux operating systems and add a new directory to $PATH under bash shell?
[click to continue…]

HowTo: Display / Echo Path Settings In Linux / UNIX / *BSD

How do I display my current path settings under Linux / FreeBSD / OpenBSD / NetBSD / Apple OS X / UNIX like operating systems using bash or ksh or csh / tcsh shell?
[click to continue…]

xargs: How To Control and Use Command Line Arguments

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I'd like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?
[click to continue…]

Bash For Loop Examples

How do I use bash for loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression?
[click to continue…]

Linux Change The I/O Scheduler For A Hard Disk

How do I change the I/O scheduler for a particular hard disk without rebooting my Linux server system?
[click to continue…]

FreeBSD Display Environment Settings

Q. How do I display shell environment settings under FreeBSD operating systems?
[click to continue…]

Bash While Loop Example

How do I use bash while loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using while statement?
[click to continue…]