Raspberry Pi in order to achieve ll

Centos with a tube of children's shoes, to an environment where there is no ll command, how painful it is, after baidu, the implementation record as follows

method one:

echo "alias ll='ls -l'" >> ~/.bashrc && source ~/.bashrc

 In fact, ll ls -l command is to make an alias.

Method Two:

In fact, ~ / .bashrc file already has ll alias code, just annotated it, you can remove the comment

# some more ls aliases
# alias ll='ls -l'
# alias la='ls -A'
# alias l='ls -CF'

Change

# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'

Finally, do not forget

source ~/.bashrc

Guess you like

Origin www.cnblogs.com/qpanda/p/11537311.html