LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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 04:12 PM. Reason: PARTIALLY SOLVED
 
Old 08-19-2017, 11:53 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 03: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, 04: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



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 12:01 AM
Looking for bash scripting tutorial da7i Linux - Newbie 6 11-18-2009 07:16 AM
BASH scripting I/O redirection error blinux1 Programming 13 03-18-2008 08:21 PM
BASH scripting error Darklight451 Linux - General 4 11-22-2004 03:59 PM
Bash Scripting Tutorial qcoder Programming 2 10-13-2003 07:24 PM

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

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration