Jump to content

Bash how to echo a variable

Linux Hint

Recommended Posts

While a user is working bash script execution in a Linux system, different sets of bash commands need to be executed from the terminal window based on the various requirements. After running bash commands, it shows the output on the terminal if no error exists otherwise an error message shows on the command-line window. Sometimes, users want to keep this output for future use. In this situation, the output of these commands can be stored in a variable...

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...