LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2017, 04:44 PM   #1
Dun El
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Rep: Reputation: Disabled
Bash scripting tutorial (error???)


Htp: I apologize, I could not find where the "Tutorial" is actually located: I was using "LQ" and "L-mint.com".
Three items -- two concern the actual "Tutorial" script instructions, one concerns an error message I receive when "sudo" . . .
1. bash tutorial re: escape meta characters script
Echo $BASH_VAR
BASH_VAR WHILE EXPECTING $BASH_VAR
ADJUSTED TO –
Echo “\$BASH_VAR”
This made up the difference giving proper response. (Not sure if this s/b reported as BUG)

2. I/O REDIRECT SECTION -- EXECUTABLE APPLIED TO /etc/shadow example gave PERM DENIED
HOWEVER,
My execution printed out the file, albeit, what language – unknown; but the seven plus reserve and all the numbers were recognized . . .
Does that mean I somehow finally obtained “SU” status?

3. All previous attempts to use “sudo” [have not tried since previous occurrence] returns an “unable to resolve host ‘roman’ error”; although, it accepts my username and password.

Last edited by Dun El; 08-23-2017 at 05:12 PM. Reason: PARTIALLY SOLVED
 
Old 08-20-2017, 12:53 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,229
Blog Entries: 9

Rep: Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618
Quote:
Originally Posted by Dun El View Post
I apologize, I could not find where the "Tutorial" is actually located: I was using "LQ" and "L-mint.com".
there is no "one" tutorial for bash scripting.
use your search engine.
like this: https://duckduckgo.com/?q=bash+tutorial
results:
http://wiki.bash-hackers.org/scripting/tutoriallist
http://www.thegeekstuff.com/tag/bash-tutorial/
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
etc...
 
Old 08-23-2017, 04:30 PM   #3
Dun El
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
$Htp: Much thanks for the extensive useful information. It helps me continue my journey with a smile. But, it does not solve the question of "error" for the next newbie trying to do and understand "bash scripting" and not getting proper results; therefore, I hope I can find the source of the other "Tutorial".
 
Old 08-23-2017, 05:10 PM   #4
Dun El
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
$htp: Bingo: Found the needle in your haystack (much thanks again) Original post refers to = https://linuxconfig.org/bash-scripting-tutorial. Maybe I'll get a chance to find where to redirect the "bug info". Thanks for being Thanks for helping Thanks for the speedy response. Much love. Dun El
 
  


Reply

Tags
bash, scripts, su, sudo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash scripting tutorial binbash Programming 4 10-31-2010 01:01 AM
Looking for bash scripting tutorial da7i Linux - Newbie 6 11-18-2009 08:16 AM
BASH scripting I/O redirection error blinux1 Programming 13 03-18-2008 09:21 PM
BASH scripting error Darklight451 Linux - General 4 11-22-2004 04:59 PM
Bash Scripting Tutorial qcoder Programming 2 10-13-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration