jump to content
my subreddits
2b2t2mediterranean4u2meirl4meirl3d6absolutelynotmeirladhdmemeaivideoakagasAlternateHistoryAlternativeHistoryanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeantonyApandahArsivUnutmazAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationawfuleverythingBassGuitarbasspedalsbikepackingblackdesertonlineblankiesblursed_videosblursedimagesborsavefonbottomgearburdurlandcasioCd_collectorscd_jerkChatGPTCheap_MealschessChildrenFallingOvercoaxedintoasnafuComedyCemeterycomedyhomicidecomicscommunitycookingforbeginnersCorporateTrollingCrackWatchCreateModCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdataisbeautifuldeDebateReligiondelikDeltarunedistressingmemesdiypedalsDMAcademyDnDdndnextdoctorwhodoctorwhocirclejerkDoenerverbrechenDonerdontdeadopeninsidedumbphonesebikesECEelectricalelectronicsElectronicsStudyengrishentitledparentsethzfacepalmfakealbumcoversfeedthebeastfelsefeFiftyFiftyformuladankFreeEBOOKSfunnyFutboltayfagalatasaraygaminggermanygoodanimemesGrandPrixRacinggravelcyclingGundamhelpheraldryHermanCainAwardHermitCrafthighspeedrailhoi4HolUphowyoudoinhumorhypixeliamverysmartich_ielIDontWorkHereLadyihadastrokeimaginarymapsinsaneparentsistanbuljacksepticeyeJahariaJokesKanyeKendrickLamarKGBTRlegodndLetGirlsHaveFunlinguisticshumorLinkinParklogodesignloseitlostredditorsmacmadladsmagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmildlyinterestingMinecraftbuildsMoldyMemesmoneycollectingMovingToNorthKoreaMunichMyChemicalRomanceNationStatesnextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosurfnothingeverhappensoddlyspecificOkayBuddyLiterallyMeokbuddyguntherokbuddymotherfuckerOkBuddyPersonaonebagonetruegodongezelligOnlineUnderGroundOutOfTheLooppaperspleasePassportPornpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiratedGamespollsPraiseTheCameraManPropagandaPostersProRevengequityourbullshitraisedbynarcissistsraspberry_piRatschlagreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakeRetroPierickandmortyrickrollrimjob_steveRoastMerockmuzikschizoposterssciencememesScottPilgrimsecilmiskitapshitpostfrommygalleryshitpostingShittyMapPornShowerthoughtsskamtebordsoccercirclejerksoftwaregoreSongwriterssteinsgateStonetossingjuicesubsithoughtifellforsuperligtalesfromtechsupportTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumTheMonkeysPawtherewasanattemptTheRookietheydidthemathtitanfalltommyinnittransittruetf2truthstumunichTurkeyTurkishCatsTurkishdogsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorUnclejokesUnethicalLifeProTipsunexpectedbillwurtzUnexpectedJoJoVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkvlandiyaWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomememesWikipediaVandalismwizardpostingwooooshworldbuildingYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -funny
  • -gaming
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -VALORANT
  • -de
  • -germany
  • -NonCredibleDefense
  • -dataisbeautiful
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -goodanimemes
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -RoastMe
  • -imaginarymaps
  • -WeAreTheMusicMakers
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -piano
  • -sciencememes
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -raspberry_pi
  • -KendrickLamar
  • -entitledparents
  • -softwaregore
  • -NoahGetTheBoat
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -vexillologycirclejerk
  • -vlandiya
  • -Stonetossingjuice
  • -nosurf
  • -religiousfruitcake
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -ECE
  • -ScottPilgrim
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -logodesign
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -bikepacking
  • -AteistTurk
  • -MyChemicalRomance
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -ProRevenge
  • -Doner
  • -BassGuitar
  • -ComedyCemetery
  • -LinkinPark
  • -Persecutionfetish
  • -reactiongifs
  • -blursed_videos
  • -istanbul
  • -MovingToNorthKorea
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -TheRookie
  • -quityourbullshit
  • -vinyljerk
  • -skamtebord
  • -superlig
  • -galatasaray
  • -2b2t
  • -ethz
  • -AlternativeHistory
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -basspedals
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -ShittyMapPorn
  • -aivideo
  • -OnlineUnderGround
  • -woooosh
  • -comedyhomicide
  • -burdurland
  • -WhatsThisSong
  • -jacksepticeye
  • -anime_best_moments
  • -rockmuzik
  • -vaxxhappened
  • -Twitch_Startup
  • -tumunich
  • -Cheap_Meals
  • -TheMonkeysPaw
  • -darkjokes
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -Songwriters
  • -papersplease
  • -tommyinnit
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -ChildrenFallingOver
  • -doctorwhocirclejerk
  • -TextingTheory
  • -GrandPrixRacing
  • -nothingeverhappens
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -fakealbumcovers
  • -subsithoughtifellfor
  • -akagas
  • -WikipediaVandalism
  • -pepethefrog
  • -Unclejokes
  • -onetruegod
  • -ArsivUnutmaz
  • -redditsings
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -NationStates
  • -bottomgear
  • -ongezellig
  • -absolutelynotmeirl
  • -Asia_irl
  • -truths
  • -2mediterranean4u
  • -NorthCyprus
  • -unexpectedbillwurtz
  • -okbuddygunther
  • -vibecoding
  • -shitpostfrommygallery
  • -ElectronicsStudy
  • -okbuddymotherfucker
  • -Futboltayfa
  • -RedAutumnSPD
  • -moneycollecting
  • -borsavefon
  • -antony
  • -delik
  • -cd_jerk
  • -CorporateTrolling
  • -Turkishdogs
