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
nxnev
Mexico
にゃんぱすー
top
accounts
reputation
activity
bookmarks
subscriptions
Top Questions
22
votes
Possible bug in Bash?: foo() { echo "${var[0]}"; }; var=(bar baz) foo
bash
array
asked Dec 21, 2017 at 18:03
unix.stackexchange.com
Top Answers
27
How to create a file that only sudo can read?
unix.stackexchange.com
20
Download everything from a YouTube video using youtube-dl
askubuntu.com
20
Is superuser the same as root?
superuser.com
17
Why is shell treating a part of the output of $(<file) as a command?
unix.stackexchange.com
13
What are some cases that the number of spaces do matter in bash (or other shell) scripts
unix.stackexchange.com
11
How do I the extract the first digit from a number (variable in a bash script)?
unix.stackexchange.com
9
How or Why using `.*?` is better than `.*`?
unix.stackexchange.com
9
A filename has an asterisk for some reason - it won't be changed and content not executed
unix.stackexchange.com
8
Why is the "wrong" executable being run?
unix.stackexchange.com
8
How can we make `time` apply to a pipeline or its component?
unix.stackexchange.com
8
In Sword Art Online, why does Suguha practice only one Kendo move?
anime.stackexchange.com
7
How to create a shortcut for eclipse
unix.stackexchange.com
7
Empty string is a file? ( if [ ! -f "" ] )
unix.stackexchange.com
6
What is the correct way of dealing with exit code of the last command?
unix.stackexchange.com
6
Executing commands that are printed on the standard output
unix.stackexchange.com
6
Bash - How to use a variable in a variable's name
unix.stackexchange.com
6
How to prevent "rm -rf ~" from being executed by mistake?
unix.stackexchange.com
6
Subtract time using date and bash
unix.stackexchange.com
6
grep not working as expected
unix.stackexchange.com
5
Scrips does not accept video ID starting with a hyphen
unix.stackexchange.com
5
command not available in bash script
unix.stackexchange.com
5
Duda array de bash
es.stackoverflow.com
5
Conditional emoji on terminal success and failure
unix.stackexchange.com
Stack Exchange works best with JavaScript enabled