command line not working

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

enter image description here

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).

2

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like