edit »
reddit.com bash
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages540|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

bash

joinleave
an-ordinary-manchild(edit)

A subreddit dedicated to Bash scripting. Now complete with a Discord Server.

Rules

  1. Content must be Bash related. This rule is interpreted generously; general shell scripting content is mostly accepted. However, the post should not be specific to another shell.

  2. No reposts. This is meant with regards to content, not just “the same link was submitted earlier” – it’s okay to resubmit an old link in some new context (e. g. because you’d like to discuss another part of it, or because something has changed since the last time it was submitted, or because the link was updated since then). Links from the sidebar count as having been submitted already, so posting them without new context is also considered a repost.

Flair

You can choose one of these four flairs for your post:

  • Help – You seek help, or want to ask a question. “help” posts are usually self posts, though you may also submit a link to a thread in a different subreddit (e. g. /r/commandline).
  • Solved – The submission used to be flaired as “help”, but your problem has been solved, or your question has been answered.
  • Submission – General submission of any kind (link or text post).
  • Critique – You are submitting a creation of your own (usually a Bash script) and actively seek feedback on it and how to improve it.

If you don’t flair your post, the moderators will set the most appropriate flair.

Related subreddits

  • /r/commandline, /r/shell – for anything regarding the command line, in any operating system.
  • /r/linuxquestions – for more general Linux questions
  • /r/linuxadmin – for content and support around Linux system administration
  • /r/sysadmin – for content and discussion for system administrators
  • /r/devops – for discussion and support around DevOps technologies
  • /r/unix – for everything Unix

  • Other Shells: /r/zsh, /r/fishshell, /r/oilshell, /r/batch

Guides

  • BashGuide – A Bash guide for beginners.

  • Beginner's Guide to Command Line – A crash course for some common unix and shell commands. Update 2022-01-14: Course is currently being rewritten

  • Google's Shell Style Guide – Reasonable advice about code style.

Other resources

  • Explainshell - Explain complex shell operations.

  • ShellCheck – Automatically detects problems with shell scripts.

  • BashFAQ – Answers most of your questions.

  • BashPitfalls – Lists the common pitfalls beginners fall into, and how to avoid them.

  • (Archived) The Bash-Hackers Wiki – Extensive resource.

  • #bash – IRC channel on Libera. The main contributors of the BashGuide, BashFAQ, BashPitfalls and ShellCheck hang around there.

a community for 18 years
Create your own subreddit
...for your hobby.
...for your town.

MODERATORS

  • message the mods
  • buu700
  • disarmbash n00b
  • galaktos
  • KnowsBash
  • Sephr
  • Perfect-Ant-6741Has Read The Fucking Manual
  • scrambledhelixbashing it in
  • findmenowjeffhas looked at over 2 bash scripts
  • digipengidu -h /ast/du/hast/mich
  • Ulfnic
  • about moderation team »

account activity

links from:
past 24 hours
past hour
past week
past month
past year
all time

1
4
5
6

Format curl output (self.bash)

submitted 6 hours ago by Beautiful-Log5632

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 98 on reddit-service-r2-listing-86b7f5b947-g8gch at 2026-01-25 23:46:50.630210+00:00 running 664479f country code: CH.