Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
sch
top
accounts
reputation
activity
subscriptions
Top Questions
476
votes
Why not use "which"? What to use then?
shell
history
which
portability
asked Aug 1, 2013 at 22:58
unix.stackexchange.com
266
votes
Security implications of forgetting to quote a variable in bash/POSIX shells
bash
shell
shell-script
security
quoting
asked Dec 3, 2014 at 21:59
unix.stackexchange.com
123
votes
On what systems is //foo/bar different from /foo/bar?
filenames
history
portability
slash
asked Jan 20, 2016 at 10:20
unix.stackexchange.com
43
votes
Why the "-" in the "#! /bin/sh -" shebang?
shell-script
asked Mar 15, 2017 at 21:39
unix.stackexchange.com
40
votes
Most efficient way to check if $string starts with $needle in perl
performance
perl
string-matching
asked Jul 30, 2015 at 13:00
stackoverflow.com
38
votes
What's wrong with var=$(</dev/stdin) to read stdin into a variable?
bash
zsh
io-redirection
ksh
stdin
asked Sep 7, 2022 at 8:22
unix.stackexchange.com
32
votes
Security implications of running perl -ne '...' *
security
perl
filenames
options
asked Nov 26, 2014 at 8:15
unix.stackexchange.com
29
votes
How can we know who's at the other end of a pseudo-terminal device?
terminal-emulator
open-files
pty
asked Jun 11, 2014 at 20:12
unix.stackexchange.com
28
votes
How to execute an arbitrary simple command over ssh without knowing the login shell of the remote user?
ssh
quoting
portability
asked May 25, 2015 at 20:11
unix.stackexchange.com
23
votes
Get the display width of a string of characters
shell-script
unicode
asked Nov 23, 2015 at 21:02
unix.stackexchange.com
1
2
3
next
Top Answers
945
Why is printf better than echo?
unix.stackexchange.com
529
Why not use "which"? What to use then?
unix.stackexchange.com
481
What does "LC_ALL=C" do?
unix.stackexchange.com
436
How do I trim leading and trailing whitespace from each line of some output?
unix.stackexchange.com
366
Why is using a shell loop to process text considered bad practice?
unix.stackexchange.com
352
How to export variables from a file?
unix.stackexchange.com
312
ssh-add complains: Could not open a connection to your authentication agent
unix.stackexchange.com
305
Why do I need a tty to run sudo if I can sudo without a password?
unix.stackexchange.com
286
How to tell gzip to keep original file?
unix.stackexchange.com
275
Security implications of forgetting to quote a variable in bash/POSIX shells
unix.stackexchange.com
259
Sort based on the third column
unix.stackexchange.com
248
How to determine where an environment variable came from?
unix.stackexchange.com
247
How to make `sudo` preserve $PATH?
unix.stackexchange.com
224
How to stop the find command after first match?
unix.stackexchange.com
207
When was the shellshock (CVE-2014-6271/7169) bug introduced, and what is the patch that fully fixes it?
unix.stackexchange.com
196
Find and remove large files that are open but have been deleted
unix.stackexchange.com
176
Simple way to create a tunnel from one local port to another?
unix.stackexchange.com
172
The result of ls * , ls ** and ls ***
unix.stackexchange.com
169
How do you use the command coproc in various shells?
unix.stackexchange.com
164
Understanding "IFS= read -r line"
unix.stackexchange.com
159
What is the difference between "cat file | ./binary" and "./binary < file"?
unix.stackexchange.com
157
`find` with multiple `-name` and `-exec` executes only the last matches of `-name`
unix.stackexchange.com
147
Copy the contents of a file into the clipboard without displaying its contents
unix.stackexchange.com
142
List all available ssl ca certificates
unix.stackexchange.com
141
Remove last character from line
unix.stackexchange.com
135
remove particular characters from a variable using bash
unix.stackexchange.com
134
How can I use column to delimit on tabs and not spaces?
unix.stackexchange.com
129
How to run grep with multiple AND patterns?
unix.stackexchange.com
122
How can I remove the BOM from a UTF-8 file?
unix.stackexchange.com
122
What is the purpose of the "do" keyword in Bash for loops?
unix.stackexchange.com
1
2
3
4
5
…
10
next
Stack Exchange works best with JavaScript enabled