Categories
Tags
Bash
New post in Bash
bash script [ x$1 = x ]
July 19th, 2022
bash
shell
Safe way to pass password for >1 programs in bash
December 7th, 2020
bash
command-line
password
openssl
Test command in unix doesn't print an output
July 19th, 2022
bash
shell
command
test
How can I tell what command an alias stands for?
July 19th, 2022
alias
bash
How to get the current terminal name?
July 19th, 2022
terminal
bash
How to sync terminal session command history in bash?
July 19th, 2022
bash
command-history
synchronization
Print the last error message from stderr?
April 2nd, 2020
error-handling
bash
Is it possible to set Gnome Terminal's title to "
[email protected]
" for whatever host I'm connected to?
July 21st, 2020
window-title
bash
ssh
gnome-terminal
I changed my hostname, why is my bash PS1 prompt unchanged?
December 15th, 2020
bash
ubuntu
hostname
How to detect the desktop environment in a bash script?
April 21st, 2021
bash
desktop-environment
bash-script
Is there any major difference when comparing a variable as a string or as an int
July 11th, 2020
shell
bash
test
import environment variables in a bash script
July 19th, 2022
shell-script
bash
scripting
environment-variables
Allow bash script to be run as root, but not sudo
January 6th, 2021
root
bash
shell-script
sudo
Compress a directory using tar/gz over SSH to local computer?
July 19th, 2022
bash
ssh
tar
Disable bash tab completion
January 14th, 2020
bash
autocomplete
How to recover a backgrounded job from a previous shell?
July 19th, 2022
bash
job-control
background-process
How to set the number of commands history recalls
July 19th, 2022
bash
command-history
What characters are required to be escaped in command line arguments?
December 13th, 2020
bash
shell
quoting
How to pass parameters to function in a bash script?
July 19th, 2022
bash
function
parameter
syntax
Why do I need to use cd "
[email protected]
" instead of cd "$1" when writing a wrapper for cd?
December 3rd, 2020
bash
shell
function
cd-command
arguments
Shell: is it possible to delay a command without using `sleep`?
November 22nd, 2020
linux
bash
shell-script
shell
sleep
Syntax Error: unexpected end of file — Bash script
July 22nd, 2022
bash
shell-script
Scripteable GPT partitions using parted
July 19th, 2022
linux
bash
scripting
partition
parted
Why do I sometimes get repeatedly prompted with ">" in the terminal?
July 19th, 2022
command-line
prompt
shell
bash
How to escape single quotes correctly creating an alias
March 1st, 2020
bash
shell
quoting
alias
escape-characters
How can I programmatically tell if a filename matches one of a set of brace-expanded glob patterns?
June 8th, 2022
bash
wildcards
Using $? in an if statement
July 22nd, 2022
scripting
bash
Good style/practices for separators in file (or directory) names
July 19th, 2022
filenames
bash
linux
Pass contents of file as argument to bash script
July 22nd, 2022
bash
shell-script
Two files comparison in bash script?
July 19th, 2022
bash
file-comparison
←
1
2
3
4
5
6
7
8
9
…
266
267
→