[{"data":1,"prerenderedAt":195},["ShallowReactive",2],{"term-s\u002Fshell":3,"related-s\u002Fshell":181},{"id":4,"title":5,"acronym":6,"body":7,"category":162,"description":163,"difficulty":164,"extension":165,"letter":166,"meta":167,"navigation":71,"path":168,"related":169,"seo":175,"sitemap":176,"stem":179,"subcategory":6,"__hash__":180},"terms\u002Fterms\u002Fs\u002Fshell.md","Shell",null,{"type":8,"value":9,"toc":156},"minimark",[10,15,19,23,26,30,145,149,152],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"The shell is the program that reads what you type in the terminal and makes things happen. The terminal is the window, the shell is the brain inside it that understands your commands. It is the interpreter between you and the operating system.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A shell is a command-line interpreter that provides a user interface to the OS kernel. It parses and executes commands, manages environment variables, handles I\u002FO redirection, and supports scripting with loops and conditionals. Common shells include Bash, Zsh, Fish, and PowerShell. The shell runs inside a terminal emulator.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Check which shell you're using:\necho $SHELL\n# \u002Fbin\u002Fzsh\n\n# Switch to bash:\nbash\n\n# Shell scripting example:\nfor file in *.js; do\n  echo \"Processing $file\"\ndone\n","bash","",[38,39,40,49,60,66,73,79,86,91,97,121,139],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Check which shell you're using:\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"s2Zo4","echo",[41,57,59],{"class":58},"sTEyZ"," $SHELL\n",[41,61,63],{"class":43,"line":62},3,[41,64,65],{"class":47},"# \u002Fbin\u002Fzsh\n",[41,67,69],{"class":43,"line":68},4,[41,70,72],{"emptyLinePlaceholder":71},true,"\n",[41,74,76],{"class":43,"line":75},5,[41,77,78],{"class":47},"# Switch to bash:\n",[41,80,82],{"class":43,"line":81},6,[41,83,85],{"class":84},"sBMFI","bash\n",[41,87,89],{"class":43,"line":88},7,[41,90,72],{"emptyLinePlaceholder":71},[41,92,94],{"class":43,"line":93},8,[41,95,96],{"class":47},"# Shell scripting example:\n",[41,98,100,104,107,110,114,118],{"class":43,"line":99},9,[41,101,103],{"class":102},"s7zQu","for",[41,105,106],{"class":58}," file ",[41,108,109],{"class":102},"in",[41,111,113],{"class":112},"sfazB"," *.js",[41,115,117],{"class":116},"sMK4o",";",[41,119,120],{"class":102}," do\n",[41,122,124,127,130,133,136],{"class":43,"line":123},10,[41,125,126],{"class":54},"  echo",[41,128,129],{"class":116}," \"",[41,131,132],{"class":112},"Processing ",[41,134,135],{"class":58},"$file",[41,137,138],{"class":116},"\"\n",[41,140,142],{"class":43,"line":141},11,[41,143,144],{"class":102},"done\n",[11,146,148],{"id":147},"when-youll-hear-this","When You'll Hear This",[16,150,151],{},"\"Which shell are you using, Bash or Zsh?\" \u002F \"Write a shell script to automate the deployment.\"",[153,154,155],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":157},[158,159,160,161],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":147,"depth":51,"text":148},"general","The shell is the program that reads what you type in the terminal and makes things happen.","beginner","md","s",{},"\u002Fterms\u002Fs\u002Fshell",[170,171,172,173,174],"Bash","Zsh","Terminal","CLI","Script",{"title":5,"description":163},{"changefreq":177,"priority":178},"weekly",0.7,"terms\u002Fs\u002Fshell","aBkz7lftzxsFAj8DGjKf_43BrLaRyGLfcGi0O5-2jU8",[182,185,189,192],{"title":170,"path":183,"acronym":6,"category":162,"difficulty":164,"description":184},"\u002Fterms\u002Fb\u002Fbash","Bash is the most common shell — the language your terminal speaks by default on most Linux and older Mac computers.",{"title":173,"path":186,"acronym":187,"category":162,"difficulty":164,"description":188},"\u002Fterms\u002Fc\u002Fcli","Command Line Interface","CLI is just the fancy term for any tool you use by typing commands instead of clicking buttons.",{"title":174,"path":190,"acronym":6,"category":162,"difficulty":164,"description":191},"\u002Fterms\u002Fs\u002Fscript","A script is a file full of commands that run automatically one after another, so you do not have to type them all yourself.",{"title":172,"path":193,"acronym":6,"category":162,"difficulty":164,"description":194},"\u002Fterms\u002Ft\u002Fterminal","The terminal is a black window where you talk to your computer using text commands instead of clicking buttons.",1776518313003]