We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ls file1 file2 file2
ls dir1
dir1
ls dir1 dir2 dir3
ls dir1 file1 file2 file3 dir2
ls ./dir1 /tmp/file1 ~/dir2
-l
ls -l /tmp/ /usr file1
ls xxoo*
ls xxoo0 xxoo1 xxoo10 xxoo11
不同形式的参数下输出的格式参照标准的ls程序。
(彩色输出选做吧)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ls file1 file2 file2
这样来指定输出哪些文件ls dir1
来指定列出目录dir1
中的文件ls dir1 dir2 dir3
来列出多个目录下的文件ls dir1 file1 file2 file3 dir2
这样来混合文件和文件夹进行输出ls ./dir1 /tmp/file1 ~/dir2
-l
选项的支持,该选项在参数前出现:ls -l /tmp/ /usr file1
ls xxoo*
会自动展开成ls xxoo0 xxoo1 xxoo10 xxoo11
这样,不需要程序去处理不同形式的参数下输出的格式参照标准的ls程序。
(彩色输出选做吧)
The text was updated successfully, but these errors were encountered: