Gang Of Coders
Home
About Us
Contact Us
All Sh Solutions on Gang of Coders
Total of 81 Sh Solutions
move only if file exists in a shell script
Linux
Sh
Mv
Dockerfile CMD instruction will exit the container just after running it
Bash
Shell
Docker
Sh
Dockerfile
Inline if shell script
Linux
Shell
Scripting
Sh
What is the difference between $(command) and `command` in shell programming?
Bash
Shell
Ksh
Sh
How can I declare and use Boolean variables in a shell script?
Bash
Shell
Scripting
Boolean
Sh
Pipe output to environment variable export command
Sh
What does $@ mean in a shell script?
Linux
Bash
Shell
Unix
Sh
Select unique or distinct values from a list in UNIX shell script
Bash
Unique
Distinct
Ksh
Sh
How can I tell if a file is older than 30 minutes from /bin/sh?
Linux
Unix
Sh
Equivalent of .bat in mac os
Macos
Batch File
Sh
How do I run a shell script without using "sh" or "bash" commands?
Bash
Shell
Alias
Sh
How to echo shell commands as they are executed
Bash
Shell
Sh
Posix
Trace
How to redirect output of an entire shell script within the script itself?
Bash
Shell
Sh
A variable modified inside a while loop is not remembered
Bash
While Loop
Scope
Sh
Ubuntu says "bash: ./program Permission denied"
Bash
Shell
Sh
Using variables inside a bash heredoc
Bash
Variables
Sh
Heredoc
How do I limit the number of results returned from grep?
Linux
Bash
Unix
Sh
Compare a string using sh shell
Shell
Unix
Sh
What does set -e mean in a bash script?
Linux
Bash
Shell
Sh
What is the benefit of using $() instead of backticks in shell scripts?
Bash
Syntax
Sh
Backticks
source command not found in sh shell
Bash
Shell
Sh
Calling shell functions with xargs
Bash
Sh
Xargs
How can I remove the extension of a filename in a shell script?
Bash
Shell
Sh
Cut
Gnu Coreutils
Git Alias - Multiple Commands and Parameters
Git
Sh
Alias
Git Alias
Piping command output to tee but also save exit code of command
Bash
Shell
Pipe
Sh
Tee
How to check if a string contains a substring in Bash
String
Bash
Shell
Substring
Sh
How to run .sh on Windows Command Prompt?
Windows
Bash
Command Line
Sh
What does the line "#!/bin/sh" mean in a UNIX shell script?
Shell
Unix
Sh
Shebang
Multiline syntax for piping a heredoc; is this portable?
Bash
Shell
Pipe
Sh
Heredoc
Deleting lines from one file which are in another file
Bash
Scripting
Sh
How to cat <<EOF >> a file containing code?
Linux
Unix
Sh
Heredoc
Count occurrences of a char in a string using Bash
Bash
Shell
Sh
How can I extract the first two characters of a string in shell scripting?
Bash
Shell
Grep
Sh
Gnu Coreutils
Remove redundant paths from $PATH variable
Linux
Bash
Path
Environment Variables
Sh
What does it mean in shell when we put a command inside dollar sign and parentheses: $(command)
Bash
Shell
Terminal
Sh
Ksh
Command not found error in Bash variable assignment
Bash
Shell
Syntax
Sh
Variable Assignment
How to read a file into a variable in shell?
Shell
Unix
Sh
I just assigned a variable, but echo $variable shows something else
Bash
Shell
Sh
Quoting
"echo -n" prints "-n"
Sh
Get specific line from text file using just shell script
Linux
Shell
Unix
Sh
How to do a logical OR operation for integer comparison in shell scripting?
Bash
Unix
If Statement
Sh
Cron jobs and random times, within given hours
Bash
Cron
Sh
What's a .sh file?
Linux
Sh
Download Manager
How to get a password from a shell script without echoing
Bash
Shell
Scripting
Sh
Recursively change file extensions in Bash
Regex
Linux
Bash
Shell
Sh
Forward function declarations in a Bash or a Shell script?
Bash
Function
Sh
Forward Declaration
envsubst: command not found on Mac OS X 10.8
Bash
Shell
Terminal
Sh
Command Line-Interface
Terminal error: zsh: permission denied: ./startup.sh
Macos
Nginx
Terminal
Sh
How can I split a shell command over multiple lines when using an IF statement?
Syntax
Sh
How can I show the wget progress bar only?
Linux
Bash
Wget
Sh
How to execute mongo commands through shell scripts?
Mongodb
Bash
Shell
Sh
How to run a cron job inside a docker container?
Docker
Cron
Containers
Sh
How do I merge one directory into another using Bash?
Bash
Shell
Scripting
Command Line
Sh
How can I get the behavior of GNU's readlink -f on a Mac?
Macos
Freebsd
Sh
What exactly is sudo bang bang?
Linux
Bash
Terminal
Sh
How can I have a newline in a string in sh?
Sh
Shell script current directory?
Linux
Directory
Sh
Working Directory
shopt command not found in .bashrc after shell updation
Bash
Sh
Zshrc
Shopt
How to get script directory in POSIX sh?
Bash
Posix
Sh
Are shell scripts sensitive to encoding and line endings?
Bash
Shell
Sh
Randomly shuffling lines in Linux / Bash
Linux
Bash
Shell
Sh
Replacement for source in sh
Bash
Shell
Sh
Dot Source
echo >&2 "some text" what does it mean in shell scripting
Shell
Unix
Sh
Difference between sh and Bash
Bash
Shell
Unix
Sh
How to get shell to self-detect using zsh or bash
Bash
Zsh
Sh
How to comment out particular lines in a shell script
Shell
Unix
Sh
What's the meaning of a ! before a command in the shell?
Linux
Bash
Shell
Unix
Sh
Shell Script Syntax Error: Unexpected End of File
Shell
Sh
How does Ctrl-C terminate a child process?
Bash
Shell
Process
Sh
Shell Script: How to write a string to file and to stdout on console?
Bash
Shell
Command Line
Sh
Ksh
How to copy and edit files in Android shell?
Android
Linux
Shell
Android Ndk
Sh
TERM environment variable not set
Linux
Sh
Why does /bin/sh behave differently to /bin/bash even if one points to the other?
Linux
Bash
Shell
Sh
Check if a file exists with a wildcard in a shell script
Shell
Sh
Wildcard
What is /bin/sh -c?
Linux
Sh
ZSH not recognizing my aliases?
Bash
Shell
Sh
Zsh
Zshrc
Shell: redirect stdout to /dev/null and stderr to stdout
Linux
Bash
Shell
Sh
Dash double semicolon (;;) syntax
Syntax
Sh
Dash Shell
How do I get the effect and usefulness of "set -e" inside a shell function?
Shell
Error Handling
Sh
Assigning the output of a command to a variable
Bash
Unix
Sh
Shell script: Run function from script over ssh
Linux
Bash
Shell
Sh