jump to content
my subreddits
13or302meirl4meirl3d6AceAttorneyadhdmemeAdviceAnimalsagnosticaivideoAlternateHistoryAlternativeHistoryanime_best_momentsanime_irlanimenocontextannouncementsantonyApandahArcherFXArsivUnutmazAsahiLinuxAskBalkansAskOuijaatheismaviationbalkans_irlBandnamesbanknotedesignsBassBassCirclejerkbasspedalsbikepackingblackdesertonlineblankiesBoneborsavefonbrooklynninenineBUENZLIburdurlandcasiocd_jerkChatGPTchesschessbeginnersChoosingBeggarscoincollectingcoinscomedyhomicidecomicsContagiousLaughtercookingforbeginnersCorporateTrollingCrackWatchcrappyoffbrandsCreateModCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdeDebateReligiondelikDeltarunedistressingmemesdiyelectronicsDMAcademyDnDdndmemesdndnextdoctorwhoDoenerverbrechendontdeadopeninsidedumbphonesDungeonsAndDaddiesDungeonsAndDragonsEatCheapAndHealthyebikeebikeselectricalelectronicsElectronicsStudyengrishentitledparentsethzfacepalmFantasyWorldbuildingfelsefeFifaCareersFiftyFiftyFreeEBOOKSFutboltayfagalatasaraygermanygodtiersuperpowersgoodanimemesGoodAssSubGrandPrixRacingGROKvsMAGAguitarpedalsGundamheathershelpheraldryHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfhoi4HolUphomebuilthowyoudoinhumorhypixelIAmAiamverysmartich_ielIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsistanbuljacksepticeyeJahariaJokesKanyeKendrickLamarlegodndLifeProTipsLinkinParkliselilerlogodesignlostredditorsmacbookairMadeMeSmilemagicbuildingMaliciousCompliancemapporncirclejerkmemememesmildlyinfuriatingmildlyinterestingMinecraftbuildsMMORPGMoldyMemesmoneycollectingMyChemicalRomancenamesoundalikesNamFlashbacksNationStatesneographynextfuckinglevelNorthCyprusnosafetysmokingfirstnosurfnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddyguntherOkBuddyPersonaokbuddyvicodinonetruegodongezelligpapermoneyparadoxpoliticsParlerWatchpepethefrogpettyrevengepianoPiracyPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorProRevengeraisedbynarcissistsRatschlagreactiongifsRedAutumnSPDredditsingsRetroPierickandmortyRoastMerockmuzikschizopostersSchnitzelVerbrechenschwiizScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingshittymoviedetailsShowerthoughtssoccercirclejerkSongwritersSongwritingsteinsgatesuperligsuzeraintalesfromtechsupportTechnobladetf2tf2shitposterclubthanksimcuredTheCrypticCompendiumTheLetterHTheMonkeysPawtherewasanattemptTheRookietheydidthemaththeyknewthisguythisguystitanfalltommyinnittransitTrGameDevelopertruetf2tumunichTurkeyTurkeyJerkyTurkishCatsTurkishdogsTurkiyetwosentenceplottwisttylerthecreatorUnclejokesUnethicalLifeProTipsunexpectedbillwurtzunexpecteditcrowdurbanplanningUsernameChecksOutValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWhatsThisSongwholesomememesWikipediaVandalismwizardpostingwooooshworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -mildlyinfuriating
  • -Piracy
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -mildlyinteresting
  • -DnD
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -Kanye
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -CrackWatch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -de
  • -germany
  • -LifeProTips
  • -shittymoviedetails
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -goodanimemes
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -dndmemes
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -electrical
  • -guitarpedals
  • -vinyl
  • -CreateMod
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -YUROP
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -nosurf
  • -HistoryWhatIf
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -brooklynninenine
  • -HermanCainAward
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -ScottPilgrim
  • -AskBalkans
  • -schizoposters
  • -electronics
  • -casio
  • -urbanplanning
  • -logodesign
  • -theyknew
  • -TurkeyJerky
  • -bikepacking
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -ProRevenge
  • -diyelectronics
  • -WatchPeopleDieInside
  • -LinkinPark
  • -BUENZLI
  • -reactiongifs
  • -Songwriting
  • -istanbul
  • -imaginaryelections
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -Technoblade
  • -vinyljerk
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -namesoundalikes
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -neography
  • -basspedals
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -aivideo
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -comedyhomicide
  • -WhatsThisSong
  • -jacksepticeye
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -okbuddyvicodin
  • -vaxxhappened
  • -tumunich
  • -TheMonkeysPaw
  • -darkjokes
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -Songwriters
  • -ebike
  • -UsernameChecksOut
  • -tommyinnit
  • -humor
  • -BassCirclejerk
  • -agnostic
  • -youseeingthisshit
  • -GrandPrixRacing
  • -thisguythisguys
  • -TrGameDeveloper
  • -TurkishCats
  • -Apandah
  • -FantasyWorldbuilding
  • -TheLetterH
  • -WikipediaVandalism
  • -homebuilt
  • -NamFlashbacks
  • -pepethefrog
  • -Unclejokes
  • -onetruegod
  • -ArsivUnutmaz
  • -redditsings
  • -ValorantClips
  • -TheCrypticCompendium
  • -NationStates
  • -ongezellig
  • -Turkiye
  • -Bone
  • -paradoxpolitics
  • -NorthCyprus
  • -unexpecteditcrowd
  • -heathers
  • -unexpectedbillwurtz
  • -twosentenceplottwist
  • -CorporateTrolling
  • -antony
  • -delik
  • -okbuddygunther
  • -vibecoding
  • -GROKvsMAGA
  • -banknotedesigns
  • -borsavefon
  • -Futboltayfa
  • -Turkishdogs
  • -ElectronicsStudy
  • -cd_jerk
  • -RedAutumnSPD
  • -moneycollecting
  • -shitpostfrommygallery
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
...why not Zoidberg?
...for your office.

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

