The alias's objective is to launch a pdf in my chrome browser. The pdf is entitled "Intro to Java.pdf"; the browser is "Google Chrome"
alias x='open -a "Google Chrome" /Users/ahanagrawal/Documents/"Intro to Java.pdf"'
aliasterminal
The alias's objective is to launch a pdf in my chrome browser. The pdf is entitled "Intro to Java.pdf"; the browser is "Google Chrome"
alias x='open -a "Google Chrome" /Users/ahanagrawal/Documents/"Intro to Java.pdf"'
Best Answer
Are you sourcing the file in which the alias is defined?
If your alias was defined in .bash_profile in your home directory.
To list the defined aliases, simply type 'alias' in the shell. Type 'alias youraliasname' to see whether the alias 'youraliasname' is defined, and if so, its definition.