Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shell

Pipe output and capture exit status in Bash

bash shell error-handling pipe

How to determine whether a given Linux is 32 bit or 64 bit?

How to create a cron job using Bash automatically without the interactive editor?

bash shell cron

Linux: copy and create destination dir if it does not exist

linux bash shell unix cp

Is there a TRY CATCH command in Bash

bash shell error-handling

How to add a progress bar to a shell script?

bash shell zsh

Using cURL to upload POST data with files

shell file curl post file-upload

Can a shell script set environment variables of the calling shell? [duplicate]

bash shell csh tcsh

What is the difference between "#!/usr/bin/env bash" and "#!/usr/bin/bash"?

linux bash shell unix shebang

How can I assign a name for a screen? [closed]

linux unix shell gnu-screen

How to join multiple lines of file names into one with custom delimiter?

linux bash shell parsing merge

What's a concise way to check that environment variables are set in a Unix shell script?

bash unix shell

Aborting a shell script if any command returns a non-zero value

linux bash unix shell

OS X Terminal Colors [closed]

macos shell terminal colors

How to get a password from a shell script without echoing

bash shell scripting sh

Expansion of variables inside single quotes in a command in Bash

bash shell variables quotes

Process all arguments except the first one (in a bash script)

bash shell

Multi-line string with extra space (preserved indentation)

string bash shell echo

Why is whitespace sometimes needed around metacharacters?

bash shell syntax syntax-error

How to run a shell script on a Unix console or Mac terminal?

linux bash macos shell unix