• Aucun résultat trouvé

GNU Coreutils Cheat Sheet (v1.00)

N/A
N/A
Protected

Academic year: 2022

Partager "GNU Coreutils Cheat Sheet (v1.00)"

Copied!
1
0
0

Texte intégral

(1)

Utility Utility

arch nproc

base64 od

basename paste

cat pathchk

chcon pinky

chgrp pr

chmod printenv

chown printf

chroot ptx

cksum pwd

comm readlink

cp realpath

csplit rm

cut rmdir

date runcon

dd seq

df setuidgid

dir sha1sum

dircolors shred

dirname shuf

du sleep

echo sort

env split

expand stat

expr stdbuf

factor stty

false su

fmt sum

fold sync

getlimits tac

groups tail

head tee

hostid test

hostname timeout

id touch

install tr

join true

kill truncate

link tsort

ln tty

logname uname

ls unexpand

md5sum uniq

mkdir unlink

mkfifo uptime

mknod users

mktemp vdir

mv wc

nice who

nl whoami

nohup yes

Change SELinux context of file Change group ownership of files Change permission modes of files Change user and group ownership of files Run command or shell with special root directory Print CRC checksum and byte counts

GNU Coreutils Cheat Sheet (v1.00)

Description

Print machine hardware name Base64 encode/decode strings or files Strip directory and suffix from file names Concatenate files and print on the standard output

Summarize free disk space Briefly list directory contents Color setup for ls

Strip suffix from file name Summarize disk usage Write to the terminal

Compare two sorted files line by line Copy files

Split a file into context-determined pieces Remove parts of lines of files

Print or set the system date and time Convert a file while copying it

Print the groups a user is in Output first part of file(s) Print numeric host identifier

Set or print the name of current host system Run a program in a modified environment Convert tabs to spaces

Evaluate expressions Print prime factors of n

Exit with a status code indicating failure Simple text formatter

Create a temporary file or directory, safely Move or rename files

Run a program with modified niceness Number lines of files

Run a command immune to hangups

Description

Print the number of processors Dump files in octal and other formats Merge lines of files

Check whether file names are valid or portable

Print user's login name List files

Compute checksums of files or strings Make directories

Make fifos (named pipes)

Make a fifo, character file, or block file Print real and effective UIDs and GIDs Copy files and set attributes

Join lines of two files on a common field Send a signal to a process

Create a hard link Create links between files

Wrap each input line to fit in specified width Print various platform dependent limits

Display value of a symbolic link Print the resolved file name Delete files

Remove directories

Run command with specified security context Print sequence of numbers to standard output Lightweight finger

Convert text files for printing Print all or part of environment Format and print data

Permuted index for GNU, with keywords in their context Print current directory

Split a file into pieces Display file or file system status

Run a command with modified I/O stream buffering Change and print terminal line settings

Run a shell with substitute user and group IDs Checksum and count the blocks in a file

Run a command with the UID and GID of a specified user Print or check SHA-1 digests

Overwrite files and devices to make it harder to recover data Shuffle lines of text

Delay for a specified amount of time Sort lines of text (with all kinds of options)

Verbosely list directory contents

Print the number of lines, words, and bytes in files Print who is currently logged in

Print effective user ID

Output a string repeatedly until killed

Created by Peteris Krumins ([email protected], www.catonmat.net -- good coders code, great coders reuse)

Print system information Convert blanks to tabs

Remove duplicate lines from a sorted file Remove files via the unlink syscall Print system uptime and load

Print login names of users currently logged in Change modification and access times of files A filter to translate characters

Exit with a status code indicating success Truncate or extend the length of files Topological sort

Print the name of the terminal connected to standard input Synchronize data on disk with memory

Concatenate and print files in reverse Output the last part of file(s)

Read from standard input and write to standard output and files Check file types and compare values

Run a command with bounded time

Références

Documents relatifs

Methods of Creating Files File and Directory Names File and Directory Wildcards Managing Your Files..

[r]

For local pathnames, pathl indicates the pathname an object should have on the machine where the entry is to be installed and path2 indicates either a relative or fixed

[r]

But if de jure coreference is a matter of belonging to a single file, and if, in turn, belonging to a single file is a matter of ‗being taken to be about the same object‘, then (i) de

Après levée d'exception, recherche dans la pile d'appel d'un bloc qui capte l'exception. Pile p =

Useful to make sure files are identical, DIR Sorted current or declared directory files with sizes and disk space used and remaining are displayed on console with this command..

the system, such as printer and file server names and addresses, the setup types currently available to the printers, and the numbers of those slots containing