echo command

How do I get the current date in Unix or Linux shell scripting and store it into a shell variable? How do I print the current date using Unix shell script?

{ 0 comments }

I need to call the function called foo() using echo command in the same statement. How do I all or invoke the function using the echo statement?

{ 3 comments }

I noticed that many shell scripts in /etc/init.d/ directory use the following syntax:

echo $“Usage $prog start|stop|reload|restart”

Why a double-quoted string preceded by a dollar sign ($”string”) using the echo command under Linux / UNIX bash scripts?

{ 2 comments }

How do I send e-mails from a shell script including file attachments?

{ 5 comments }

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?

{ 0 comments }

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?

{ 5 comments }