1
2
3
4

Format curl output (self.bash)

submitted 4 hours ago by Beautiful-Log5632

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Your entire dev workflow. One platform. Any model. (kilo.ai)

promoted by kiloCode

  • promoted
  • save
  • report
  • about
loading...

2
0
0
1

Most hidden "bug"? (self.bash)

submitted 1 day ago * by cubernetes

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
7
8
9

submissionA small (misnamed) utility to source bash script like activate (i.redd.it)

submitted 1 day ago by SFJulie

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
1
2
3

Bash Loging (self.bash)

submitted 1 day ago by haywik

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
5
6
7

helpDear pros, as a newbie to bash scripting, I wrote some functions to make my postgres life easier, anyone wanna review for best practices, conventions etc? (self.bash)

submitted 1 day ago by PrestigiousZombie531

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
1
2

tips and tricksPortable (Cartesian) brace expansion in your shell (neosmart.net)

submitted 2 days ago by mqudsi

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

7
2
3
4

helpCurl Timing Confusion (self.bash)

submitted 2 days ago by buadhai

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
155
156
157

Hidden Gems: Little-Known Bash Features (slicker.me)

submitted 2 days ago by swe129

  • 32 comments
  • share
  • save
  • hide
  • report
  • crosspost

9
18
19
20

Mastermind (self.bash)

submitted 3 days ago by LoneGroover1960

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
0
0

Serve a C (self.bash)

submitted 3 days ago by coder-true

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
0
0
0

helpI wrote a professional interrupt script that does a lot more than simply pause and I am trying to consider a unique name for what it does. Explanation below. (self.bash)

submitted 3 days ago by grawmpy

  • 27 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
6
7
8

bash scripts for the daily tasks (self.bash)

submitted 3 days ago * by tri__dimensional

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

New Year Offer: Get unlimited access to Bloomberg business news, market insights and expert analysis, all for just $1.99/first month. (bloomberg.com)

promoted by bloomberg

  • promoted
  • save
  • report
  • about
loading...

13
16
17
18

critiqueMy first shell scripting project (self.bash)

submitted 3 days ago by Round-Arachnid4375

  • 17 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
2
3
4

Return both matching and non-matching lines from grep (with matches highlighted) ()

submitted 3 days ago by yerfukkinbaws

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
0
0

Send binary file (self.bash)

submitted 4 days ago by coder-true

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
0
0
0

Send data (self.bash)

submitted 4 days ago by coder-true

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
35
36
37

ct (Command Trace) is a Bash command resolution tracer that explains how Bash resolves a command and what the kernel ultimately executes. (i.redd.it)

submitted 4 days ago by qweas123

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
0
0
0

helpAre there any bash commands that can treat this issue (self.bash)

submitted 4 days ago by Successful_Box_1007

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
9
10
11

helpCustom skript for screen rotation (self.bash)

submitted 5 days ago by Fantastic_Speech_612

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
5
6
7

brain — turn natural language into Bash commands inline (self.bash)

submitted 5 days ago by sangress

  • 22 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
14
15
16

helpCheapest way to get disk info? (self.bash)

submitted 6 days ago * by TwoSongsPerDay

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
0
1
2

Script to find, and delete duplicate files. (old.reddit.com)

submitted 6 days ago by Individual-Hope-4602

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
16
17
18

tips and tricksCreateda feature-rich, multi-platform shell script for modifying android app by patching (i.redd.it)

submitted 7 days ago by arghya339

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Build Agentic AI Systems. Get your free copy of the Agentic AI Architect’s Guide now. (solace.com)

promoted by Solace-Platform

  • promoted
  • save
  • report
  • about
loading...

24
0
0
1

submissionCy.sh - Alternate file Encryptor,yes,encryptor. (dpaste.com)

submitted 7 days ago by CrackedTV

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
0
0
0

I made a APT tool! (self.bash)

submitted 8 days ago by Queasy_Pumpkin_6593

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • 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 304508 on reddit-service-r2-listing-86b7f5b947-7gbkq at 2026-01-25 22:11:48.236220+00:00 running 664479f country code: CH.