Search results
Results from the WOW.Com Content Network
The /dev/null argument is used to show the name of the file before the text that is found. Without it, only the text found is printed. (Alternatively, some versions of grep support a -H flag that forces the file name to be printed.) GNU grep can be used on its own to perform this task: $
xargs is also a good companion for commands that output long lists of files such as find, locate and grep, but only if one uses -0 (or equivalently --null), since xargs without -0 deals badly with file names containing ', " and space.
grep is a command-line utility for searching plaintext datasets for lines that match a regular expression.Its name comes from the ed command g/re/p (global regular expression search and print), which has the same effect.
Name Description chcon: Changes file security context chgrp: Changes file group ownership chown: Changes file ownership chmod: Changes the permissions of a file or directory cp: Copies a file or directory dd: Copies and converts a file df: Shows disk free space on file systems dir: Is exactly like "ls -C -b". (Files are by default listed in ...
Create a tags file 3BSD cut: Text processing Mandatory Cut out selected fields of each line of a file System III cxref: C programming Optional (XSI) Generate a C-language program cross-reference table System V date: Misc Mandatory Display the date and time Version 1 AT&T UNIX dd: Filesystem Mandatory Convert and copy a file Version 5 AT&T UNIX ...
for all files in use by the process, including the executing text file and the shared libraries it is using: the file descriptor number of the file, if applicable; the file's access mode; the file's lock status; the file's device numbers; the file's inode number; the file's size or offset; the name of the file system containing the file;
$ apropos mount free (1) - Display amount of free and used memory in the system mklost+found (8) - create a lost+found directory on a mounted Linux second extended file system mount (8) - mount a file system mountpoint (1) - see if a directory is a mountpoint ntfsmount (8) - Read/Write userspace NTFS driver. sleep (1) - delay for a specified ...
pgrep is a command-line utility initially written for use with the Solaris 7 operating system by Mike Shapiro.It has since been available in illumos and reimplemented for the Linux and BSDs (DragonFly BSD, FreeBSD, NetBSD, and OpenBSD).