Michael Homer's user avatar
Michael Homer's user avatar
Michael Homer's user avatar
Michael Homer
  • Member for 9 years, 8 months
  • Last seen this week
507 votes
Accepted

How to change where a symlink points

374 votes
Accepted

How can I test if a variable is empty or contains only spaces?

184 votes
Accepted

Where is bash's history stored?

169 votes
Accepted

Is there a way of reading the last element of an array with bash?

151 votes
Accepted

Linux: set date through command line

105 votes
Accepted

Using exec and tee to redirect logs to stdout and a log file in the same time

90 votes

What is the difference between the "...", '...', $'...', and $"..." quotes in the shell?

86 votes
Accepted

Regex alternation/or operator (foo|bar) in GNU or BSD Sed

84 votes
Accepted

Patching a binary with dd

82 votes

How to dump a binary file as a C/C++ string literal?

76 votes

Escape a variable for use as content of another script

75 votes
Accepted

How to read/write to tty* device?

71 votes
Accepted

Why can Shell builtins not be run with capital letters but other commands can?

65 votes
Accepted

How can I expand a quoted variable to nothing if it's empty?

62 votes
Accepted

How do I check whether my shell is running in a terminal?

60 votes
Accepted

What are the alternatives to the FHS?

58 votes

How to get lines 10 to 100 from a 200 line file into a new file

58 votes
Accepted

Why does verifying SHA256 checksum with `sha256sum` fail on Debian and work on Ubuntu?

56 votes
Accepted

How does `cat <> file` work?

54 votes
Accepted

What does typing a single exclamation mark do in Bash?

54 votes
Accepted

Find directories and files with permissions other than 775 / 664

53 votes
Accepted

JSON array to bash variables using jq

53 votes
Accepted

How to split a new window and run a command in this new window using tmux?

49 votes

How can I make environment variables "exported" in a shell script stick around?

48 votes

Is there any sh code that is not syntactically valid bash code?

46 votes
Accepted

In bash, read after a pipe is not setting values

46 votes
Accepted

What exactly is scrollback and scrollback buffer?

44 votes
Accepted

Precedence of Pipe (|) and logical and (&&) in bash

42 votes

How to execute library commands from the shell?

42 votes
Accepted

why 'echo --help' doesn't give me help page of echo?

1
2 3 4 5
19