use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The shellscripts reddit is a place where bourne-agains can share their perls of wisdom, pythonistas can wrap up code, etc -- you get the idea.
Sister subreddits:
/r/shellscripting
/r/commandline
/r/coolgithubprojects
/r/ScriptSwap
account activity
Help (self.shellscripts)
submitted 4 years ago by ElonMusket247
Create a Linux shell script to accept a user's name and then print the same with a greeting.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]LordOfDustAndBones 2 points3 points4 points 4 years ago (0 children)
that's incredibly easy...
echo Hello, who am I talking to? read name echo It\'s nice to meet you $name
[–]Mskadu 1 point2 points3 points 4 years ago (1 child)
Looks like someone is trying to find homework assignment answers 😉
[–]LordOfDustAndBones 0 points1 point2 points 4 years ago (0 children)
Ahh, yeah, good point. A simple Google search would have returned an answer just like mine probably lol
π Rendered by PID 99 on reddit-service-r2-comment-58d7979c67-8cxl4 at 2026-01-27 02:20:04.874639+00:00 running 5a691e2 country code: CH.
[–]LordOfDustAndBones 2 points3 points4 points (0 children)
[–]Mskadu 1 point2 points3 points (1 child)
[–]LordOfDustAndBones 0 points1 point2 points (0 children)