after I initially installed ubuntu , I can run 'll' in my terminal.
But after I checked a "Run command as login shell" in terminal preferences I cannot run "ll" command any more in terminal.
Something I am missing?
Thanks
2 Answers
Normaly, ll is not a shell command. It is just an alias defined in ~/.bashrc file as follow:
alias ll='ls -alF'So, check in your ~/.bashrc file if you have anymore the above line (in my .bashrc file is located somewhere at the line 93).
Look at this.
Running command as login shell executes ~/.bash_profile or ~/.profile, instead of ~/.bashrc. If you still want 'll' to work when using login shell, put
alias ll='ls -alF'in either ~/.bash_profile or ~/.profile.