Debian supports ll commands
Debian supports ll commands
$ Ll
-Bash: ll: command not found
Without the ll command, although I know that ll is actually an alias for the ls-l command, I am not very familiar with it because I have been using centos for a long time.
If you want debian to support the ll command, you need to modify the. bashrc configuration file under the user directory.
Cd # enter the current user directory
Vim. bashrc # Use vim to edit the. bashrc configuration file
We can find these lines
# You may uncomment the following lines if you want 'LS' to be colorized:
# Export LS_OPTIONS = '-- color = auto'
# Eval "'dircolor '"
# Alias ls = 'ls $ LS_OPTIONS'
# Alias ll = 'ls $ LS_OPTIONS-l'
# Alias l = 'ls $ LS_OPTIONS-la'
Remove the # Before alias ll = 'ls $ LS_OPTIONS-l', as shown below:
# You may uncomment the following lines if you want 'LS' to be colorized:
Export LS_OPTIONS = '-- color = auto'
# Eval "'dircolor '"
# Alias ls = 'ls $ LS_OPTIONS'
Alias ll = 'ls $ LS_OPTIONS-l'
Alias l = 'ls $ LS_OPTIONS-la'
Save and exit
Another way is
# Cd
# Echo "alias ll = 'LS-L'"> ~ /. Bashrc & source ~ /. Bashrc
In fact, they all mean the same. The. bashrc configuration file is edited,
However, the second method outputs the command to. bashrc.