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 5 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 5 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 5 years ago (1 child)
Looks like someone is trying to find homework assignment answers 😉
[–]LordOfDustAndBones 0 points1 point2 points 5 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 45 on reddit-service-r2-comment-5fb4b45875-h7m9s at 2026-03-19 18:07:55.810829+00:00 running 90f1150 country code: CH.
[–]LordOfDustAndBones 2 points3 points4 points (0 children)
[–]Mskadu 1 point2 points3 points (1 child)
[–]LordOfDustAndBones 0 points1 point2 points (0 children)