linux ls lrt/Unix里,ls -lrt和ll这俩命令有什么区别

安全检查中...
请打开浏览器的javascript,然后刷新浏览器
< 浏览器安全检查中...
还剩 5 秒&ls -ltr command in UNIX and Linux - Behaviour - Super User
Super User is a question and answer site for computer enthusiasts and power users. J it only takes a minute:
Here&#39;s how it works:
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Why does ls -ltr show different total? We have same files in both unix and linux environment
please refer BELOW
& ls -ltr /A/B/C/
total 2140
-rwxr--r--
14415 May 30
2007 A.jar
-rwxr--r--
11445 May 30
2007 B.jar
-rwxr--r--
13443 May 30
2007 C.cab
-rwxr--r--
614429 May 30
2007 D.jar
-rwxr--r--
384763 May 30
2007 E.cab
& ls -ltr /A/B/C/
total 1024
-rwxr--r--
14415 May 30
2007 A.jar
-rwxr--r--
11445 May 30
2007 B.jar
-rwxr--r--
13443 May 30
2007 C.cab
-rwxr--r--
614429 May 30
2007 D.jar
-rwxr--r--
384763 May 30
2007 E.cab
That's the number of blocks used on the filesystem. The info utility on GNU/Linux machines will explain it in more detail. Run
info coreutils ls
I can only assume that your UNIX provides something similiar. To get a more human readable output run
Thus I presume that your GNU/Linux and UNIX machine use different blocksizes on their fs.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you&#39;re looking for?
Browse other questions tagged
Super User works best with JavaScript enabled网站已改版,请使用新地址访问:
ls-tree 两个文件,分别简单实现linux下的ls-l功能和树形结构显示目录的 。 -Unix program 238万源代码下载-
&文件名称: ls-tree
& & & & &&]
&&所属分类:
&&开发工具: Unix_Linux
&&文件大小: 2 KB
&&上传时间:
&&下载次数: 2
&&提 供 者:
&详细说明:两个文件,分别简单实现linux下的ls-l功能和树形结构显示目录的tree功能。-Two files, a simple function under linux ls-l and a tree structure to display the directory tree.
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&tree.cpp&&ls-l实现.cpp
&输入关键字,在本站238万海量源码库中尽情搜索:Linux/UNIX命令:dd是做什么的?- 百度派
{{ mainData.uname }}
:{{ mainData.content }}
{{ prevData.uname }}
:{{ prevData.content }}
{{ mainData.uname }}
:{{ mainData.content }}
0 || contentType !== 1" class="separate-line">
:{{ item.content }}
获取百度派权限,参与更多问答互动
3">等{{ uList.length }}人邀请你回答
Linux/UNIX命令:dd是做什么的?
问题说明(可选):
扫一扫分享到微信
{{ log.sign }}
可能对你的问题感兴趣
暂无相关用户
,才能邀请用户
,才能邀请用户
你已邀请15人,不可再邀请
dd 是 Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块拷贝一个文件,并在拷贝的同时进行指定的转换。dd 的主要选项:指定数字的地方若以下列字符结尾乘以相应的数字:b=512, c=1, k=1024, w=2, ...
dd 是 Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块拷贝一个文件,并在拷贝的同时进行指定的转换。dd 的主要选项:指定数字的地方若以下列字符结尾乘以相应的数字:b=512, c=1, k=1024, w=2, xm=number mif=file输入文件名,缺省为标准输入。of=file输出文件名,缺省为标准输出。ibs=bytes一次读入 bytes 个字节(即一个块大小为 bytes 个字节)。obs=bytes一次写 bytes 个字节(即一个块大小为 bytes 个字节)。bs=bytes同时设置读写块的大小为 bytes ,可代替 ibs 和 obs 。cbs=bytes一次转换 bytes 个字节,即转换缓冲区大小。skip=blocks从输入文件开头跳过 blocks 个块后再开始复制。seek=blocks从输出文件开头跳过 blocks 个块后再开始复制。(通常只有当输出文件是磁盘或磁带时才有效)count=blocks仅拷贝 blocks 个块,块大小等于 ibs 指定的字节数。conv=conversion[,conversion...]用指定的参数转换文件。转换参数:ascii 转换 EBCDIC 为 ASCII。ebcdic 转换 ASCII 为 EBCDIC。ibm 转换 ASCII 为 alternate EBCDIC.block 把每一行转换为长度为 cbs 的记录,不足部分用空格填充。unblock使每一行的长度都为 cbs ,不足部分用空格填充。lcase 把大写字符转换为小写字符。ucase 把小写字符转换为大写字符。swab 交换输入的每对字节。 Unlike theUnix dd, this works when an odd number ofbytes are read. If the input file containsan odd number of bytes, the last byte issimply copied (since there is nothing toswap it with).noerror出错时不停止。notrunc不截短输出文件。sync 把每个输入块填充到ibs个字节,不足部分用空(NUL)字符补齐。由于 dd 命令允许二进制方式读写,所以特别适合在原始物理设备上进行输入/输出。例如可以用下面的命令为软盘建立镜像文件:dd if=/dev/fd0 of=disk.img bs=1440k有趣的是,这个镜像文件能被 HD-Copy ,Winimage 等工具软件读出。再如把第一个硬盘的前 512 个字节存为一个文件:dd if=/dev/hda of=disk.mbr bs=512 count=1
扫一扫分享到微信
Linux/UNIX命令:dd是做什么的?
,才能进行回答
一个问题只能回答一次,请&nbsp点击此处&nbsp查看你的答案
1人关注了此问题

我要回帖

更多关于 ansys 里面current ls 的文章

 

随机推荐