coreutils 是GNU下的一个软件包,包含linux下的 ls等常用命令。这些命令的实现要依赖于shell程序。
一般在系统中都默认安装,也可自己安装或更新。
例如,安装coreutils-6.7.tar.gz ,安装后,
打开你的linux,执行如下:(Debian,gentoo例外)
[root@lee ~]# rpm -qi coreutils-5.2.1-32
Name : coreutils Relocations: (not relocatable)
Version : 5.2.1 Vendor: (none)
Release : 32 Build Date: 2006年07月13日 星期四 00时12分39秒
Install Date: 2007年03月15日 星期四 11时50分49秒 Build Host: koumei.asianux.com
Group : System Environment/Base Source RPM: coreutils-5.2.1-32.src.rpm
Size : 8089056 License: GPL
Signature : (none)
URL : ftp://alpha.gnu.org/gnu/coreutils/
Summary : The GNU core utilities: a set of tools commonly used in shell scripts
Description :
These are the GNU core utilities. This package is the combination of
the old GNU fileutils, sh-utils, and textutils packages.
它包含有三个基本的套件,文件、shell、文本,各包含的程序如下:
1、文件套件 chgrp - Changes file group ownership.
chown - Changes file ownership.
chmod - Changes file permissions.
cp - Copies files.
dd - Copies and converts a file.
df - Shows disk free space on filesystems.
dir - Gives a brief directory listing.
dircolors - Setup program for the color output of GNU ls.
du - Shows disk usage on filesystems.
install - Copies file and sets its permissions.
ln - Creates file links.
ls - Lists directory contents.
mkdir - Creates directories.
mkfifo - Creates FIFOs (named pipes).
mknod - Creates special files.
mv - Moves files.
rm - Removes (deletes) files.
rmdir - Removes empty directories.
shred - Destroy data in files.
sync - Synchronizes filesystem buffers and disk.
touch - Changes file timestamps.
vdir - Long directory listing. 2、shell套件 [ - Check file types and compare values
basename - Removes the path prefix from a given pathname.
chroot - Changes the root directory.
date - Prints/sets the system date and time.
dirname - Removes the last level or filename from a given pathname.
echo - Prints a line of text.
env - Displays/modifies the environment.
expr - Evaluates expressions.
factor - Prints prime factors.
false - Returns an unsuccessful exit status.
groups - Print the groups that the user is a member of.
hostid - Print the numeric identifier for the current host
hostname - Print or set the machine name.
id - Print real/effective uid/gid.
logname - Print current login name.
nice - Modify scheduling priority.
nohup - Allows a command to continue running after logging out.
pathchk - Check file name portability.
pinky - Lightweight finger
printenv - Prints environment variables.
printf - Formats and prints data.
pwd - Print the current working directory.
seq - Print numeric sequences.
sleep - Suspends execution for a specified time.
stty - Print/change terminal settings.
su - Allows you to adopt the id of another user or superuser.
tee - Sends output to multiple files.
test - Evaluates an expression.
true - Returns a successful exit status.
tty - Print terminal name.
uname - Print system information.
users - Print current user names.
who - Print a list of all users currently logged in.
whoami - Print effective user id.
yes - Print a string repeatedly.
3、文本操作套件 cat - concatenate files and print to the standard output
cksum - checksum and count the bytes in a file
comm - compare two sorted files line by line
csplit - split a file into sections determined by context lines
cut - remove sections from each line of files
expand - convert tabs to spaces
fmt - simple optimal text formatter
fold - wrap each input line to fit in specified width
join - join lines of two files on a common field
md5sum - compute and check MD5 message digest
nl - number lines of files
od - dump files in octal and other formats
paste - merge lines of files
pr - convert text files for printing
ptx - produce a permuted index of file contents
sort - sort lines of text files
split - split a file into pieces
sum - checksum and count the blocks in a file
tac - concatenate and print files in reverse
tail - output the last part of files
tr - translate or delete characters
tsort - perform topological sort
unexpand - convert spaces to tabs
uniq - remove duplicate lines from a sorted file
wc - print the number of bytes, words, and lines in files
head - output the first part of files

Coreutils - GNU core utilities的更多相关文章

  1. Linux下ls命令显示符号链接权限为777的探索

    Linux下ls命令显示符号链接权限为777的探索 --深入ls.链接.文件系统与权限 一.摘要 ls是Linux和Unix下最常使用的命令之一,主要用来列举目录下的文件信息,-l参数允许查看当前目录 ...

  2. ls /proc/$$,self/fd/3,255 引发的一些琐事

    我在使用bash的时候通常会利用它的自动补全功能来看看文件夹下的内容(连按两下Tab键),例如: 说明Music文件夹下有这三个文件,我也就不需要提前用ls命令来确定了. 但是最近我在查看当前shel ...

  3. CS学习

    作者:匿名用户链接:https://www.zhihu.com/question/27368268/answer/36464143来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注 ...

  4. 理解 chroot

    什么是 chroot chroot,即 change root directory (更改 root 目录).在 linux 系统中,系统默认的目录结构都是以 `/`,即是以根 (root) 开始的. ...

  5. Mac上Homebrew的使用 (Homebrew 使 OS X 更完整)

    0 Homebrew是啥? “Homebrew installs the stuff you need that Apple didn’t.——Homebrew 使 OS X 更完整”. Homebr ...

  6. Mac上Homebrew的使用——Homebrew 使 OS X 更完整

    0 Homebrew是啥? “Homebrew installs the stuff you need that Apple didn’t.——Homebrew 使 OS X 更完整”. Homebr ...

  7. PAN-OS 6.1 Open Source Software (OSS) Listing

    https://www.paloaltonetworks.com/documentation/oss-listings/oss-listings/pan-os-oss-listings/pan-os- ...

  8. OSCP Learning Notes - Privilege Escalation

    Privilege Escalation Download the Basic-pentesting vitualmation from the following website: https:// ...

  9. 初识Linux shell

    目录 初识Linux shell Linux 深入探究Linux内核 系统内存管理 交换空间 页面 换出 软件程序管理 Linux中的进程 Linux系统的运行级 硬件设备管理 插入设备驱动代码的方法 ...

随机推荐

  1. 使用CEfSharp之旅(2) js前台事件执行后台方法

    原文:使用CEfSharp之旅(2) js前台事件执行后台方法 版权声明:本文为博主原创文章,未经博主允许不得转载.可点击关注博主 ,不明白的进群191065815 我的群里问 https://blo ...

  2. Python 字符串切片(slice)

    切片操作(slice)可以从一个字符串中获取子字符串(字符串的一部分).我们使用一对方括号.起始偏移量start.终止偏移量end 以及可选的步长step 来定义一个分片. 格式: [start:en ...

  3. keepalived的常见的健康检查方式

    TCP_CHECK tcp端口检测 HTTP_GET http接口检测 MISC_CHECK 自定义脚本检测 tcp端口检测 TCP_CHECK { connect_port 80 connect_t ...

  4. postgresql数据库安装后的pgadmin4中无法加载本地连接解决办法

    postgresql 在安装最后一步提示the database cluster initialisation failed, 而后点开pgadmin4发现如下图所示 经过百度搜索找出问题原因, 由于 ...

  5. [JZOJ3187]【GDOI2013模拟8】的士

    题目 描述 题目大意 在一个数轴上,有些人要从某个点到达另一个点. 出租车从最左端出发,将所有人送到它们的目的地,最终到达最右边的点. 出租车只能做一个乘客,并且可以在图中将乘客丢下. 问最短时间. ...

  6. 【JZOJ3303】城市规划

    description 刚刚解决完电力网络的问题, 阿狸又被领导的任务给难住了. 刚才说过, 阿狸的国家有n 个城市, 现在国家需要在某些城市对之间建立一些贸易路线, 使得整个国家的任意两个城市都直接 ...

  7. 廖雪峰Java11多线程编程-3高级concurrent包-1ReentrantLock

    线程同步: 是因为多线程读写竞争资源需要同步 Java语言提供了synchronized/wait/notify来实现同步 编写多线程同步很困难 所以Java提供了java.util.concurre ...

  8. 0901NOIP模拟测试赛后总结

    突然想学迪哥列一下分数线搞清楚自己和别人的差距. rank1- 5- 6-分. 差距很大啊.尤其是和某kyh.大家都开玩笑说天皇是个变态.但是事实摆在这儿,同样坐在机房这么长的时间,人家又AK了. 我 ...

  9. 杂项-公司:IBM

    ylbtech-杂项-公司:IBM IBM (IT公司-国际商业机器公司) IBM(国际商业机器公司)或万国商业机器公司,简称IBM(International Business Machines C ...

  10. 郝斌–SQL Server2005学习笔记

    数据库(Database)狭义上是指存储数据的仓库,广义上包含对数据进行存储和管理的软件(DBMS)和数据本身.数据库由表.关系和操作组成. 一.数据库简介 1.为什么需要数据库 数据库简化了对数据的 ...