Articles tagged #shell
![Cover picture for a blog post titled A random emoji in your terminal prompt. How and Why!](/_astro/random-emoji-in-your-prompt-how-and-why.mfSRE6ax_Z1Kixrj.png)
A random emoji in your terminal prompt. How and Why!
Customize your terminal prompt with Bash PS1 variable and RANDOM function to show a random emoji on each command. Learn Bash arrays, escape sequences, and functions. Emojis make your terminal more fun and keep your morale up during debugging.
![Cover picture for a blog post titled AWS Command line: S3 content from stdin or to stdout](/_astro/aws-command-line-s3-content-from-stdin-or-to-stdout-loige-co-luciano-mammino.wtQwfrE5_Hk85M.jpg)
AWS Command line: S3 content from stdin or to stdout
The AWS CLI s3 cp command supports streaming content to and from S3 using stdin/stdout with the - argument. This enables powerful pipelines without intermediary files.
![Cover picture for a blog post titled Extracting data from Wikipedia using curl, grep, cut and other shell commands](/_astro/extracting-data-from-wikipedia-using-curl-grep-and-other-bash-commands-judo-teddy-riner.9_d2Mc8I_1ouJvM.jpg)
Extracting data from Wikipedia using curl, grep, cut and other shell commands
By using a combination of curl, grep, cut, sort, uniq and other common bash utilities it is possible to extract structured data from Wikipedia and compute insights without writing a full program.