echo command

I am new Unix/Linux user. I am learning shell scripting. How can I compare numbers in bash shell?

{ 0 comments }

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?

{ 4 comments }

I‘m a new Unix user. How do I create a file from bash prompt without using GUI tools? How to create a file in Unix from terminal window? What’s the easiest and best way to create a file in Unix?

{ 1 comment }

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?

{ 12 comments }

logname command

I am a new Linux and Unix system user. How do I find out the current login name on Linux or Unix-like operating system using command prompt?

{ 0 comments }

id command

I am a new Linux and Unix system user. How do I find out the user and groups names and numeric IDs of the current user or any users on my server? How can I display and effective IDs on the system using command line options? In Linux, how do I find a user’s UID or GID?

{ 0 comments }

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

{ 19 comments }