-z string
True if the string is null (an empty string)
More Related Contents:
- Reading quoted/escaped arguments correctly from a string
- What is the cleanest way to ssh and run multiple commands in Bash?
- How can I do a recursive find/replace of a string with awk or sed?
- How to add a progress bar to a shell script?
- What is the purpose of “&&” in a shell command?
- How can I remove the extension of a filename in a shell script?
- How to avoid heredoc expanding variables? [duplicate]
- Is there a list of ‘if’ switches anywhere?
- How do I escape the wildcard/asterisk character in bash?
- Bash script – store stderr in a variable [duplicate]
- How do I get bc(1) to print the leading zero?
- How does Ctrl-C terminate a child process?
- Delete all lines beginning with a # from a file
- Copy folder recursively, excluding some folders
- Getting the parent of a directory in Bash
- Building R Packages using Alternate GCC
- Loop over directories with whitespace in Bash
- What does ” 2>&1 ” mean?
- When should I double-quote a parameter expansion? [duplicate]
- Bash script – “/bin/bash^M: bad interpreter: No such file or directory” [duplicate]
- Running programs in parallel using xargs
- How do I check if a directory exists or not in a Bash shell script?
- bash “if [ false ];” returns true instead of false — why?
- bash script order of execution
- Using conditional statements inside ‘expect’
- reverse the order of characters in a string
- What’s the cmd/PowerShell equivalent of back tick on Bash?
- Why doesn’t my terminal output unicode characters properly?
- In Bash test if associative array is declared
- How to read variables from file, with multiple variables per line?