mkdir whoami touch:"摸",如果文件不存在,就建立新文件,如果存在,就改变文件的访问时间atime等时间戳信息. mkdir aa ls –ld aa 创建多级目录 mkdir –p a/b/c tree a ls mkdir {1..10} echo {1..10} whoami a目录存在的前提下, touch a/1.txt ls cat a touch a/1.txt tree a ls touch {a,b,c}.txt ls ls touch 3.txt…
参考:Linux w Command Tutorial for Beginners (5 Examples) Linux who Command Tutorial for Beginners (8 Examples) Difference between who and whoami commands w Show who is logged on and what they are doing. w无参数时的输出就已经包含足够多信息,参数只是限制输出某些信息. w user_name 显示具体…