New answers tagged shell-script
2
votes
Variables not being set in Makefile
You need to remember that the "makefile" part of make, is separate from the "shell" part.
Once you're inside the recipe for the makefile it's all shell commands. That means you ...
1
vote
Accepted
Change the default location of zsh completion cache files for macOS
Update and fix.
I've updated my code to the following to fix the issue of two dump files being created.
ZSH_COMPDUMP="$HOME/.cache/zsh/zcompcache"
# Create the parent directory if it doesn'...
0
votes
Loop over a range of numbers to download with wget
The accepted answer is great. I used something similar to download in parallel which may be useful:
echo example.com/imageId={1..100}.jpg | xargs -n 1 -P 10 wget
Top 50 recent answers are included
Related Tags
shell-script × 1417linux × 525
bash × 492
shell × 261
bash-scripting × 155
unix × 139
script × 134
command-line × 111
macos × 98
windows × 68
powershell × 65
ubuntu × 60
terminal × 45
sed × 43
awk × 37
ssh × 33
batch-file × 31
batch × 30
zsh × 26
find × 26
windows-10 × 24
cron × 24
sh × 24
grep × 22
perl × 19