printf 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 }

I have a number stored in a shell variable called x=”240570.578″. I would like to print $x as 2,40,570.57. How do I replace the number with their currency format under bash shell scripts?

{ 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 }

How do I convert from octal to hex number using bc UNIX / Linux command line utility?

{ 0 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 }

Q. How do I print current path settings under BASH shell? I’m using Debian Linux. A. In UNIX / Linux file systems, the human-readable address of a resource is defined by PATH. On Unix / Linux like operating systems, (as well as on DOS / Windows and its descendants), PATH is an environment variable listing [...]

{ 4 comments }