Hi, thanks for the article.
However, it's not recommended to use backticks for command substitution, so instead of:
cp /boot/config-`uname -r`* .config
You should do:
cp /boot/config-$(uname -r)* .config
Or better yet:
cp /boot/config-"$(uname -r)"* .config
See this page for more info: https://mywiki.wooledge.org/BashFAQ/082
Hi, thanks for the article.
However, it's not recommended to use backticks for command substitution, so instead of:
cp /boot/config-`uname -r`* .config
You should do:
cp /boot/config-$(uname -r)* .config
Or better yet:
cp /boot/config-"$(uname -r)"* .config
See this page for more info: https://mywiki.wooledge.org/BashFAQ/082