Posts by Joao Morais • 128 points
2 posts
-
1
votes1
answer121
viewsA: Problems inserting commands into bashrc via script
Your command cat <<EOF will use shell expansion whenever you find subprocess -- ``, variable -- $, among others. If you want to include them literally in the file it is necessary to escape…
-
0
votes2
answers58
viewsA: Error using alias and read in Shellscript
If you just need pasta create a directory, so you only need this in .bashrc: alias pasta='mkdir' The moment you type pasta uma_pasta bash pasta for mkdir before executing the command.…