Bash Scripting Basic Commands In R