echo command

I am a new Unix user. I have Debian Linux installed. I need to append text to a file called daily.log. How do I use the cat command to append data to a file?

{ 0 comments }

How do I assign the output of a shell command to a shell variable under Unix like operating system? For example, I want to store the date command output to a variable called $now. How do you do that?

{ 3 comments }

Bash shell is used for various purposes under Linux. How do I customize the shell environment variable under Linux operating systems?

{ 13 comments }

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?

{ 3 comments }