问题标题:
Linux命令ls--color和ls-color分别是干什么用的有什么区别?注:前者color前面有两个“-”,后者一个
问题描述:

Linux命令ls--color和ls-color分别是干什么用的有什么区别?注:前者color前面有两个“-”,后者一个

刘孝锋回答:
  ls-color   是指ls-c-o-l-o-r组合的意思   -cwith-lt:sortby,andshow,ctime(timeoflast   modificationoffilestatusinformation)   with-l:showctimeandsortbyname   otherwise:sortbyctime   -lusealonglistingformat   -olike-l,butdonotlistgroupinformation   -r,--reversereverseorderwhilesorting   ------------------------------------------------------------------------------------------------------------------------------   ls--color是颜色选项   --color[=WHEN]controlwhethercolorisusedtodistinguishfile   types.WHENmaybe`never',`always',or`auto'
查看更多
英语推荐
热门英语推荐