find . -type f -exec grep -l "<sub-string>" {} \; /* Find filenames containing <sub-string> within directory tree */ find . -type f -print | xargs grep -i [PATTERN] /* Recursive grep on files */ find / -user <
*/ void * vm_private_data; /* was vm_pte (shared mem) */ #ifdef CONFIG_ANON_VMA_NAME /* * For private and shared anonymous mappings, a pointer to a null * terminated string containing the name given to the vma, or NULL if * unnamed. Serialized by mmap_sem. Use anon_vma_name ...
Shows the login name of the current user. logout Performs the logout operation by making changes to the utmp and wtmp files. logrotate Used for automatic rotation, compression, removal, and mailing of system log files. look Shows any lines in a file containing a given string in the beginnin...
root@raspberrypi:/opt/labpark# find -name *.c ./hello.c 1 2 root@raspberrypi:/opt/labpark# find -iname FACE* ./facebook.txt 注意: `-name‘选项是搜索大小写敏感。可以使用`-iname‘选项,这样在搜索中可以忽略大小写。(*是通配符,可以搜索所有的文件;‘.sh‘你可以使用文件名或者文件名的一部分...
For example, grep -lZ outputs a zero byte after each file name instead of the usual newline. This option makes the output unambiguous, even in the presence of file names containing unusual characters like newlines. This option can be used with commands like find -print0, perl -0, sort -...
(CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK)/** Various SoCs need something special and SoC-specific up front in* order to boot, allow them to set that in their boot0.h file and then* use it here.** To allow a boot0 hook to insert a 'special' sequence after the vector* table (e.g. ...
Main operation mode: -A, --catenate, --concatenate append tar files to an archive -c, --create create a new archive -d, --diff, --compare find differences between archive and file system --delete delete from the archive (not on mag tapes!) -r, --append append files to the end ...
mount procfs (default: '/proc') --proc_rw Is procfs mounted as R/W (default: R/O) --seccomp_policy|-P VALUE Path to file containing seccomp-bpf policy (see kafel/) --seccomp_string VALUE String with kafel seccomp-bpf policy (see kafel/) --seccomp_log Use SECCOMP_FILTER_FLAG_LOG....
std::cout <<"The file " << event->name << " was modified." << std::endl; } } } i += EVENT_SIZE + event->len; } } bool FsMonitor::RemoveItem(const std::string &item_name) { auto find_item = item_wd_.find(item_name); ...
Disables file locking. This setting can be required when you connect to very old NFS servers. noexec Prevents execution of binaries on mounted file systems. This is useful if the system is mounting a non-Linux file system containing incompatible binaries. ...