Why can't I use ll instead of ls - l when I use the find command?

Asked 2 years ago, Updated 2 years ago, 122 views

find . -name "test" -exec ls -l {} \; Why can't I use ll instead of ls -l when I use this command? Can't I use it because it's an alias? This is centOS6.

find exec centos

2022-09-20 22:28

1 Answers

This is based on ubuntu.

~/.When you open the bashrc file, you can see several settings and alias commands defined.

alias l='ls-alF' is written, which means When you type ll, the actual ls-alF is executed.


2022-09-20 22:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.