...nel/msgmni upon the addition or removal of memory or upon IPC namespace creation/removal. Echoing "1" into this file enabled msgmni automatic recomputing (and triggered a recomp…...ty is inactive on bootup. A sampling period can be started using the following command: # echo 1 > /proc/timer_stats The following command stops a sampling period: # echo 0 > /p…...process. An unprivileged process may lack permissions to open them, as in this example: $ echo test | sudo -u nobody cat test $ echo test | sudo -u nobody cat /proc/self/fd/0 ca…...fs /etc # Mount empty tmpfs at /etc sh1# mount --bind /usr /dev # Mount /usr at /dev sh1# echo $$ 27123 In a second terminal window, in the initial mount namespace, we look at t…...nd which allows root to add a hotplugged device to the list of known devices. The command echo 'scsi add-single-device 1 0 5 0' > /proc/scsi/scsi will cause host scsi1 to scan o…...of caching to be lost, it can degrade overall system performance. To free pagecache, use: echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes, use: echo 2 > /proc/sys/…Service unit configuration NAME systemd.service - Service unit configuration SYNOPSIS service .service DESCRIPTION A unit configuration file whose name ends in ".service" encodes i…...seful to set coredump_filter in the parent shell before running a program, for example: $ echo 0x7 > /proc/self/coredump_filter $ ./some_program This file is provided only if th…...For example, to use a red background for alert messages in the output of dmesg (1), use: echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme Comments Lines where the first…...particular cache can be set by writing lines of the following form to /proc/slabinfo : # echo 'name limit batchcount sharedfactor' > /proc/slabinfo Here, name is the cache name,…...standard error output are forwarded to git send-pack on the other end, so you can simply echo messages for the user. The number of push options given on the command line of git …...ample: $ cat .gitignore vmlinux* $ ls arch/foo/kernel/vm* arch/foo/kernel/vmlinux.lds.S $ echo '!/vmlinux*' >arch/foo/kernel/.gitignore The second .gitignore prevents Git from i…Operating system identification NAME os-release, initrd-release, extension-release - Operating system identification SYNOPSIS /etc/os-release /usr/lib/os-release /etc/initrd-releas…Operating system identification NAME os-release, initrd-release, extension-release - Operating system identification SYNOPSIS /etc/os-release /usr/lib/os-release /etc/initrd-releas…...to connect to an upload-pack process on the server side over the Git protocol is this: $ echo -e -n \ "003agit-upload-pack /schacon/gitbook.git\0host=example.com\0" | nc -v exam…Operating system identification NAME os-release, initrd-release, extension-release - Operating system identification SYNOPSIS /etc/os-release /usr/lib/os-release /etc/initrd-releas…...lean: :bs:\ Numeric: :co#80:\ String: :sr=\E[H:\ Boolean capabilities 5i Printer will not echo on screen am Automatic margins which means automatic line wrap bs Control-H (8 dec…...scriptions) (look for "VFS: file-max limit <number> reached"), try increasing this value: echo 100000 > /proc/sys/fs/file-max Privileged processes ( CAP_SYS_ADMIN ) can override…...on, at and print jobs: #! /bin/sh # Check for the required argument. if [ $# != 1 ]; then echo "Usage: $0 username" exit 1 fi # Remove cron jobs. crontab -r -u $1 # Remove at jo…Configuration for creation, deletion, and cleaning of files and directories NAME tmpfiles.d - Configuration for creation, deletion, and cleaning of files and directories SYNOPSIS /…