现在gre
linux 下的 coreutils是做什么用的coreutils 是GNU下的一个软件包 , 包含linux下的 ls等常用命令 。这些命令的实现要依赖于shell程序 。
一般在系统中都默认安装,也可自己安装或更新 。
例如,安装coreutils-6.7.tar.gz , 安装后,
打开linuxptx命令你的linux,执行如下linuxptx命令:(Debian,gentoo例外)
[root@lee ~]# rpm -qi coreutils-5.2.1-32
Name: coreutilsRelocations: (not relocatable)
Version: 5.2.1Vendor: (none)
Release: 32Build Date: 2006年07月13日 星期四 00时12分39秒
Install Date: 2007年03月15日 星期四 11时50分49秒Build Host: koumei.asianux.com
Group: System Environment/BaseSource RPM: coreutils-5.2.1-32.src.rpm
Size: 8089056License: GPL
Signature: (none)
URL:
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
推荐阅读
- 兴文网红直播视频,兴文网红直播视频大全
- 企业视频号怎么取消,企业 视频号
- css字体图标大小,css中字体大小
- go语言的编译方法 go语言编程
- ios开发发布证书过期,ios开发证书下载
- 玩虚拟机分区要多大空间,虚拟机需要分盘吗
- ppt翻页箭头怎么删掉,ppt里的翻页动画怎么删除
- linux多文件复制命令 linux如何复制多个文件到一个目录
- 什么手机游戏很像电脑游戏,跟电脑一样的手机