This repository was archived by the owner on Dec 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcommands.example.json
More file actions
1 lines (1 loc) · 563 KB
/
commands.example.json
File metadata and controls
1 lines (1 loc) · 563 KB
1
{"commands":[{"id":2,"programId":1,"title":"Archive a file or folder","rawContent":"7z a {{archived.7z}} {{path/to/file}}"},{"id":3,"programId":1,"title":"Encrypt an existing archive (including headers)","rawContent":"7z a {{encrypted.7z}} -p{{password}} -mhe {{archived.7z}}"},{"id":4,"programId":1,"title":"Extract an existing 7z file with original directory structure","rawContent":"7z x {{archived.7z}}"},{"id":5,"programId":1,"title":"Extract an archive with user-defined output path","rawContent":"7z x {{archived.7z}} -o{{path/to/output}}"},{"id":6,"programId":1,"title":"Archive using a specific archive type","rawContent":"7z a -t {{zip|gzip|bzip2|tar|...}} {{archived.7z}} {{path/to/file}}"},{"id":7,"programId":1,"title":"List available archive types","rawContent":"7z i"},{"id":8,"programId":1,"title":"List the contents of an archive file","rawContent":"7z l {{archived.7z}}"},{"id":9,"programId":2,"title":"Archive a file or folder","rawContent":"7za a {{archived.7z}} {{path/to/file}}"},{"id":10,"programId":2,"title":"Extract an existing 7z file with original directory structure","rawContent":"7za x {{archived}}"},{"id":11,"programId":2,"title":"Archive using a specific archive type","rawContent":"7za a -t{{zip|gzip|bzip2|tar|...}} {{archived}} {{path/to/file}}"},{"id":12,"programId":2,"title":"List available archive types","rawContent":"7za i"},{"id":13,"programId":2,"title":"List the contents of an archive file","rawContent":"7za l {{archived}}"},{"id":14,"programId":3,"title":"Archive a file or folder","rawContent":"7zr a {{archived.7z}} {{path/to/file}}"},{"id":15,"programId":3,"title":"Extract an existing 7z file with original directory structure","rawContent":"7zr x {{archived.7z}}"},{"id":16,"programId":3,"title":"List the contents of an archive file","rawContent":"7zr l {{archived.7z}}"},{"id":17,"programId":4,"title":"Execute 100 HTTP GET requests to given URL","rawContent":"ab -n 100 {{url}}"},{"id":18,"programId":4,"title":"Execute 100 HTTP GET requests, processing up to 10 requests concurrently, to given URL","rawContent":"ab -n 100 -c 10 {{url}}"},{"id":19,"programId":5,"title":"Find files containing \"foo\"","rawContent":"ack {{foo}}"},{"id":20,"programId":5,"title":"Find files in a specific language","rawContent":"ack --ruby {{each_with_object}}"},{"id":21,"programId":5,"title":"Count the total number of matches for the term \"foo\"","rawContent":"ack -ch {{foo}}"},{"id":22,"programId":5,"title":"Show the file names containing \"foo\" and number of matches in each file","rawContent":"ack -cl {{foo}}"},{"id":23,"programId":6,"title":"Check whether the adb server process is running and start it","rawContent":"adb start-server"},{"id":24,"programId":6,"title":"Terminate the adb server process","rawContent":"adb kill-server"},{"id":25,"programId":6,"title":"Start a remote shell in the target emulator/device instance","rawContent":"adb shell"},{"id":26,"programId":6,"title":"Push an Android application to an emulator/device","rawContent":"adb install -r {{path/to/file.apk}}"},{"id":27,"programId":6,"title":"Copy a file/folder from the target device","rawContent":"adb pull {{path/to/device_file_or_folder}} {{path/to/local_destination_folder}}"},{"id":28,"programId":6,"title":"Copy a file/folder to the target device","rawContent":"adb push {{path/to/local_file_or_folder}} {{path/to/device_destination_folder}}"},{"id":29,"programId":6,"title":"Get a list of connected devices","rawContent":"adb devices"},{"id":30,"programId":7,"title":"Find files containing \"foo\", and print the line matches in context","rawContent":"ag {{foo}}"},{"id":31,"programId":7,"title":"Find files containing \"foo\", but only list the filenames","rawContent":"ag -l {{foo}}"},{"id":32,"programId":7,"title":"Find files containing \"FOO\" case-insensitively, and print only the match, rather than the whole line","rawContent":"ag -i -o {{FOO}}"},{"id":33,"programId":7,"title":"Find \"foo\" in files with a name matching \"bar\"","rawContent":"ag {{foo}} -G {{bar}}"},{"id":34,"programId":7,"title":"Find files whose contents match a regular expression","rawContent":"ag '{{^ba(r|z)$}}'"},{"id":35,"programId":7,"title":"Find files with a name matching \"foo\"","rawContent":"ag -g {{foo}}"},{"id":36,"programId":8,"title":"Send file","rawContent":"airpaste < {{file.txt}}"},{"id":37,"programId":8,"title":"Receive file","rawContent":"airpaste > {{file.txt}}"},{"id":38,"programId":8,"title":"Create/Join channel","rawContent":"airpaste {{channel_name}}"},{"id":39,"programId":9,"title":"Create a generic alias","rawContent":"alias {{word}}=\"{{command}}\""},{"id":40,"programId":9,"title":"View the command associated to a given alias","rawContent":"alias {{word}}"},{"id":41,"programId":9,"title":"Remove an aliased command","rawContent":"unalias {{word}}"},{"id":42,"programId":9,"title":"List all aliased words","rawContent":"alias -p"},{"id":43,"programId":9,"title":"Turn rm into an interactive command","rawContent":"alias {{rm}}=\"{{rm -i}}\""},{"id":44,"programId":9,"title":"Create `la` as a shortcut for `ls -a`","rawContent":"alias {{la}}=\"{{ls -a}}\""},{"id":45,"programId":10,"title":"Install a role","rawContent":"ansible-galaxy install {{username.role_name}}"},{"id":46,"programId":10,"title":"Remove a role","rawContent":"ansible-galaxy remove {{username.role_name}}"},{"id":47,"programId":10,"title":"List installed roles","rawContent":"ansible-galaxy list"},{"id":48,"programId":10,"title":"Search for a given role","rawContent":"ansible-galaxy search {{role_name}}"},{"id":49,"programId":10,"title":"Create a new role","rawContent":"ansible-galaxy init {{role_name}}"},{"id":50,"programId":11,"title":"Run tasks in playbook","rawContent":"ansible-playbook {{playbook}}"},{"id":51,"programId":11,"title":"Run tasks in playbook with custom host inventory","rawContent":"ansible-playbook {{playbook}} -i {{inventory_file}}"},{"id":52,"programId":11,"title":"Run tasks in playbook with extra variables defined via the command line","rawContent":"ansible-playbook {{playbook}} -e \"{{variable1}}={{value1}} {{variable2}}={{value2}}\""},{"id":53,"programId":11,"title":"Run tasks in playbook with extra variables defined in a json file","rawContent":"ansible-playbook {{playbook}} -e \"@{{variables.json}}\""},{"id":54,"programId":12,"title":"List hosts belonging to a group","rawContent":"ansible {{group}} --list-hosts"},{"id":55,"programId":12,"title":"Ping a group of hosts by invoking the ping module","rawContent":"ansible {{group}} -m ping"},{"id":56,"programId":12,"title":"Display facts about a group of hosts by invoking the setup module","rawContent":"ansible {{group}} -m setup"},{"id":57,"programId":12,"title":"Execute a command on a group of hosts by invoking command module with arguments","rawContent":"ansible {{group}} -m command -a '{{my command}}'"},{"id":58,"programId":12,"title":"Execute a command with administrative privileges","rawContent":"ansible {{group}} --become --ask-become-pass -m command -a '{{my command}}'"},{"id":59,"programId":12,"title":"Execute a command using a custom inventory file","rawContent":"ansible {{group}} -i {{inventory_file}} -m command -a '{{my command}}'"},{"id":60,"programId":13,"title":"Create random passwords (default password length is 8)","rawContent":"apg"},{"id":61,"programId":13,"title":"Create a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L)","rawContent":"apg -M SNCL"},{"id":62,"programId":13,"title":"Create a password with 16 characters","rawContent":"apg -m {{16}}"},{"id":63,"programId":13,"title":"Create a password with maximum length of 16","rawContent":"apg -x {{16}}"},{"id":64,"programId":13,"title":"Create a password that doesn't appear in a dictionary (the dictionary file has to be provided)","rawContent":"apg -r {{dictionary_file}}"},{"id":65,"programId":14,"title":"Install packages from http://atom.io/packages and themes from http://atom.io/themes","rawContent":"apm install {{package_name}}"},{"id":66,"programId":14,"title":"Remove packages/themes","rawContent":"apm remove {{package_name}}"},{"id":67,"programId":14,"title":"Upgrade packages/themes","rawContent":"apm upgrade {{package_name}}"},{"id":68,"programId":15,"title":"Search for keyword","rawContent":"apropos {{regular_expression}}"},{"id":69,"programId":15,"title":"Search without restricting output to terminal width","rawContent":"apropos -l {{regular_expression}}"},{"id":70,"programId":16,"title":"Extract all members from an archive","rawContent":"ar -x {{libfoo.a}}"},{"id":71,"programId":16,"title":"List the members of an archive","rawContent":"ar -t {{libfoo.a}}"},{"id":72,"programId":16,"title":"Replace or add files to an archive","rawContent":"ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}"},{"id":73,"programId":16,"title":"Insert an object file index (equivalent to using `ranlib`)","rawContent":"ar -s {{libfoo.a}}"},{"id":74,"programId":16,"title":"Create an archive with files and an accompanying object file index","rawContent":"ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}"},{"id":75,"programId":17,"title":"Download a URI to a file","rawContent":"aria2c {{url}}"},{"id":76,"programId":17,"title":"Download from multiple sources","rawContent":"aria2c {{url_1}} {{url_2}}"},{"id":77,"programId":17,"title":"Download the URIs listed in a file","rawContent":"aria2c -i {{filename}}"},{"id":78,"programId":17,"title":"Download with multiple connections","rawContent":"aria2c -s {{connections_num}} {{url}}"},{"id":79,"programId":17,"title":"FTP download with username and password","rawContent":"aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}"},{"id":80,"programId":18,"title":"Show current arp table","rawContent":"arp -a"},{"id":81,"programId":18,"title":"Clear the entire cache","rawContent":"sudo arp -a -d"},{"id":82,"programId":18,"title":"Delete a specific entry","rawContent":"arp -d {{address}}"},{"id":83,"programId":18,"title":"Create an entry","rawContent":"arp -s {{address}} {{mac address}}"},{"id":84,"programId":19,"title":"List all supported import formats","rawContent":"assimp listext"},{"id":85,"programId":19,"title":"List all supported export formats","rawContent":"assimp listexport"},{"id":86,"programId":19,"title":"Convert a file to one of the supported output formats, using the default parameters","rawContent":"assimp export {{input_file.stl}} {{output_file.obj}}"},{"id":87,"programId":19,"title":"Convert a file using custom parameters (the dox_cmd.h file in assimp's source code lists available parameters)","rawContent":"assimp export {{input_file.stl}} {{output_file.obj}} {{parameters}}"},{"id":88,"programId":19,"title":"Display a summary of a 3D file's contents","rawContent":"assimp info {{path/to/file}}"},{"id":89,"programId":19,"title":"List all supported subcommands (\"verbs\")","rawContent":"assimp help"},{"id":90,"programId":19,"title":"Get help on a specific subcommand (e.g. the parameters specific to it)","rawContent":"assimp {{subcommand}} --help"},{"id":91,"programId":20,"title":"Apply the default style of 4 spaces per indent and no formatting changes","rawContent":"astyle {{source_file}}"},{"id":92,"programId":20,"title":"Apply the java style with attached braces","rawContent":"astyle --style=java {{path/to/file}}"},{"id":93,"programId":20,"title":"Apply the allman style with broken braces","rawContent":"astyle --style=allman {{path/to/file}}"},{"id":94,"programId":20,"title":"Apply a custom indent using spaces. Choose between 2 and 20 spaces","rawContent":"astyle --indent=spaces={{number_of_spaces}} {{path/to/file}}"},{"id":95,"programId":20,"title":"Apply a custom indent using tabs. Choose between 2 and 20 tabs","rawContent":"astyle --indent=tab={{number_of_tabs}} {{path/to/file}}"},{"id":96,"programId":21,"title":"Execute commands from standard input in 5 minutes (press `Ctrl + D` after entering commands)","rawContent":"at now + 5 min"},{"id":97,"programId":21,"title":"Execute a command from standard input at 10:00 AM today","rawContent":"echo \"{{./make_db_backup.sh}}\" | at 1000"},{"id":98,"programId":21,"title":"Execute commands from a given file next Tuesday","rawContent":"at -f {{path/to/file}} 9:30 PM Tue"},{"id":99,"programId":22,"title":"Open a file or folder","rawContent":"atom {{path/to/file_or_folder}}"},{"id":100,"programId":22,"title":"Open a file or folder in a new window","rawContent":"atom -n {{path/to/file_or_folder}}"},{"id":101,"programId":22,"title":"Open atom in safe mode (does not load any additional packages)","rawContent":"atom --safe"},{"id":102,"programId":22,"title":"Prevent atom from forking into the background, keeping atom attached to the terminal","rawContent":"atom --foreground"},{"id":103,"programId":23,"title":"Show the current user's scheduled jobs","rawContent":"atq"},{"id":104,"programId":23,"title":"Show jobs from queue named 'a' (queues have single-character names)","rawContent":"atq -q {{a}}"},{"id":105,"programId":23,"title":"Show jobs of all users (run as super user)","rawContent":"sudo atq"},{"id":106,"programId":24,"title":"Remove job number 10","rawContent":"atrm {{10}}"},{"id":107,"programId":24,"title":"Remove many jobs, separated by spaces","rawContent":"atrm {{15}} {{17}} {{22}}"},{"id":108,"programId":25,"title":"Remove unused variables from a single file and display the diff","rawContent":"autoflake --remove-unused-variables {{file.py}}"},{"id":109,"programId":25,"title":"Remove unused imports from multiple files and display the diffs","rawContent":"autoflake --remove-all-unused-imports {{file1.py}} {{file2.py}} {{file3.py}}"},{"id":110,"programId":25,"title":"Remove unused variables from a file, overwriting the file","rawContent":"autoflake --remove-unused-variables --in-place {{file.py}}"},{"id":111,"programId":25,"title":"Remove unused variables recursively from all files in a directory, overwriting each file","rawContent":"autoflake --remove-unused-variables --in-place --recursive {{path/to/directory}}"},{"id":112,"programId":26,"title":"Jump to a directory that contains the given pattern","rawContent":"j {{pattern}}"},{"id":113,"programId":26,"title":"Jump to a sub-directory (child) of the current directory that contains the given pattern","rawContent":"jc {{pattern}}"},{"id":114,"programId":26,"title":"Remove non-existing directories from the autojump database","rawContent":"j --purge"},{"id":115,"programId":26,"title":"Show the entries in the autojump database","rawContent":"j -s"},{"id":116,"programId":27,"title":"Open an SSH session, restarting when a monitoring port fails return data","rawContent":"autossh -M {{monitor_port}} {{ssh_command}}"},{"id":117,"programId":27,"title":"Open an SSH session which forwards a local port to a remote one, restarting if necessary","rawContent":"autossh -M {{monitor_port}} -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}"},{"id":118,"programId":27,"title":"Fork before executing ssh (runs in the background) and don't open a remote shell","rawContent":"autossh -f -M {{monitor_port}} -N {{ssh_command}}"},{"id":119,"programId":27,"title":"Run autossh in the background, with no monitoring port, instead relying on SSH keep-alives every 10 seconds to detect failure","rawContent":"autossh -f -M 0 -N -o \"ServerAliveInterval 10\" -o \"ServerAliveCountMax 3\" {{ssh_command}}"},{"id":120,"programId":27,"title":"Run autossh in the background, with no monitoring port, no remote shell, exiting if the port forward fails","rawContent":"autossh -f -M 0 -N -o \"ServerAliveInterval 10\" -o \"ServerAliveCountMax 3\" -o ExitOnForwardFailure=yes -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}"},{"id":121,"programId":27,"title":"Run autossh in the background with debug output logged to a file and ssh verbose output logged to a second file","rawContent":"AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{log_file}} autossh -f -M {{monitor_port}} -v -E {{ssh_log_file}} {{ssh_command}}"},{"id":122,"programId":28,"title":"Read AVR microcontroller","rawContent":"avrdude -p {{AVR_device}} -c {{programmer}} -U flash:r:{{file.hex}}:i"},{"id":123,"programId":28,"title":"Write AVR microcontroller","rawContent":"avrdude -p {{AVR_device}} -c {{programmer}} -U flash:w:{{file.hex}}"},{"id":124,"programId":28,"title":"List available AVR devices","rawContent":"avrdude -p \\?"},{"id":125,"programId":28,"title":"List available AVR programmers","rawContent":"avrdude -c \\?"},{"id":126,"programId":29,"title":"Print the fifth column (a.k.a. field) in a space-separated file","rawContent":"awk '{print $5}' {{filename}}"},{"id":127,"programId":29,"title":"Print the second column of the lines containing \"something\" in a space-separated file","rawContent":"awk '/{{something}}/ {print $2}' {{filename}}"},{"id":128,"programId":29,"title":"Print the last column of each line in a file, using a comma (instead of space) as a field separator","rawContent":"awk -F ',' '{print $NF}' {{filename}}"},{"id":129,"programId":29,"title":"Sum the values in the first column of a file and print the total","rawContent":"awk '{s+=$1} END {print s}' {{filename}}"},{"id":130,"programId":29,"title":"Sum the values in the first column and pretty-print the values and then the total","rawContent":"awk '{s+=$1; print $1} END {print \"--------\"; print s}' {{filename}}"},{"id":131,"programId":29,"title":"Print every third line starting from the first line","rawContent":"awk 'NR%3==1' {{filename}}"},{"id":132,"programId":30,"title":"Show files in a bucket","rawContent":"aws s3 ls {{bucket_name}}"},{"id":133,"programId":30,"title":"Sync files and folders from local to bucket","rawContent":"aws s3 sync {{path/to/files}} s3://{{bucket_name}}"},{"id":134,"programId":30,"title":"Sync files and folders from bucket to local","rawContent":"aws s3 sync s3://{{bucket_name}} {{path/to/target}}"},{"id":135,"programId":30,"title":"Sync files and folders with exclusions","rawContent":"aws s3 sync {{path/to/files}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/folder}}/*"},{"id":136,"programId":30,"title":"Remove file from bucket","rawContent":"aws s3 rm s3://{{bucket}}/{{path/to/file}}"},{"id":137,"programId":30,"title":"Preview changes only","rawContent":"aws s3 {{any_command}} --dryrun"},{"id":138,"programId":31,"title":"Download a URL to a file","rawContent":"axel {{url}}"},{"id":139,"programId":31,"title":"Download and specify filename","rawContent":"axel {{url}} -o {{filename}}"},{"id":140,"programId":31,"title":"Download with multiple connections","rawContent":"axel -n {{connections_num}} {{url}}"},{"id":141,"programId":31,"title":"Search for mirrors","rawContent":"axel -S {{mirrors_num}} {{url}}"},{"id":142,"programId":31,"title":"Limit download speed (bytes per second)","rawContent":"axel -s {{speed}} {{url}}"},{"id":143,"programId":32,"title":"Transpile a specified input file and output to stdout","rawContent":"babel {{path/to/file}}"},{"id":144,"programId":32,"title":"Transpile a specified input file and output to a specific file","rawContent":"babel {{path/to/input_file}} --out-file {{path/to/output_file}}"},{"id":145,"programId":32,"title":"Transpile the input file every time it is changed","rawContent":"babel {{path/to/input_file}} --watch"},{"id":146,"programId":32,"title":"Transpile a whole directory of files","rawContent":"babel {{path/to/input_directory}}"},{"id":147,"programId":32,"title":"Ignore specified comma-separated files in a directory","rawContent":"babel {{path/to/input_directory}} --ignore {{ignored_files}}"},{"id":148,"programId":32,"title":"Transpile and output as minified JavaScript","rawContent":"babel {{path/to/input_file}} --minified"},{"id":149,"programId":32,"title":"Choose a set of presets for output formatting","rawContent":"babel {{path/to/input_file}} --presets {{presets}}"},{"id":150,"programId":32,"title":"Output all available options","rawContent":"babel --help"},{"id":151,"programId":33,"title":"Search a disk for bad blocks by using a non-destructive read-only test","rawContent":"sudo badblocks {{/dev/sda}}"},{"id":152,"programId":33,"title":"Search an unmounted disk for bad blocks with a non-destructive read-write test","rawContent":"sudo badblocks -n {{/dev/sda}}"},{"id":153,"programId":33,"title":"Search an unmounted disk for bad blocks with a destructive write test","rawContent":"sudo badblocks -w {{/dev/sda}}"},{"id":154,"programId":34,"title":"Encode a file","rawContent":"base32 {{filename}}"},{"id":155,"programId":34,"title":"Decode a file","rawContent":"base32 -d {{filename}}"},{"id":156,"programId":34,"title":"Encode from stdin","rawContent":"{{somecommand}} | base32"},{"id":157,"programId":34,"title":"Decode from stdin","rawContent":"{{somecommand}} | base32 -d"},{"id":158,"programId":35,"title":"Encode a file","rawContent":"base64 {{filename}}"},{"id":159,"programId":35,"title":"Decode a file","rawContent":"base64 -d {{filename}}"},{"id":160,"programId":35,"title":"Encode from stdin","rawContent":"{{somecommand}} | base64"},{"id":161,"programId":35,"title":"Decode from stdin","rawContent":"{{somecommand}} | base64 -d"},{"id":162,"programId":36,"title":"Show only the file name from a path","rawContent":"basename {{path/to/file}}"},{"id":163,"programId":36,"title":"Show only the file name from a path, with a suffix removed","rawContent":"basename {{path/to/file}} {{suffix}}"},{"id":164,"programId":37,"title":"Start interactive shell","rawContent":"bash"},{"id":165,"programId":37,"title":"Execute a command","rawContent":"bash -c \"{{command}}\""},{"id":166,"programId":37,"title":"Run commands from a file","rawContent":"bash {{file.sh}}"},{"id":167,"programId":37,"title":"Run commands from a file, logging all commands executed to the terminal","rawContent":"bash -x {{file.sh}}"},{"id":168,"programId":37,"title":"Run commands from STDIN","rawContent":"bash -s"},{"id":169,"programId":37,"title":"Print the version information of bash (use `echo $BASH_VERSION` to show just the version string)","rawContent":"bash --version"},{"id":170,"programId":38,"title":"List available bookmarks","rawContent":"l"},{"id":171,"programId":38,"title":"Save the current folder as \"bookmark_name\"","rawContent":"s {{bookmark_name}}"},{"id":172,"programId":38,"title":"Go to a bookmarked folder","rawContent":"g {{bookmark_name}}"},{"id":173,"programId":38,"title":"Print a bookmarked folder's contents","rawContent":"p {{bookmark_name}}"},{"id":174,"programId":38,"title":"Delete a bookmark","rawContent":"d {{bookmark_name}}"},{"id":175,"programId":39,"title":"Execute a command from standard input","rawContent":"echo \"{{./make_db_backup.sh}}\" | batch"},{"id":176,"programId":39,"title":"Execute commands from a given file","rawContent":"batch -f {{path/to/file}}"},{"id":177,"programId":39,"title":"Execute commands from standard input (press `Ctrl + D` when finished)","rawContent":"batch"},{"id":178,"programId":40,"title":"Run calculator in interactive mode using the standard math library","rawContent":"bc -l"},{"id":179,"programId":40,"title":"Calculate the result of an expression","rawContent":"bc <<< \"(1 + 2) * 2 ^ 2\""},{"id":180,"programId":40,"title":"Calculate expression and force number of decimal places to 10","rawContent":"bc <<< \"scale=10; 5 / 3\""},{"id":181,"programId":40,"title":"Calculate expression with sine and cosine using mathlib","rawContent":"bc -l <<< \"s(1) + c(1)\""},{"id":182,"programId":41,"title":"Start beanstalkd, listening on port 11300","rawContent":"beanstalkd"},{"id":183,"programId":41,"title":"Start beanstalkd listening on a custom port and address","rawContent":"beanstalkd -l {{ip_address}} -p {{port_number}}"},{"id":184,"programId":41,"title":"Persist work queues by saving them to disk","rawContent":"beanstalkd -b {{path/to/persistence_directory}}"},{"id":185,"programId":41,"title":"Sync to the persistence directory every 500 milliseconds","rawContent":"beanstalkd -b {{path/to/persistence_directory}} -f {{500}}"},{"id":186,"programId":42,"title":"Intersect two files with respect to the sequences' strand and save the result to {{path/to/output_file}}","rawContent":"bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}"},{"id":187,"programId":42,"title":"Intersect two files with a left outer join, i.e. report each feature from {{file_1}} and NULL if no overlap with {{file_2}}","rawContent":"bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -lof > {{path/to/output_file}}"},{"id":188,"programId":42,"title":"Using more efficient algorithm to intersect two pre-sorted files","rawContent":"bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}"},{"id":189,"programId":42,"title":"Group file {{path/to/file}} based on the first three and the fifth column and summarize the sixth column by summing it up","rawContent":"bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum"},{"id":190,"programId":42,"title":"Convert bam-formated file to a bed-formated one","rawContent":"bedtools bamtobed -i {{path/to/file}}.bam > {{path/to/file}}.bed"},{"id":191,"programId":42,"title":"Find for all features in {{file_1}}.bed the closest one in {{file_2}}.bed and write their distance in an extra column (input files must be sorted)","rawContent":"bedtools closest -a {{path/to/file_1}}.bed -b {{path/to/file_2}}.bed -d"},{"id":192,"programId":43,"title":"Resume most recently suspended job and run it in the background","rawContent":"bg"},{"id":193,"programId":43,"title":"Resume a specific job (use `jobs -l` to get its ID) and run it in the background","rawContent":"bg {{job_id}}"},{"id":194,"programId":44,"title":"Render all frames of an animation in the background, without loading the UI (output is saved to `/tmp`)","rawContent":"blender -b {{filename}}.blend -a"},{"id":195,"programId":44,"title":"Render an animation using a specific image naming pattern, in a path relative (`//`) to the .blend file","rawContent":"blender -b {{filename}}.blend -o //{{render/frame_###.png}} -a"},{"id":196,"programId":44,"title":"Render the 10th frame of an animation as a single image, saved to an existing folder (absolute path)","rawContent":"blender -b {{filename}}.blend -o {{/path/to/output_folder}} -f {{10}}"},{"id":197,"programId":44,"title":"Render the second last frame in an animation as a JPEG image, saved to an existing folder (relative path)","rawContent":"blender -b {{filename}}.blend -o //{{output_folder}} -F {{JPEG}} -f {{-2}}"},{"id":198,"programId":44,"title":"Render the animation of a specific scene, starting at frame 10 and ending at frame 500","rawContent":"blender -b {{filename}}.blend -S {{scene_name}} -s {{10}} -e {{500}} -a"},{"id":199,"programId":44,"title":"Render an animation at a specific resolution, by passing a Python expression","rawContent":"blender -b {{filename}}.blend --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' -a"},{"id":200,"programId":44,"title":"Start an interactive Blender session in the terminal with a python console (do `import bpy` after starting)","rawContent":"blender -b --python-console"},{"id":201,"programId":45,"title":"Create a blockmap from image file","rawContent":"bmaptool create -o {{blockmap.bmap}} {{source.img}}"},{"id":202,"programId":45,"title":"Copy an image file into sdb","rawContent":"bmaptool copy --bmap {{blockmap.bmap}} {{source.img}} {{/dev/sdb}}"},{"id":203,"programId":45,"title":"Copy a compressed image file into sdb","rawContent":"bmaptool copy --bmap {{blockmap.bmap}} {{source.img.gz}} {{/dev/sdb}}"},{"id":204,"programId":45,"title":"Copy an image file into sdb without using a blockmap","rawContent":"bmaptool copy --nobmap {{source.img}} {{/dev/sdb}}"},{"id":205,"programId":46,"title":"Start a REPL session either with the project or standalone","rawContent":"boot repl"},{"id":206,"programId":46,"title":"Build a single \"uberjar\"","rawContent":"boot jar"},{"id":207,"programId":46,"title":"Learn about a command","rawContent":"boot cljs --help"},{"id":208,"programId":46,"title":"Generate scaffolding for a new project based on a template","rawContent":"boot --dependencies boot/new new --template {{template_name}} --name {{project_name}}"},{"id":209,"programId":46,"title":"Build for development (if using the boot/new template)","rawContent":"boot dev"},{"id":210,"programId":46,"title":"Build for production (if using the boot/new template)","rawContent":"boot prod"},{"id":211,"programId":47,"title":"Initialise a (local) repository","rawContent":"borg init {{/path/to/repo_folder}}"},{"id":212,"programId":47,"title":"Backup a folder into the repository, creating an archive called \"Monday\"","rawContent":"borg create --progress {{/path/to/repo_folder}}::{{Monday}} {{/path/to/source_folder}}"},{"id":213,"programId":47,"title":"List all archives in a repository","rawContent":"borg list {{/path/to/repo_folder}}"},{"id":214,"programId":47,"title":"Extract a specific folder from the \"Monday\" archive in a remote repository, excluding all *.ext files","rawContent":"borg extract {{user}}@{{host}}:{{/path/to/repo_folder}}::{{Monday}} {{path/to/target_folder}} --exclude '{{*.ext}}'"},{"id":215,"programId":47,"title":"Prune a repository by deleting all archives older than 7 days, listing changes","rawContent":"borg prune --keep-within {{7d}} --list {{/path/to/repo_folder}}"},{"id":216,"programId":47,"title":"Mount a repository as a FUSE filesystem","rawContent":"borg mount {{/path/to/repo_folder}}::{{Monday}} {{/path/to/mountpoint}}"},{"id":217,"programId":47,"title":"Display help on creating archives","rawContent":"borg create --help"},{"id":218,"programId":48,"title":"Create local alias for director","rawContent":"bosh alias-env {{environment-name}} -e {{ip address or url}} --ca-cert {{ca_certificate}}"},{"id":219,"programId":48,"title":"List environments","rawContent":"bosh environments"},{"id":220,"programId":48,"title":"Login to the director","rawContent":"bosh login -e {{environment}} "},{"id":221,"programId":48,"title":"List deployments","rawContent":"bosh -e {{environment}} deployments"},{"id":222,"programId":48,"title":"List environment virtual machines","rawContent":"bosh -e {{environment}} vms -d {{deployment}}"},{"id":223,"programId":48,"title":"Ssh into virtual machine","rawContent":"bosh -e {{environment}} ssh {{virtual machine}} -d {{deployment}}"},{"id":224,"programId":48,"title":"Upload stemcell","rawContent":"bosh -e {{environment}} upload-stemcell {{stemcell file or url}}"},{"id":225,"programId":48,"title":"Show current cloud config","rawContent":"bosh -e {{environment}} cloud-config"},{"id":226,"programId":49,"title":"Install a project's dependencies, listed in its bower.json","rawContent":"bower install"},{"id":227,"programId":49,"title":"Install one or more packages to the bower_components directory","rawContent":"bower install {{package}} {{package}}"},{"id":228,"programId":49,"title":"Uninstall packages locally from the bower_components directory","rawContent":"bower uninstall {{package}} {{package}}"},{"id":229,"programId":49,"title":"List local packages and possible updates","rawContent":"bower list"},{"id":230,"programId":49,"title":"Display help information about a bower command","rawContent":"bower help {{command}}"},{"id":231,"programId":49,"title":"Create a bower.json file for your package","rawContent":"bower init"},{"id":232,"programId":49,"title":"Install a specific dependency version, and add it to bower.json","rawContent":"bower install {{local_name}}={{package}}#{{version}} --save"},{"id":233,"programId":50,"title":"Build a new Phar file","rawContent":"box build"},{"id":234,"programId":50,"title":"Build a new Phar file using a specific config file","rawContent":"box build -c {{path/to/config}}"},{"id":235,"programId":50,"title":"Display information about the PHAR PHP extension","rawContent":"box info"},{"id":236,"programId":50,"title":"Display information about a specific Phar file","rawContent":"box info {{path/to/phar_file}}"},{"id":237,"programId":50,"title":"Validate the first found config file in the working directory","rawContent":"box validate"},{"id":238,"programId":50,"title":"Verify the signature of a specific Phar file","rawContent":"box verify {{path/to/phar_file}}"},{"id":239,"programId":50,"title":"Display all available commands and options","rawContent":"box help"},{"id":240,"programId":51,"title":"Start a server from a specific directory","rawContent":"browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}"},{"id":241,"programId":51,"title":"Start a server from local directory, watching all css files in some directory","rawContent":"browser-sync start --server --files '{{path/to/directory/*.css}}'"},{"id":242,"programId":51,"title":"Create configuration file","rawContent":"browser-sync init"},{"id":243,"programId":51,"title":"Start browser-sync from config file","rawContent":"browser-sync start --config {{config_file}}"},{"id":244,"programId":52,"title":"Install all gems defined in the gemfile expected in the working directory","rawContent":"bundle install"},{"id":245,"programId":52,"title":"Update all gems by the rules defined in the gemfile and regenerate gemfile.lock","rawContent":"bundle update"},{"id":246,"programId":52,"title":"Update one specific gem defined in the gemfile","rawContent":"bundle update --source {{gemname}}"},{"id":247,"programId":52,"title":"Create a new gem skeleton","rawContent":"bundle gem {{gemname}}"},{"id":248,"programId":53,"title":"Compile source file(s) and create an executable","rawContent":"c99 {{file.c}}"},{"id":249,"programId":53,"title":"Compile source file(s) and create an executable with a custom name","rawContent":"c99 -o {{executable_name}} {{file.c}}"},{"id":250,"programId":53,"title":"Compile source file(s) and create object file(s)","rawContent":"c99 -c {{file.c}}"},{"id":251,"programId":53,"title":"Compile source file(s), link with object file(s), and create an executable","rawContent":"c99 {{file.c}} {{file.o}}"},{"id":252,"programId":54,"title":"Search and list packages from Hackage","rawContent":"cabal list {{search_string}}"},{"id":253,"programId":54,"title":"Show information about a package","rawContent":"cabal info {{package_name}}"},{"id":254,"programId":54,"title":"Download and install a package","rawContent":"cabal install {{package_name}}"},{"id":255,"programId":54,"title":"Create a new Haskell project in the current directory","rawContent":"cabal init"},{"id":256,"programId":54,"title":"Build the project in the current directory","rawContent":"cabal build"},{"id":257,"programId":54,"title":"Run tests of the project in the current directory","rawContent":"cabal test"},{"id":258,"programId":55,"title":"Start a server to distribute ebooks. Access at http://localhost:8080","rawContent":"calibre-server"},{"id":259,"programId":55,"title":"Start server on different port. Access at http://localhost:port","rawContent":"calibre-server --port {{port}}"},{"id":260,"programId":55,"title":"Password protect the server","rawContent":"calibre-server --username {{username}} --password {{password}}"},{"id":261,"programId":56,"title":"List ebooks in the library with additional information","rawContent":"calibredb list"},{"id":262,"programId":56,"title":"Search for ebooks displaying additional information","rawContent":"calibredb list --search {{search_term}}"},{"id":263,"programId":56,"title":"Search for just ids of ebooks","rawContent":"calibredb search {{search_term}}"},{"id":264,"programId":56,"title":"Add one or more ebooks to the library","rawContent":"calibredb add {{file1 file2 …}}"},{"id":265,"programId":56,"title":"Remove one or more ebooks from the library. You need ebook-ids (see above)","rawContent":"calibredb remove {{id1 id2 …}}"},{"id":266,"programId":57,"title":"Search for crates","rawContent":"cargo search {{search_string}}"},{"id":267,"programId":57,"title":"Install a crate","rawContent":"cargo install {{crate_name}}"},{"id":268,"programId":57,"title":"List installed crates","rawContent":"cargo install --list"},{"id":269,"programId":57,"title":"Create a new binary Rust project in the current directory","rawContent":"cargo init --bin"},{"id":270,"programId":57,"title":"Create a new library Rust project in the current directory","rawContent":"cargo init"},{"id":271,"programId":57,"title":"Build the Rust project in the current directory","rawContent":"cargo build"},{"id":272,"programId":57,"title":"Build with multiple parallel jobs","rawContent":"cargo build -j {{jobs}}"},{"id":273,"programId":58,"title":"Match a variable against string literals to decide which command to run","rawContent":"case {{$tocount}} in {{words}}) {{wc -w README}}; ;; {{lines}}) {{wc -l README}}; ;; esac"},{"id":274,"programId":58,"title":"Combine patterns with |, use * as a fallback pattern","rawContent":"case {{$tocount}} in {{[wW]|words}}) {{wc -w README}}; ;; {{[lL]|lines}}) {{wc -l README}}; ;; *) {{echo \"what?\"}}; ;; esac"},{"id":275,"programId":59,"title":"Print the contents of a file to the standard output","rawContent":"cat {{file}}"},{"id":276,"programId":59,"title":"Concatenate several files into the target file","rawContent":"cat {{file1}} {{file2}} > {{target_file}}"},{"id":277,"programId":59,"title":"Append several files into the target file","rawContent":"cat {{file1}} {{file2}} >> {{target_file}}"},{"id":278,"programId":59,"title":"Number all output lines","rawContent":"cat -n {{file}}"},{"id":279,"programId":60,"title":"Go to the given directory","rawContent":"cd {{path/to/directory}}"},{"id":280,"programId":60,"title":"Go to home directory of current user","rawContent":"cd"},{"id":281,"programId":60,"title":"Go up to the parent of the current directory","rawContent":"cd .."},{"id":282,"programId":60,"title":"Go to the previously chosen directory","rawContent":"cd -"},{"id":283,"programId":61,"title":"Change the owner of a file/folder","rawContent":"chgrp {{group}} {{path/to/file}}"},{"id":284,"programId":61,"title":"Recursively change the owner of a folder and its contents","rawContent":"chgrp -R {{group}} {{path/to/folder}}"},{"id":285,"programId":61,"title":"Change the owner of a symbolic link","rawContent":"chgrp -h {{user}} {{path/to/symlink}}"},{"id":286,"programId":61,"title":"Change the owner of a file/folder to match a reference file","rawContent":"chgrp --reference={{path/to/reference_file}} {{path/to/file}}"},{"id":287,"programId":62,"title":"Give the [u]ser who owns a file the right to e[x]ecute it","rawContent":"chmod u+x {{file}}"},{"id":288,"programId":62,"title":"Give the user rights to [r]ead and [w]rite to a file/directory","rawContent":"chmod u+rw {{file}}"},{"id":289,"programId":62,"title":"Remove executable rights from the [g]roup","rawContent":"chmod g-x {{file}}"},{"id":290,"programId":62,"title":"Give [a]ll users rights to read and execute","rawContent":"chmod a+rx {{file}}"},{"id":291,"programId":62,"title":"Give [o]thers (not in the file owner's group) the same rights as the group","rawContent":"chmod o=g {{file}}"},{"id":292,"programId":62,"title":"Change permissions recursively giving [g]roup and [o]thers the abililty to [w]rite","rawContent":"chmod -R g+w,o+w {{directory}}"},{"id":293,"programId":63,"title":"Change the owner user of a file/folder","rawContent":"chown {{user}} {{path/to/file}}"},{"id":294,"programId":63,"title":"Change the owner user and group of a file/folder","rawContent":"chown {{user}}:{{group}} {{path/to/file}}"},{"id":295,"programId":63,"title":"Recursively change the owner of a folder and its contents","rawContent":"chown -R {{user}} {{path/to/folder}}"},{"id":296,"programId":63,"title":"Change the owner of a symbolic link","rawContent":"chown -h {{user}} {{path/to/symlink}}"},{"id":297,"programId":63,"title":"Change the owner of a file/folder to match a reference file","rawContent":"chown --reference={{path/to/reference_file}} {{path/to/file}}"},{"id":298,"programId":64,"title":"Change shell","rawContent":"chsh -s {{path/to/shell_binary}} {{username}}"},{"id":299,"programId":65,"title":"Display a 32 bit checksum, size in bytes and filename","rawContent":"cksum {{filename}}"},{"id":300,"programId":66,"title":"Compile a source code file into an executable binary","rawContent":"clang {{input_source.c}} -o {{output_executable}}"},{"id":301,"programId":66,"title":"Activate output of all errors and warnings","rawContent":"clang {{input_source.c}} -Wall -o {{output_executable}}"},{"id":302,"programId":66,"title":"Include libraries located at a different path than the source file","rawContent":"clang {{input_source.c}} -o {{output_executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}"},{"id":303,"programId":67,"title":"Count all the lines of code in a directory","rawContent":"cloc {{/path/to/directory}}"},{"id":304,"programId":67,"title":"Count all the lines of code in a directory, displaying a progress bar during the counting process","rawContent":"cloc --progress=1 {{/path/to/directory}}"},{"id":305,"programId":67,"title":"Compare 2 directory structures and count the differences between them","rawContent":"cloc --diff {{/directory/one}} {{/directory/two}}"},{"id":306,"programId":68,"title":"Generate a Makefile and use it to compile a project in the same folder as the source","rawContent":"cmake && make"},{"id":307,"programId":68,"title":"Generate a Makefile and use it to compile a project in a separate \"build\" folder (out-of-source build)","rawContent":"cmake -H. -B{{build}} && make -C {{build}}"},{"id":308,"programId":68,"title":"Run cmake in interactive mode (it will ask for each variable, instead of using defaults)","rawContent":"cmake -i"},{"id":309,"programId":69,"title":"Render a Commonmark Markdown file to HTML","rawContent":"cmark --to html {{filename.md}}"},{"id":310,"programId":69,"title":"Convert data from standard input to latex","rawContent":"cmark --to latex"},{"id":311,"programId":69,"title":"Convert straight quotes to smart quotes","rawContent":"cmark --smart --to html {{filename.md}}"},{"id":312,"programId":69,"title":"Validate utf8 characters","rawContent":"cmark --validate-utf8 {{filename.md}}"},{"id":313,"programId":70,"title":"Find the byte number and line number of the first difference between the files","rawContent":"cmp {{file1}} {{file2}}"},{"id":314,"programId":70,"title":"Find the byte number and differing bytes of every difference","rawContent":"cmp -l {{file1}} {{file2}}"},{"id":315,"programId":71,"title":"Open VS Code","rawContent":"code"},{"id":316,"programId":71,"title":"Open the current directory in VS Code","rawContent":"code ."},{"id":317,"programId":71,"title":"Open a file or directory in VS Code","rawContent":"code {{path/to/file_or_folder}}"},{"id":318,"programId":71,"title":"Open a file or directory in the currently open VS Code window","rawContent":"code --reuse-window {{path/to/file_or_folder}}"},{"id":319,"programId":72,"title":"Format output for a 30 characters wide display","rawContent":"printf \"header1 header2\\nbar foo\\n\" | column -c {{30}}"},{"id":320,"programId":72,"title":"Specify column delimiter character for the -t option (i.e. \",\" for csv); default is whitespace","rawContent":"printf \"header1,header2\\nbar,foo\\n\" | column -s{{,}}"},{"id":321,"programId":72,"title":"Split columns automatically and auto-align in a tabular format","rawContent":"printf \"header1 header2\\nbar foo\\n\" | column -t"},{"id":322,"programId":72,"title":"Fill columns before filling rows","rawContent":"printf \"header1\\nbar\\nfoobar\\n\" | column -c {{30}} -x"},{"id":323,"programId":73,"title":"Produce three tab-separated columns: lines only in first file, lines only in second file and common lines","rawContent":"comm {{file1}} {{file2}}"},{"id":324,"programId":73,"title":"Print only lines common to both files","rawContent":"comm -12 {{file1}} {{file2}}"},{"id":325,"programId":73,"title":"Print only lines common to both files, reading one file from stdin","rawContent":"cat {{file1}} | comm -12 - {{file2}}"},{"id":326,"programId":73,"title":"Get lines only found in first file, saving the result to a third file","rawContent":"comm -23 {{file1}} {{file2}} > {{file1_only}}"},{"id":327,"programId":73,"title":"Print lines only found in second file, when the files aren't sorted","rawContent":"comm -13 <(sort {{file1}}) <(sort {{file2}})"},{"id":328,"programId":74,"title":"Apply a function that performs autocompletion to a command","rawContent":"complete -F {{function}} {{command}}"},{"id":329,"programId":74,"title":"Apply a command that performs autocompletion to another command","rawContent":"complete -C {{autocomplete_command}} {{command}}"},{"id":330,"programId":74,"title":"Apply autocompletion without appending a space to the completed word","rawContent":"complete -o nospace -F {{function}} {{command}}"},{"id":331,"programId":75,"title":"Add a package as a dependency for this project, adding it to `composer.json`","rawContent":"composer require {{user/package-name}}"},{"id":332,"programId":75,"title":"Install all the dependencies in this project's `composer.json`","rawContent":"composer install"},{"id":333,"programId":75,"title":"Uninstall a package from this project, removing it as a dependency from `composer.json`","rawContent":"composer remove {{user/package-name}}"},{"id":334,"programId":75,"title":"Update all the dependencies in this project's `composer.json`","rawContent":"composer update"},{"id":335,"programId":75,"title":"Update composer to the latest version","rawContent":"composer self-update"},{"id":336,"programId":76,"title":"Create a new environment, installing named packages into it","rawContent":"conda create --name {{environment_name}} {{python=2.7 matplotlib}}"},{"id":337,"programId":76,"title":"List all environments","rawContent":"conda info --envs"},{"id":338,"programId":76,"title":"Load or unload an environment","rawContent":"source {{activate|deactivate}} {{environment_name}}"},{"id":339,"programId":76,"title":"Delete an environment (remove all packages)","rawContent":"conda remove --name {{environment_name}} --all"},{"id":340,"programId":76,"title":"Search conda channels for a package by name","rawContent":"conda search {{package_name}}"},{"id":341,"programId":76,"title":"Install packages into the current environment","rawContent":"conda install {{python=3.4 numpy}}"},{"id":342,"programId":76,"title":"List currently installed packages in current environment","rawContent":"conda list"},{"id":343,"programId":76,"title":"Delete unused packages and caches","rawContent":"conda clean --all"},{"id":344,"programId":77,"title":"Read a value from the key-value store","rawContent":"consul kv get {{key}}"},{"id":345,"programId":77,"title":"Store a new key-value pair","rawContent":"consul kv put {{key}} {{value}}"},{"id":346,"programId":77,"title":"Delete a key-value pair","rawContent":"consul kv delete {{key}}"},{"id":347,"programId":78,"title":"Check the Consul version","rawContent":"consul --version"},{"id":348,"programId":78,"title":"Show general help","rawContent":"consul --help"},{"id":349,"programId":78,"title":"Show help for a sub-command","rawContent":"consul {{sub-command}} --help"},{"id":350,"programId":79,"title":"Convert an image from JPG to PNG","rawContent":"convert {{image.jpg}} {{image.png}}"},{"id":351,"programId":79,"title":"Scale an image 50% its original size","rawContent":"convert {{image.png}} -resize 50% {{image2.png}}"},{"id":352,"programId":79,"title":"Scale an image keeping the original aspect ratio to a maximum dimension of 640x480","rawContent":"convert {{image.png}} -resize 640x480 {{image2.png}}"},{"id":353,"programId":79,"title":"Horizontally append images","rawContent":"convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}"},{"id":354,"programId":80,"title":"Test filename encoding conversion (don't actually change the filename)","rawContent":"convmv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}"},{"id":355,"programId":80,"title":"Convert filename encoding and rename the file to the new encoding","rawContent":"convmv -f {{from_encoding}} -t {{to_encoding}} --notest {{input_file}}"},{"id":356,"programId":81,"title":"Create a cordova project","rawContent":"cordova create {{path}} {{package.name}} {{project.name}}"},{"id":357,"programId":81,"title":"Display the current workspace status","rawContent":"cordova info"},{"id":358,"programId":81,"title":"Add a cordova platform","rawContent":"cordova platform add {{platform}}"},{"id":359,"programId":81,"title":"Remove a cordova platform","rawContent":"cordova platform remove {{platform}}"},{"id":360,"programId":81,"title":"Add a cordova plugin","rawContent":"cordova plugin add {{pluginid}}"},{"id":361,"programId":81,"title":"Remove a cordova plugin","rawContent":"cordova plugin remove {{pluginid}}"},{"id":362,"programId":82,"title":"Start couchdb","rawContent":"couchdb"},{"id":363,"programId":82,"title":"Start couchdb interactive shell","rawContent":"couchdb -i"},{"id":364,"programId":82,"title":"Start couchdb as a background process","rawContent":"couchdb -b"},{"id":365,"programId":82,"title":"Kill the background process (Note: It will respawn if needed)","rawContent":"couchdb -k"},{"id":366,"programId":82,"title":"Shutdown the background process","rawContent":"couchdb -d"},{"id":367,"programId":83,"title":"Print an ASCII cow saying \"Hello world!\"","rawContent":"cowsay \"Hello world!\""},{"id":368,"programId":83,"title":"List all available characters","rawContent":"cowsay -l"},{"id":369,"programId":83,"title":"Print an ASCII dragon saying \"Hello!\"","rawContent":"echo \"Hello!\" | cowsay -f dragon"},{"id":370,"programId":83,"title":"Print a stoned thinking ASCII cow","rawContent":"cowthink -s \"I'm just a cow, not a great thinker ...\""},{"id":371,"programId":84,"title":"Copy a file to another location","rawContent":"cp {{path/to/file.ext}} {{path/to/copy.ext}}"},{"id":372,"programId":84,"title":"Copy a file into another folder, keeping the filename","rawContent":"cp {{path/to/file.ext}} {{path/to/target/parent/folder}}"},{"id":373,"programId":84,"title":"Copy a folder recursively to another location","rawContent":"cp -r {{path/to/folder}} {{path/to/copy}}"},{"id":374,"programId":84,"title":"Copy a folder recursively into another folder, keeping the folder name","rawContent":"cp -r {{path/to/folder}} {{path/to/target/parent/folder}}"},{"id":375,"programId":84,"title":"Copy a folder recursively, in verbose mode (shows files as they are copied)","rawContent":"cp -vr {{path/to/folder}} {{path/to/copy}}"},{"id":376,"programId":84,"title":"Copy the contents of a folder into another folder","rawContent":"cp -r {{path/to/source/folder/*}} {{path/to/target/folder}}"},{"id":377,"programId":84,"title":"Copy text files to another location, in interactive mode (prompts user before overwriting)","rawContent":"cp -i {{*.txt}} {{path/to/source/}}"},{"id":378,"programId":85,"title":"Take a list of file names from standard input and add them [o]nto an archive in cpio's binary format","rawContent":"echo \"{{file1}} {{file2}} {{file3}}\" | cpio -o > {{archive.cpio}}"},{"id":379,"programId":85,"title":"Copy all files and folders in a directory and add them [o]nto an archive, in [v]erbose mode","rawContent":"find {{path/to/directory}} | cpio -ov > {{archive.cpio}}"},{"id":380,"programId":85,"title":"P[i]ck all files from an archive, generating [d]irectories where needed, in [v]erbose mode","rawContent":"cpio -idv < {{archive.cpio}}"},{"id":381,"programId":86,"title":"Recursively check the current folder, showing progress on the screen and logging error messages to a file","rawContent":"cppcheck . 2> cppcheck.log"},{"id":382,"programId":86,"title":"Recursively check a given folder, and don't print progress messages","rawContent":"cppcheck --quiet {{path/to/folder}}"},{"id":383,"programId":86,"title":"Check a given file, specifying which tests to perform (by default only errors are shown)","rawContent":"cppcheck --enable={{error|warning|style|performance|portability|information|all}} {{path/to/file.cpp}}"},{"id":384,"programId":86,"title":"List available tests, filtered by a given search pattern","rawContent":"cppcheck --errorlist | grep \"{{search pattern}}\""},{"id":385,"programId":86,"title":"Check a given file, ignoring specific tests","rawContent":"cppcheck --suppress={{test_id1}} --suppress={{test_id2}} {{path/to/file.cpp}}"},{"id":386,"programId":86,"title":"Check the current folder, providing paths for include files located outside it (e.g. external libraries)","rawContent":"cppcheck -I {{include/folder_1}} -I {{include/folder_2}} ."},{"id":387,"programId":86,"title":"Check a Microsoft Visual Studio project (`*.vcxproj`) or solution (`*.sln`)","rawContent":"cppcheck --project={{path/to/project.sln}}"},{"id":388,"programId":87,"title":"Run in a project's folder","rawContent":"cppclean {{path/to/project}}"},{"id":389,"programId":87,"title":"Run on a project where the headers are in the \"inc1/\" and \"inc2/\" folders","rawContent":"cppclean {{path/to/project}} --include-path={{inc1}} --include-path={{inc2}}"},{"id":390,"programId":87,"title":"Run on a specific file \"main.cpp\"","rawContent":"cppclean {{main.cpp}}"},{"id":391,"programId":87,"title":"Run on the current directory, excluding the \"build\" directory","rawContent":"cppclean {{.}} --exclude={{build}}"},{"id":392,"programId":88,"title":"Edit the crontab file for the current user","rawContent":"crontab -e"},{"id":393,"programId":88,"title":"View a list of existing cron jobs for current user","rawContent":"crontab -l"},{"id":394,"programId":88,"title":"Remove all cron jobs for the current user","rawContent":"crontab -r"},{"id":395,"programId":88,"title":"Sample job which runs at 10:00 every day. * means any value","rawContent":"0 10 * * * {{path/to/script.sh}}"},{"id":396,"programId":88,"title":"Sample job which runs every minute on the 3rd of April","rawContent":"* * 3 Apr * {{path/to/script.sh}}"},{"id":397,"programId":88,"title":"Sample job which runs at 02:30 every Friday","rawContent":"30 2 * * Fri {{path/to/script.sh}}"},{"id":398,"programId":89,"title":"Lint a single CSS file","rawContent":"csslint {{file.css}}"},{"id":399,"programId":89,"title":"Lint multiple CSS files","rawContent":"csslint {{file1.css}} {{file2.css}} {{file3.css}}"},{"id":400,"programId":89,"title":"List all possible style rules","rawContent":"csslint --list-rules"},{"id":401,"programId":89,"title":"Specify certain rules as errors (which result in a non-zero exit code)","rawContent":"csslint --errors={{errors,universal-selector,imports}} {{file.css}}"},{"id":402,"programId":89,"title":"Specify certain rules as warnings","rawContent":"csslint --warnings={{box-sizing,selector-max,floats}} {{file.css}}"},{"id":403,"programId":89,"title":"Specify certain rules to completely ignore","rawContent":"csslint --ignore={{ids,rules-count,shorthand}} {{file.css}}"},{"id":404,"programId":90,"title":"Clean a CSV file","rawContent":"csvclean {{bad.csv}}"},{"id":405,"programId":90,"title":"List locations of syntax errors in a CSV file","rawContent":"csvclean -n {{bad.csv}}"},{"id":406,"programId":91,"title":"Print indices and names of all columns","rawContent":"csvcut -n {{data.csv}}"},{"id":407,"programId":91,"title":"Extract the first and third columns","rawContent":"csvcut -c {{1,3}} {{data.csv}}"},{"id":408,"programId":91,"title":"Extract all columns **except** the fourth one","rawContent":"csvcut -C {{4}} {{data.csv}}"},{"id":409,"programId":91,"title":"Extract the columns named \"id\" and \"first name\" (in that order)","rawContent":"csvcut -c {{id,\"first name\"}} {{data.csv}}"},{"id":410,"programId":92,"title":"Convert to a tab-delimited file (TSV)","rawContent":"csvformat -T {{data.csv}}"},{"id":411,"programId":92,"title":"Convert delimiters to a custom character","rawContent":"csvformat -D \"{{custom_character}}\" {{data.csv}}"},{"id":412,"programId":92,"title":"Convert line endings to carriage return (^M) + line feed","rawContent":"csvformat -M \"{{\\r\\n}}\" {{data.csv}}"},{"id":413,"programId":92,"title":"Minimize use of quote characters","rawContent":"csvformat -U 0 {{data.csv}}"},{"id":414,"programId":92,"title":"Maximize use of quote characters","rawContent":"csvformat -U 1 {{data.csv}}"},{"id":415,"programId":93,"title":"Find rows that have a certain string in column 1","rawContent":"csvgrep -c {{1}} -m {{string_to_match}} {{data.csv}}"},{"id":416,"programId":93,"title":"Find rows in which columns 3 or 4 match a certain regex pattern","rawContent":"csvgrep -c {{3,4}} -r {{regex_pattern}} {{data.csv}}"},{"id":417,"programId":93,"title":"Find rows in which the \"name\" column does NOT include the string \"John Doe\"","rawContent":"csvgrep -i -c {{name}} -m {{\"John Doe\"}} {{data.csv}}"},{"id":418,"programId":94,"title":"View a CSV file","rawContent":"csvlook {{data.csv}}"},{"id":419,"programId":95,"title":"Load a CSV file into a `CSVKitReader` object","rawContent":"csvpy {{data.csv}}"},{"id":420,"programId":95,"title":"Load a CSV file into a `CSVKitDictReader` object","rawContent":"csvpy --dict {{data.csv}}"},{"id":421,"programId":96,"title":"Sort a CSV file by column 9","rawContent":"csvsort -c {{9}} {{data.csv}}"},{"id":422,"programId":96,"title":"Sort a CSV file by the \"name\" column in descending order","rawContent":"csvsort -r -c {{name}} {{data.csv}}"},{"id":423,"programId":96,"title":"Sort a CSV file by column 2, then by column 4","rawContent":"csvsort -c {{2,4}} {{data.csv}}"},{"id":424,"programId":96,"title":"Sort a CSV file without inferring data types","rawContent":"csvsort --no-inference -c {{columns}} {{data.csv}}"},{"id":425,"programId":97,"title":"Show all stats for all columns","rawContent":"csvstat {{data.csv}}"},{"id":426,"programId":97,"title":"Show all stats for columns 2 and 4","rawContent":"csvstat -c {{2,4}} {{data.csv}}"},{"id":427,"programId":97,"title":"Show sums for all columns","rawContent":"csvstat --sum {{data.csv}}"},{"id":428,"programId":97,"title":"Show the max value length for column 3","rawContent":"csvstat -c {{3}} --len {{data.csv}}"},{"id":429,"programId":97,"title":"Show the number of unique values in the \"name\" column","rawContent":"csvstat -c {{name}} --unique {{data.csv}}"},{"id":430,"programId":98,"title":"Download the contents of an URL to a file","rawContent":"curl {{http://example.com}} -o {{filename}}"},{"id":431,"programId":98,"title":"Download a file, saving the output under the filename indicated by the URL","rawContent":"curl -O {{http://example.com/filename}}"},{"id":432,"programId":98,"title":"Download a file, following [L]ocation redirects, and automatically [C]ontinuing (resuming) a previous file transfer","rawContent":"curl -O -L -C - {{http://example.com/filename}}"},{"id":433,"programId":98,"title":"Send form-encoded data (POST request of type `application/x-www-form-urlencoded`)","rawContent":"curl -d {{'name=bob'}} {{http://example.com/form}}"},{"id":434,"programId":98,"title":"Send a request with an extra header, using a custom HTTP method","rawContent":"curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://example.com}}"},{"id":435,"programId":98,"title":"Send data in JSON format, specifying the appropriate content-type header","rawContent":"curl -d {{'{\"name\":\"bob\"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/users/1234}}"},{"id":436,"programId":98,"title":"Pass a user name and password for server authentication","rawContent":"curl -u myusername:mypassword {{http://example.com}}"},{"id":437,"programId":98,"title":"Pass client certificate and key for a resource, skipping certificate validation","rawContent":"curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}"},{"id":438,"programId":99,"title":"Cut out the first sixteen characters of each line of STDIN","rawContent":"cut -c {{1-16}}"},{"id":439,"programId":99,"title":"Cut out the first sixteen characters of each line of the given files","rawContent":"cut -c {{1-16}} {{file}}"},{"id":440,"programId":99,"title":"Cut out everything from the 3rd character to the end of each line","rawContent":"cut -c{{3-}}"},{"id":441,"programId":99,"title":"Cut out the fifth field of each line, using a colon as a field delimiter (default delimiter is tab)","rawContent":"cut -d'{{:}}' -f{{5}}"},{"id":442,"programId":99,"title":"Cut out the 2nd and 10th fields of each line, using a semicolon as a delimiter","rawContent":"cut -d'{{;}}' -f{{2,10}}"},{"id":443,"programId":99,"title":"Cut out the fields 3 through to the end of each line, using a space as a delimiter","rawContent":"cut -d'{{ }}' -f{{3-}}"},{"id":444,"programId":100,"title":"Run calculator in interactive mode","rawContent":"dc"},{"id":445,"programId":100,"title":"Execute dc script in file","rawContent":"dc -f {{file}}"},{"id":446,"programId":100,"title":"Calculate 4 times 5 [4 5 *], subtract 17 [17 -], and [p]rint the output (using echo)","rawContent":"echo \"4 5 * 17 - p\"| dc"},{"id":447,"programId":100,"title":"Set number of decimal places to 7 [7 k], calculate 5 divided by -3 [5 _3 /] and [p]rint (using dc -e)","rawContent":"dc -e \"7 k 5 _3 / p\""},{"id":448,"programId":100,"title":"Calculate the golden ratio, phi: Set number of decimal places to 100 [100 k], square root of 5 [5 v] plus 1 [1 +], divided by 2 [2 /], and [p]rint result","rawContent":"dc -e \"100 k 5 v 1 + 2 / p\""},{"id":449,"programId":101,"title":"Remove a user","rawContent":"deluser {{name}}"},{"id":450,"programId":101,"title":"Remove a user along with their home directory and mail spool","rawContent":"deluser -r {{name}}"},{"id":451,"programId":101,"title":"Remove a user from a group","rawContent":"deluser {{name}} {{group}}"},{"id":452,"programId":102,"title":"Initialize the current directory as the root of a Go project","rawContent":"dep init"},{"id":453,"programId":102,"title":"Install any missing dependencies (Scans Gopkg.toml and your .go files)","rawContent":"dep ensure"},{"id":454,"programId":102,"title":"Report the status of the project's dependencies","rawContent":"dep status"},{"id":455,"programId":102,"title":"Add a dependency to the project","rawContent":"dep ensure -add {{package_url}}"},{"id":456,"programId":102,"title":"Update the locked versions of all dependencies","rawContent":"dep ensure -update"},{"id":457,"programId":103,"title":"Remove spaces and other undesirable characters from a file's name","rawContent":"detox {{file}}"},{"id":458,"programId":103,"title":"Show how detox would rename all of the files in a directory tree","rawContent":"detox --dry-run -r {{directory}}"},{"id":459,"programId":103,"title":"Remove spaces and other undesirable characters from all files in a directory tree","rawContent":"detox -r {{directory}}"},{"id":460,"programId":104,"title":"Display all file systems and their disk usage","rawContent":"df"},{"id":461,"programId":104,"title":"Display all file systems and their disk usage in human readable form","rawContent":"df -h"},{"id":462,"programId":104,"title":"Display the file system and its disk usage containing the given file or folder","rawContent":"df {{path/to/file_or_folder}}"},{"id":463,"programId":105,"title":"Flood the network with IP requests","rawContent":"dhcpwn --interface {{network_interface}} flood --count {{number_of_requests}}"},{"id":464,"programId":105,"title":"Sniff local DHCP traffic","rawContent":"dhcpwn --interface {{network_interface}} sniff"},{"id":465,"programId":106,"title":"Compare files","rawContent":"diff {{file1}} {{file2}}"},{"id":466,"programId":106,"title":"Compare files, ignoring white spaces","rawContent":"diff -w {{file1}} {{file2}}"},{"id":467,"programId":106,"title":"Compare files, showing differences side by side","rawContent":"diff -y {{file1}} {{file2}}"},{"id":468,"programId":106,"title":"Compare directories recursively","rawContent":"diff -r {{directory1}} {{directory2}}"},{"id":469,"programId":106,"title":"Compare directories, only showing the names of files that differ","rawContent":"diff -rq {{directory1}} {{directory2}}"},{"id":470,"programId":107,"title":"Display changes in a histogram","rawContent":"diff {{file1}} {{file2}} | diffstat"},{"id":471,"programId":107,"title":"Display inserted, deleted and modified changes as a table","rawContent":"diff {{file1}} {{file2}} | diffstat -t"},{"id":472,"programId":108,"title":"Lookup the IP(s) associated with a hostname (A records)","rawContent":"dig +short {{hostname.com}}"},{"id":473,"programId":108,"title":"Lookup the mail server(s) associated with a given domain name (MX record)","rawContent":"dig +short {{hostname.com}} MX"},{"id":474,"programId":108,"title":"Get all types of records for a given domain name","rawContent":"dig {{hostname.com}} ANY"},{"id":475,"programId":108,"title":"Specify an alternate DNS server to query (8.8.8.8 is google's public DNS)","rawContent":"dig @{{8.8.8.8}} {{hostname.com}}"},{"id":476,"programId":108,"title":"Perform a reverse DNS lookup on an IP address (PTR record)","rawContent":"dig -x {{8.8.8.8}}"},{"id":477,"programId":108,"title":"Find authoritative name servers for the zone and display SOA records","rawContent":"dig +nssearch {{hostname.com}}"},{"id":478,"programId":108,"title":"Perform iterative queries and display the entire trace path to resolve a domain name","rawContent":"dig +trace {{hostname.com}}"},{"id":479,"programId":109,"title":"Display the directory stack with a space between each entry","rawContent":"dirs"},{"id":480,"programId":109,"title":"Display the directory stack with one entry per line","rawContent":"dirs -p"},{"id":481,"programId":109,"title":"Display only the nth entry in the directory stack, starting at 0","rawContent":"dirs +{{N}}"},{"id":482,"programId":109,"title":"Clear the directory stack","rawContent":"dirs -c"},{"id":483,"programId":110,"title":"Create and start all containers in the background using a `docker-compose.yml` file from the current directory","rawContent":"docker-compose up -d"},{"id":484,"programId":110,"title":"Start all containers, rebuild if necessary","rawContent":"docker-compose up --build"},{"id":485,"programId":110,"title":"Start all containers using an alternate compose file","rawContent":"docker-compose --file {{path/to/file}} up"},{"id":486,"programId":110,"title":"Stop all running containers","rawContent":"docker-compose stop"},{"id":487,"programId":110,"title":"Stop and remove all containers, networks, images, and volumes","rawContent":"docker-compose down"},{"id":488,"programId":110,"title":"Follow logs for all containers","rawContent":"docker-compose logs --follow"},{"id":489,"programId":111,"title":"List currently running docker containers","rawContent":"docker container ls"},{"id":490,"programId":111,"title":"List all docker containers (running and stopped)","rawContent":"docker container ls -a"},{"id":491,"programId":111,"title":"Start a container","rawContent":"docker container start {{container}}"},{"id":492,"programId":111,"title":"Stop a container","rawContent":"docker container stop {{container}}"},{"id":493,"programId":111,"title":"Start a container from an image and get a shell inside of it","rawContent":"docker container run -it {{image}} bash"},{"id":494,"programId":111,"title":"Run a command inside of an already running container","rawContent":"docker container exec {{container}} {{command}}"},{"id":495,"programId":111,"title":"Remove a stopped container","rawContent":"docker container rm {{container}}"},{"id":496,"programId":111,"title":"Fetch and follow the logs of a container","rawContent":"docker container logs -f {{container}}"},{"id":497,"programId":112,"title":"List runinng apps","rawContent":"dokku apps"},{"id":498,"programId":112,"title":"Create an app","rawContent":"dokku apps:create {{app_name}}"},{"id":499,"programId":112,"title":"Remove an app","rawContent":"dokku apps:destroy {{app_name}}"},{"id":500,"programId":112,"title":"Install plugin","rawContent":"dokku plugin:install {{full_repo_url}}"},{"id":501,"programId":112,"title":"Link database to an app","rawContent":"dokku {{db}}:link {{db_name}} {{app_name}}"},{"id":502,"programId":113,"title":"Render an image file and determine output filename based on input filename and selected format","rawContent":"dot -Tpng -O {{path/to/file.dot}}"},{"id":503,"programId":113,"title":"Create an SVG from DOT file","rawContent":"dot -Tsvg -o{{path/to/out_file.svg}} {{path/to/file.dot}}"},{"id":504,"programId":114,"title":"Initialize a new .NET project","rawContent":"dotnet new {{template_short_name}}"},{"id":505,"programId":114,"title":"Restore nuget packages","rawContent":"dotnet restore"},{"id":506,"programId":114,"title":"Build and execute the .NET project in the current directory","rawContent":"dotnet run"},{"id":507,"programId":114,"title":"Run a packaged dotnet application (only needs the runtime, the rest of the commands require the .NET Core SDK installed)","rawContent":"dotnet {{path/to/application.dll}}"},{"id":508,"programId":115,"title":"Generate a default template configuration file \"Doxyfile\"","rawContent":"doxygen -g"},{"id":509,"programId":115,"title":"Generate a template configuration file","rawContent":"doxygen -g {{path/to/config_file}}"},{"id":510,"programId":115,"title":"Generate documentation using an existing configuration file","rawContent":"doxygen {{path/to/config_file}}"},{"id":511,"programId":116,"title":"Download module \"foo\"","rawContent":"drush dl {{foo}}"},{"id":512,"programId":116,"title":"Download version 7.x-2.1-beta1 of module \"foo\"","rawContent":"drush dl {{foo}}-7.x-2.1-beta1"},{"id":513,"programId":116,"title":"Enable module \"foo\"","rawContent":"drush en {{foo}}"},{"id":514,"programId":116,"title":"Disable module \"foo\"","rawContent":"drush dis {{foo}}"},{"id":515,"programId":116,"title":"Clear all caches","rawContent":"drush cc all"},{"id":516,"programId":116,"title":"Clear CSS and JavaScript caches","rawContent":"drush cc css-js"},{"id":517,"programId":117,"title":"Backup a folder via FTPS to a remote machine, encrypting it with a password","rawContent":"FTP_PASSWORD={{ftp_login_password}} PASSPHRASE={{encryption_password}} duplicity {{path/to/source/directory}} {{ftps://user@hostname/target/directory/path/}}"},{"id":518,"programId":117,"title":"Backup a folder to Amazon S3, doing a full backup every month","rawContent":"duplicity --full-if-older-than {{1M}} --use-new-style s3://{{bucket_name[/prefix]}}"},{"id":519,"programId":117,"title":"Delete versions older than 1 year from a backup stored on a WebDAV share","rawContent":"FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_dir}}"},{"id":520,"programId":117,"title":"List the available backups","rawContent":"duplicity collection-status \"file://{{absolute/path/to/backup/folder}}\""},{"id":521,"programId":117,"title":"List the files in a backup stored on a remote machine, via ssh","rawContent":"duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{user@hostname}}/path/to/backup/dir"},{"id":522,"programId":117,"title":"Restore a subdirectory from a GnuPG-encrypted local backup to a given location","rawContent":"PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --file-to-restore {{relative/path/restorefolder}} file://{{absolute/path/to/backup/folder}} {{path/to/directory/to/restore/to}}"},{"id":523,"programId":118,"title":"Convert an ebook into another format","rawContent":"ebook-convert {{source}} {{destination}}"},{"id":524,"programId":119,"title":"Print a text message. Note: quotes are optional","rawContent":"echo {{\"Hello World\"}}"},{"id":525,"programId":119,"title":"Print a message with environment variables","rawContent":"echo {{\"My path is $PATH\"}}"},{"id":526,"programId":119,"title":"Print a message without the trailing newline","rawContent":"echo -n {{\"Hello World\"}}"},{"id":527,"programId":119,"title":"Enable interpretation of backslash escapes (special characters)","rawContent":"echo -e {{\"Column 1\\tColumn 2\"}}"},{"id":528,"programId":120,"title":"Start ed, editing an empty document (which can be saved as a new file in the current directory)","rawContent":"ed"},{"id":529,"programId":120,"title":"Start ed, editing an empty document, with `:` as a command prompt indicator","rawContent":"ed -p :"},{"id":530,"programId":120,"title":"Start ed editing an existing file (this shows the byte count of the loaded file)","rawContent":"ed -p : {{path/to/file}}"},{"id":531,"programId":120,"title":"Toggle the printing of error explanations. (By default, explanations are not printed and only a `?` appears)","rawContent":"H"},{"id":532,"programId":120,"title":"Add text to the current document. Mark completion by entering a period by itself in a new line","rawContent":"a<Enter>{{text_to_insert}}<Enter>."},{"id":533,"programId":120,"title":"Print the entire document (`,` is a shortcut to the range `1,$` which covers the start to the end of the document)","rawContent":",p"},{"id":534,"programId":120,"title":"Write the current document to a new file (the filename can be omitted if `ed` was called with an existing file)","rawContent":"w {{filename}}"},{"id":535,"programId":120,"title":"Quit ed","rawContent":"q"},{"id":536,"programId":121,"title":"Create a new wallet","rawContent":"electrum -w {{new_wallet.dat}} create"},{"id":537,"programId":121,"title":"Restore an existing wallet from seed offline","rawContent":"electrum -w {{recovery_wallet.dat}} restore -o"},{"id":538,"programId":121,"title":"Create a signed transaction offline","rawContent":"electrum mktx {{recipient}} {{amount}} -f 0.0000001 -F {{from}} -o"},{"id":539,"programId":121,"title":"Display all wallet receiving addresses","rawContent":"electrum listaddresses -a"},{"id":540,"programId":121,"title":"Sign a message","rawContent":"electrum signmessage {{address}} {{message}}"},{"id":541,"programId":121,"title":"Verify a message","rawContent":"electrum verifymessage {{address}} {{signature}} {{message}}"},{"id":542,"programId":121,"title":"Connect only to a specific electrum-server instance","rawContent":"electrum -p socks5:{{127.0.0.1}}:9050 -s {{56ckl5obj37gypcu.onion}}:50001:t -1"},{"id":543,"programId":122,"title":"Start elinks","rawContent":"elinks"},{"id":544,"programId":122,"title":"Quit elinks","rawContent":"Ctrl + C"},{"id":545,"programId":122,"title":"Dump output of webpage to console, colorizing the text with ANSI control codes","rawContent":"elinks -dump -dump-color-mode {{1}} {{url}}"},{"id":546,"programId":123,"title":"Open emacs in console mode (without X window)","rawContent":"emacs -nw"},{"id":547,"programId":123,"title":"Open a file in emacs","rawContent":"emacs {{filename}}"},{"id":548,"programId":123,"title":"Exit emacs","rawContent":"C-x C-c"},{"id":549,"programId":124,"title":"Open files in an existing Emacs server (using GUI if available)","rawContent":"emacsclient {{filename}}"},{"id":550,"programId":124,"title":"Open file in console mode (without X window)","rawContent":"emacsclient -nw {{filename}}"},{"id":551,"programId":124,"title":"Open a file in an existing emacs frame and return immediately","rawContent":"emacsclient -n {{filename}}"},{"id":552,"programId":125,"title":"Create a new Ember application","rawContent":"ember new {{my_new_app}}"},{"id":553,"programId":125,"title":"Create a new Ember addon","rawContent":"ember addon {{my_new_addon}}"},{"id":554,"programId":125,"title":"Build the project","rawContent":"ember build"},{"id":555,"programId":125,"title":"Build the project in production mode","rawContent":"ember build -prod"},{"id":556,"programId":125,"title":"Run the development server","rawContent":"ember serve"},{"id":557,"programId":125,"title":"Run the test suite","rawContent":"ember test"},{"id":558,"programId":125,"title":"Run a blueprint to generate something like a route or component","rawContent":"ember generate {{type}} {{name}}"},{"id":559,"programId":125,"title":"Install an ember-cli addon","rawContent":"ember install {{name_of_addon}}"},{"id":560,"programId":126,"title":"Detect file(s) encoding according to your system's locale","rawContent":"enca {{file(s)}}"},{"id":561,"programId":126,"title":"Detect file(s) encoding; -L option tells enca the current language; language is in the POSIX/C locale format, e.g. zh_CN, en_US etc","rawContent":"enca -L {{language}} {{file(s)}}"},{"id":562,"programId":126,"title":"Convert file(s) to specified encoding","rawContent":"enca -L {{language}} -x {{to_encoding}} {{file(s)}}"},{"id":563,"programId":126,"title":"Save original_file as new_file and convert new_file to specified encoding","rawContent":"enca -L {{language}} -x {{to_encoding}} < {{original_file}} > {{new_file}}"},{"id":564,"programId":127,"title":"Show the environment","rawContent":"env"},{"id":565,"programId":127,"title":"Run a program. Often used in scripts after the shebang (#!) for looking up the path to the program","rawContent":"env {{program}}"},{"id":566,"programId":127,"title":"Clear the environment and run a program","rawContent":"env -i {{program}}"},{"id":567,"programId":127,"title":"Remove variable from the environment and run a program","rawContent":"env -u {{variable}} {{program}}"},{"id":568,"programId":127,"title":"Set a variable and run a program","rawContent":"env {{variable}}={{value}} {{program}}"},{"id":569,"programId":128,"title":"Create eslint config","rawContent":"eslint --init"},{"id":570,"programId":128,"title":"Lint on files","rawContent":"eslint {{filename}}.js {{filename1}}.js"},{"id":571,"programId":128,"title":"Fix lint issues","rawContent":"eslint --fix"},{"id":572,"programId":128,"title":"Lint with config","rawContent":"eslint -c {{path/to/config_file}} {{app/src}}"},{"id":573,"programId":129,"title":"Speak a phrase aloud","rawContent":"espeak \"I like to ride my bike.\""},{"id":574,"programId":129,"title":"Speak a file aloud","rawContent":"espeak -f {{filename}}"},{"id":575,"programId":129,"title":"Save output to a WAV audio file, rather than speaking it directly","rawContent":"espeak -w {{filename.wav}} \"It's GNU plus Linux\""},{"id":576,"programId":129,"title":"Use a different voice","rawContent":"espeak -v {{voice}}"},{"id":577,"programId":130,"title":"List files one per line","rawContent":"exa --oneline"},{"id":578,"programId":130,"title":"List all files, including hidden files","rawContent":"exa --all"},{"id":579,"programId":130,"title":"Long format list (permissions, ownership, size and modification date) of all files","rawContent":"exa --long --all"},{"id":580,"programId":130,"title":"List files with the largest at the top","rawContent":"exa --reverse --sort={{size}}"},{"id":581,"programId":130,"title":"Display a tree of files, three levels deep","rawContent":"exa --long --tree --level={{3}}"},{"id":582,"programId":130,"title":"List files sorted by modification date (oldest first)","rawContent":"exa --long --sort={{modified}}"},{"id":583,"programId":131,"title":"Remove all EXIF metadata from the given files","rawContent":"exiftool -All= {{file}}"},{"id":584,"programId":131,"title":"Increase time photo taken by 1 hour in directory","rawContent":"exiftool \"-AllDates+=0:0:0 1:0:0\" {{directory}}"},{"id":585,"programId":131,"title":"Decrease time photo taken by 1 day and 2 hours on JPEGs only","rawContent":"exiftool \"-AllDates-=0:0:1 2:0:0\" -ext jpg"},{"id":586,"programId":131,"title":"Change only DateTimeOriginal by -1.5 hours & do not keep backups","rawContent":"exiftool -DateTimeOriginal-=1.5 -overwrite_original"},{"id":587,"programId":131,"title":"Rename all JPEGs according to a DateTimeOriginal recursively","rawContent":"exiftool '-filename<DateTimeOriginal' -d %Y-%m-%d_%H-%M-%S%%lc.%%e {{directory}} -r -ext jpg"},{"id":588,"programId":132,"title":"Unlock the bootloader","rawContent":"fastboot oem unlock"},{"id":589,"programId":132,"title":"Relock the bootloader","rawContent":"fastboot oem lock"},{"id":590,"programId":132,"title":"Reboot the device from fastboot mode into fastboot mode again","rawContent":"fastboot reboot bootloader"},{"id":591,"programId":132,"title":"Flash a given image","rawContent":"fastboot flash {{file.zip}}"},{"id":592,"programId":132,"title":"Flash a custom recovery image","rawContent":"fastboot flash recovery {{file.img}}"},{"id":593,"programId":132,"title":"Display connected devices","rawContent":"fastboot devices"},{"id":594,"programId":133,"title":"Find files under current directory that match a pattern","rawContent":"fd {{pattern}}"},{"id":595,"programId":133,"title":"Find files that begin with foo","rawContent":"fd {{'^foo'}}"},{"id":596,"programId":133,"title":"Find files with a specific extension","rawContent":"fd --extension {{.ext}} {{pattern}}"},{"id":597,"programId":133,"title":"Find files under a specific directory","rawContent":"fd {{pattern}} {{path/to/dir}}"},{"id":598,"programId":133,"title":"Include ignored and hidden files in search","rawContent":"fd --hidden --no-ignore {{pattern}}"},{"id":599,"programId":134,"title":"Search a single directory","rawContent":"fdupes {{directory}}"},{"id":600,"programId":134,"title":"Search multiple directories","rawContent":"fdupes {{directory1}} {{directory2}}"},{"id":601,"programId":134,"title":"Search all directories recursively","rawContent":"fdupes -r {{directory}}"},{"id":602,"programId":134,"title":"Search multiple directories, one recursively","rawContent":"fdupes {{directory1}} -R {{directory2}}"},{"id":603,"programId":135,"title":"Extract the sound from a video and save it as MP3","rawContent":"ffmpeg -i {{video.mp4}} -vn {{sound}}.mp3"},{"id":604,"programId":135,"title":"Convert frames from a video or GIF into individual numbered images","rawContent":"ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}"},{"id":605,"programId":135,"title":"Combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF","rawContent":"ffmpeg -i {{frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}"},{"id":606,"programId":135,"title":"Quickly extract a single frame from a video at time mm:ss and save it as a 128x128 resolution image","rawContent":"ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}"},{"id":607,"programId":135,"title":"Trim a video from a given start time mm:ss to a duration of mm2:ss2 from that time. (Omit the -t flag to trim till the end)","rawContent":"ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -codec copy -t {{mm2:ss2}} {{output.mp4}}"},{"id":608,"programId":135,"title":"Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23","rawContent":"ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4"},{"id":609,"programId":135,"title":"Remux MKV video to MP4 without re-encoding audio or video streams","rawContent":"ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4"},{"id":610,"programId":135,"title":"Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:video MUST be 0","rawContent":"ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm"},{"id":611,"programId":136,"title":"Display all available stream info for a media file","rawContent":"ffprobe -v error -show_entries {{input.mp4}}"},{"id":612,"programId":136,"title":"Display media duration","rawContent":"ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}"},{"id":613,"programId":136,"title":"Display the frame rate of a video","rawContent":"ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}"},{"id":614,"programId":136,"title":"Display the width or height of a video","rawContent":"ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}"},{"id":615,"programId":136,"title":"Display the average bit rate of a video","rawContent":"ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}"},{"id":616,"programId":137,"title":"Bring most recently suspended background job to foreground","rawContent":"fg"},{"id":617,"programId":137,"title":"Bring a specific job to foreground","rawContent":"fg {{job_id}}"},{"id":618,"programId":138,"title":"Find files by extension","rawContent":"find {{root_path}} -name '{{*.ext}}'"},{"id":619,"programId":138,"title":"Find files matching path pattern","rawContent":"find {{root_path}} -path '{{**/lib/**/*.ext}}'"},{"id":620,"programId":138,"title":"Run a command for each file, use {} within the command to access the filename","rawContent":"find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\\;"},{"id":621,"programId":138,"title":"Find files modified in the last 24-hour period","rawContent":"find {{root_path}} -mtime {{-1}}"},{"id":622,"programId":138,"title":"Find files using case insensitive name matching, of a certain size","rawContent":"find {{root_path}} -size {{+500k}} -size {{-10MB}} -iname '{{*.TaR.gZ}}'"},{"id":623,"programId":138,"title":"Delete files by name, older than 180 days","rawContent":"find {{root_path}} -name '{{*.ext}}' -mtime {{+180}} -delete"},{"id":624,"programId":138,"title":"Find files matching more than one search criteria","rawContent":"find {{root_path}} -name '{{*.py}}' -or -name '{{*.r}}'"},{"id":625,"programId":138,"title":"Find files matching a given pattern, while excluding specific paths","rawContent":"find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'"},{"id":626,"programId":139,"title":"Display information about currently logged in users","rawContent":"finger"},{"id":627,"programId":139,"title":"Display information about a specific user","rawContent":"finger {{username}}"},{"id":628,"programId":139,"title":"Display the user's login name, real name, terminal name, and other information","rawContent":"finger -s"},{"id":629,"programId":139,"title":"Produce multi-line output format displaying same information as `-s` as well as user's home directory, home phone number, login shell, mail status, etc.","rawContent":"finger -l"},{"id":630,"programId":139,"title":"Prevent matching against user's names and only use login names","rawContent":"finger -m"},{"id":631,"programId":140,"title":"Start interactive shell","rawContent":"fish"},{"id":632,"programId":140,"title":"Execute a command","rawContent":"fish -c \"{{command}}\""},{"id":633,"programId":140,"title":"Run commands from a file","rawContent":"fish {{file.fish}}"},{"id":634,"programId":140,"title":"Check a file for syntax errors","rawContent":"fish --no-execute {{file.fish}}"},{"id":635,"programId":140,"title":"Display version information and exit","rawContent":"fish --version"},{"id":636,"programId":141,"title":"Encode a wav file to flac (this will create a flac file in the same location as the wav file)","rawContent":"flac {{path/to/file.wav}}"},{"id":637,"programId":141,"title":"Encode a wav file to flac, specifying the output file","rawContent":"flac -o {{path/to/output.flac}} {{path/to/file.wav}}"},{"id":638,"programId":141,"title":"Decode a flac file to wav, specifying the output file","rawContent":"flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}"},{"id":639,"programId":141,"title":"Test a flac file for the correct encoding","rawContent":"flac -t {{path/to/file.flac}}"},{"id":640,"programId":142,"title":"Generate an analyser from a flex file","rawContent":"flex {{analyser.l}}"},{"id":641,"programId":142,"title":"Specify the output file","rawContent":"flex {{analyser.l}} --outfile {{analyser.c}}"},{"id":642,"programId":142,"title":"Compile a C file generated by flex","rawContent":"cc {{path/to/lex.yy.c}} --output {{executable}}"},{"id":643,"programId":143,"title":"Authenticate with and save concourse target","rawContent":"fly --target {{target_name}} login --team-name {{team_name}} -c {{https://ci.example.com}}"},{"id":644,"programId":143,"title":"List targets","rawContent":"fly targets"},{"id":645,"programId":143,"title":"List pipelines","rawContent":"fly -t {{target_name}} pipelines"},{"id":646,"programId":143,"title":"Upload or update a pipeline","rawContent":"fly -t {{target_name}} set-pipeline --config {{pipeline.yml}} --pipeline {{pipeline_name}}"},{"id":647,"programId":143,"title":"Unpause pipeline","rawContent":"fly -t {{target_name}} unpause-pipeline --pipeline {{pipeline_name}}"},{"id":648,"programId":143,"title":"Show pipeline configuration","rawContent":"fly -t {{target_name}} get-pipeline --pipeline {{pipeline_name}}"},{"id":649,"programId":143,"title":"Update local copy of fly","rawContent":"fly -t {{target_name}} sync"},{"id":650,"programId":143,"title":"Destroy pipeline","rawContent":"fly -t {{target_name}} destroy-pipeline --pipeline {{pipeline_name}}"},{"id":651,"programId":144,"title":"Wrap each line to default width (80 characters)","rawContent":"fold {{file}}"},{"id":652,"programId":144,"title":"Wrap each line to width \"30\"","rawContent":"fold -w30 {{file}}"},{"id":653,"programId":144,"title":"Wrap each line to width \"5\" and break the line at spaces (puts each space separated word in a new line, words with length > 5 are wrapped)","rawContent":"fold -w5 -s {{file}}"},{"id":654,"programId":145,"title":"Perform a command with different arguments","rawContent":"for argument in 1 2 3; do {{command $argument}}; done"},{"id":655,"programId":145,"title":"Perform a command in every directory","rawContent":"for d in *; do (cd $d; {{command}}); done"},{"id":656,"programId":146,"title":"Start running a file forever (as a daemon)","rawContent":"forever {{script}}"},{"id":657,"programId":146,"title":"List running \"forever\" processes (along with IDs and other details of \"forever\" processes)","rawContent":"forever list"},{"id":658,"programId":146,"title":"Stop a running \"forever\" process","rawContent":"forever stop {{ID|pid|script}}"},{"id":659,"programId":147,"title":"Print a quotation","rawContent":"fortune"},{"id":660,"programId":147,"title":"Print an offensive quotation","rawContent":"fortune -o"},{"id":661,"programId":147,"title":"Print a long quotation","rawContent":"fortune -l"},{"id":662,"programId":147,"title":"Print a short quotation","rawContent":"fortune -s"},{"id":663,"programId":147,"title":"List the available quotation database files","rawContent":"fortune -f"},{"id":664,"programId":147,"title":"Print a quotation from one of the database files listed by `fortune -f`","rawContent":"fortune {{filename}}"},{"id":665,"programId":148,"title":"List alive hosts within a subnet generated from a netmask","rawContent":"fping -a -g 192.168.1.0/24"},{"id":666,"programId":148,"title":"List alive hosts within a subnet generated from an IP range","rawContent":"fping -a -g 192.168.1.1 192.168.1.254"},{"id":667,"programId":148,"title":"List unreachable hosts within a subnet generated from a netmask","rawContent":"fping -u -g 192.168.1.0/24"},{"id":668,"programId":149,"title":"Run a bash command on file creation, update or deletion","rawContent":"fswatch {{path/to/file}} | xargs -n 1 {{bash_command}}"},{"id":669,"programId":149,"title":"Watch one or more files and/or directories","rawContent":"fswatch {{path/to/file}} {{path/to/directory}} {{path/to/another_directory/**/*.js}} | xargs -n 1 {{bash_command}}"},{"id":670,"programId":149,"title":"Print the absolute paths of the changed files","rawContent":"fswatch {{path/to/directory}} | xargs -n 1 -I {} echo {}"},{"id":671,"programId":149,"title":"Filter by event type, eg. Updated, Deleted or Created","rawContent":"fswatch --event {{Updated}} {{path/to/directory}} | xargs -n 1 {{bash_command}}"},{"id":672,"programId":150,"title":"Take a picture","rawContent":"fswebcam {{filename}}"},{"id":673,"programId":150,"title":"Take a picture with custom resolution","rawContent":"fswebcam -r {{width}}x{{height}} {{filename}}"},{"id":674,"programId":150,"title":"Take a picture from selected device(Default is /dev/video0)","rawContent":"fswebcam -d {{device}} {{filename}}"},{"id":675,"programId":150,"title":"Take a picture with timestamp(timestamp string is formatted by strftime)","rawContent":"fswebcam --timestamp {{timestamp}} {{filename}}"},{"id":676,"programId":151,"title":"Connect to an FTP server","rawContent":"ftp {{ftp.example.com}}"},{"id":677,"programId":151,"title":"Switch to binary transfer mode (graphics, compressed files, etc)","rawContent":"binary"},{"id":678,"programId":151,"title":"Transfer multiple files without prompting for confirmation on every file","rawContent":"prompt off"},{"id":679,"programId":151,"title":"Download multiple files (glob expression)","rawContent":"mget {{*.png}}"},{"id":680,"programId":151,"title":"Upload multiple files (glob expression)","rawContent":"mput {{*.zip}}"},{"id":681,"programId":151,"title":"Delete multiple files on the remote server","rawContent":"mdelete {{*.txt}}"},{"id":682,"programId":151,"title":"Rename a file on the remote server","rawContent":"rename {{original_filename}} {{new_filename}}"},{"id":683,"programId":152,"title":"Set the `fuck` alias to `thefuck` tool","rawContent":"eval \"$(thefuck --alias)\""},{"id":684,"programId":152,"title":"Try to match a rule for the previous command","rawContent":"fuck"},{"id":685,"programId":153,"title":"Start finder on all files from arbitrary locations","rawContent":"find {{path/to/search}} -type f | fzf"},{"id":686,"programId":153,"title":"Start finder on running processes","rawContent":"ps aux | fzf"},{"id":687,"programId":153,"title":"Select multiple files with `Shift + Tab` and write to a file","rawContent":"find {{path/to/search_files}} -type f | fzf -m > {{filename}}"},{"id":688,"programId":153,"title":"Start finder with a given query","rawContent":"fzf -q \"{{query}}\""},{"id":689,"programId":153,"title":"Start finder on entries that start with core and end with either go, rb, or py","rawContent":"fzf -q \"^core go$ | rb$ | py$\""},{"id":690,"programId":153,"title":"Start finder on entries that not match pyc and match exactly travis","rawContent":"fzf -q \"!pyc 'travis\""},{"id":691,"programId":154,"title":"Compile a source code file into an executable binary","rawContent":"g++ {{source.cpp}} -o {{output_executable}}"},{"id":692,"programId":154,"title":"Display (almost) all errors and warnings","rawContent":"g++ {{source.cpp}} -Wall -o {{output_executable}}"},{"id":693,"programId":154,"title":"Choose a language standard to compile for(C++98/C++11/C++14/C++17)","rawContent":"g++ {{source.cpp}} -std={{language_standard}} -o {{output_executable}}"},{"id":694,"programId":154,"title":"Include libraries located at a different path than the source file","rawContent":"g++ {{source.cpp}} -o {{output_executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}"},{"id":695,"programId":155,"title":"Create a new site","rawContent":"gatsby new {{site_name}}"},{"id":696,"programId":155,"title":"Create a new site with a Gatsby 'starter'","rawContent":"gatsby new {{site_name}} {{url_of_starter_github_repo}}"},{"id":697,"programId":155,"title":"Start a live-reloading local development server","rawContent":"gatsby develop"},{"id":698,"programId":155,"title":"Perform a production build and generate static HTML","rawContent":"gatsby build"},{"id":699,"programId":155,"title":"Start a local server which serves the production build","rawContent":"gatsby serve"},{"id":700,"programId":156,"title":"Compile multiple source files into executable","rawContent":"gcc {{source1.c}} {{source2.c}} -o {{executable}}"},{"id":701,"programId":156,"title":"Allow warnings, debug symbols in output","rawContent":"gcc {{source.c}} -Wall -Og -o {{executable}}"},{"id":702,"programId":156,"title":"Include libraries from a different path","rawContent":"gcc {{source.c}} -o {{executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}"},{"id":703,"programId":156,"title":"Compile source code into Assembler instructions","rawContent":"gcc -S {{source.c}}"},{"id":704,"programId":156,"title":"Compile source code without linking","rawContent":"gcc -c {{source.c}}"},{"id":705,"programId":157,"title":"List all properties in one's active configuration","rawContent":"gcloud config list"},{"id":706,"programId":157,"title":"Set the active project","rawContent":"gcloud config set project {{project_name}}"},{"id":707,"programId":157,"title":"SSH into a virtual machine instance","rawContent":"gcloud compute ssh {{user}}@{{instance}} "},{"id":708,"programId":157,"title":"Display all Google Compute Engine instances in a project. Instances from all zones are listed by default","rawContent":"gcloud compute instances list"},{"id":709,"programId":157,"title":"Update a kubeconfig file with the appropriate credentials to point kubectl to a specific cluster in Google Kubernetes Engine","rawContent":"gcloud container clusters get-credentials {{cluster_name}}"},{"id":710,"programId":157,"title":"Update all gcloud CLI components","rawContent":"gcloud components update"},{"id":711,"programId":157,"title":"Show help for a given command","rawContent":"gcloud help {{command}}"},{"id":712,"programId":158,"title":"Debug an executable","rawContent":"gdb {{executable}}"},{"id":713,"programId":158,"title":"Attach a process to gdb","rawContent":"gdb -p {{procID}}"},{"id":714,"programId":158,"title":"Execute given GDB commands upon start","rawContent":"gdb -ex \"{{commands}}\" {{executable}}"},{"id":715,"programId":158,"title":"Start gdb and pass arguments","rawContent":"gdb --args {{executable}} {{argument1}} {{argument2}}"},{"id":716,"programId":159,"title":"Install latest version of a gem","rawContent":"gem install {{gemname}}"},{"id":717,"programId":159,"title":"Install specific version of a gem","rawContent":"gem install {{gemname}} -v {{1.0.0}}"},{"id":718,"programId":159,"title":"Update a gem","rawContent":"gem update {{gemname}}"},{"id":719,"programId":159,"title":"List all gems","rawContent":"gem list"},{"id":720,"programId":159,"title":"Uninstall a gem","rawContent":"gem uninstall {{gemname}}"},{"id":721,"programId":160,"title":"Connect to the main Ethereum network and automatically download the full node","rawContent":"geth"},{"id":722,"programId":160,"title":"Connect to the Ropsten test network","rawContent":"geth --testnet"},{"id":723,"programId":160,"title":"Create a new account","rawContent":"geth account new"},{"id":724,"programId":160,"title":"Enable mining","rawContent":"geth --mine"},{"id":725,"programId":161,"title":"Find and compile all modules in the current directory","rawContent":"ghc Main"},{"id":726,"programId":161,"title":"Compile a single file","rawContent":"ghc {{file.hs}}"},{"id":727,"programId":161,"title":"Compile using extra optimization","rawContent":"ghc -O {{file.hs}}"},{"id":728,"programId":161,"title":"Stop compilation after generating object files (.o)","rawContent":"ghc -c {{file.hs}}"},{"id":729,"programId":161,"title":"Run Haskell interactive interpreter (REPL)","rawContent":"ghci"},{"id":730,"programId":162,"title":"Make a GIF animation with gifsicle","rawContent":"gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}"},{"id":731,"programId":162,"title":"Extract frames from an animation","rawContent":"gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}"},{"id":732,"programId":162,"title":"You can also edit animations by replacing, deleting, or inserting frames","rawContent":"gifsicle -b {{anim.gif}} --replace '#0' {{new.gif}}"},{"id":733,"programId":163,"title":"Login in gist on this computer","rawContent":"gist --login"},{"id":734,"programId":163,"title":"Create a gist from any number of text files","rawContent":"gist {{file.txt}} {{file2.txt}}"},{"id":735,"programId":163,"title":"Create a private gist with a description","rawContent":"gist -p -d {{\"A meaningful description\"}} {{file.txt}} "},{"id":736,"programId":163,"title":"Read contents from STDIN and create a gist from it","rawContent":"{{echo \"hello world\"}} | gist"},{"id":737,"programId":163,"title":"List your public and private gists","rawContent":"gist -l"},{"id":738,"programId":163,"title":"List all gists for the currently logged in user","rawContent":"gist -l {{user_name}}"},{"id":739,"programId":163,"title":"Use the id from the gist URL to modify or include a file","rawContent":"gist -u {{GIST_ID}} {{file.txt}}"},{"id":740,"programId":164,"title":"Add a file to the index","rawContent":"git add {{path/to/file}}"},{"id":741,"programId":164,"title":"Add all files (tracked and untracked)","rawContent":"git add -A"},{"id":742,"programId":164,"title":"Only add already tracked files","rawContent":"git add -u"},{"id":743,"programId":164,"title":"Also add ignored files","rawContent":"git add -f"},{"id":744,"programId":164,"title":"Add parts of a file interactively","rawContent":"git add -p {{path/to/file}}"},{"id":745,"programId":165,"title":"Start a bisect session on a commit range bounded by a known buggy commit, and a known clean (typically older) one","rawContent":"git bisect start {{bad_commit}} {{good_commit}}"},{"id":746,"programId":165,"title":"For each commit that `git bisect` selects, mark it as \"bad\" or \"good\" after testing it for the issue","rawContent":"git bisect {{good|bad}}"},{"id":747,"programId":165,"title":"After `git bisect` pinpoints the faulty commit, end the bisect session and return to the previous branch","rawContent":"git bisect reset"},{"id":748,"programId":165,"title":"Skip a commit during a bisect (e.g. one that fails the tests due to a different issue)","rawContent":"git bisect skip"},{"id":749,"programId":166,"title":"Print file with author name and commit hash on each line","rawContent":"git blame {{file}}"},{"id":750,"programId":166,"title":"Print file with author email and commit hash on each line","rawContent":"git blame -e {{file}}"},{"id":751,"programId":167,"title":"List local branches. The current branch is highlighted by `*`","rawContent":"git branch"},{"id":752,"programId":167,"title":"List all branches (local and remote)","rawContent":"git branch -a"},{"id":753,"programId":167,"title":"Create new branch based on the current commit","rawContent":"git branch {{branch_name}}"},{"id":754,"programId":167,"title":"Rename a branch (must not have it checked out to do this)","rawContent":"git branch -m {{old_branch_name}} {{new_branch_name}}"},{"id":755,"programId":167,"title":"Delete a local branch","rawContent":"git branch -d {{branch_name}}"},{"id":756,"programId":168,"title":"Create and switch to a new branch","rawContent":"git checkout -b {{branch_name}}"},{"id":757,"programId":168,"title":"Switch to an existing local branch","rawContent":"git checkout {{branch_name}}"},{"id":758,"programId":168,"title":"Switch to an existing remote branch","rawContent":"git checkout --track {{remote_name}}/{{branch_name}}"},{"id":759,"programId":168,"title":"Discard all unstaged changes in the current folder (see `git reset` for more undo-like commands)","rawContent":"git checkout ."},{"id":760,"programId":168,"title":"Discard unstaged changes to a given file","rawContent":"git checkout {{file_name}}"},{"id":761,"programId":168,"title":"Replace a file in the current folder with the version of it committed in a given branch","rawContent":"git checkout {{branch_name}} -- {{file_name}}"},{"id":762,"programId":169,"title":"Apply a commit to the current branch","rawContent":"git cherry-pick {{commit}}"},{"id":763,"programId":169,"title":"Apply a range of commits to the current branch (see also `git rebase --onto`)","rawContent":"git cherry-pick {{start_commit}}~..{{end_commit}}"},{"id":764,"programId":169,"title":"Apply multiple (non-sequential) commits to the current branch","rawContent":"git cherry-pick {{commit_1}} {{commit_2}}"},{"id":765,"programId":170,"title":"Delete files that are not tracked by git","rawContent":"git clean"},{"id":766,"programId":170,"title":"Interactively delete files that are not tracked by git","rawContent":"git clean -i"},{"id":767,"programId":170,"title":"Show what files would be deleted without actually deleting them","rawContent":"git clean --dry-run"},{"id":768,"programId":170,"title":"Forcefully delete files that are not tracked by git","rawContent":"git clean -f"},{"id":769,"programId":170,"title":"Delete untracked files, including ignored files in `.gitignore` and `.git/info/exclude`","rawContent":"git clean -x"},{"id":770,"programId":171,"title":"Clone an existing repository","rawContent":"git clone {{remote_repository_location}}"},{"id":771,"programId":171,"title":"Clone an existing repository and its submodules","rawContent":"git clone --recursive {{remote_repository_location}}"},{"id":772,"programId":171,"title":"For cloning from the local machine","rawContent":"git clone -l"},{"id":773,"programId":171,"title":"Do it quietly","rawContent":"git clone -q"},{"id":774,"programId":171,"title":"Clone an existing repository, and truncate to the specified number of revisions, save your time mostly","rawContent":"git clone --depth {{10}} {{remote_repository_location}}"},{"id":775,"programId":172,"title":"Commit staged files to the repository with a message","rawContent":"git commit -m {{message}}"},{"id":776,"programId":172,"title":"Replace the last commit with currently staged changes","rawContent":"git commit --amend"},{"id":777,"programId":172,"title":"Auto stage all modified files and commit with a message","rawContent":"git commit -a -m {{message}}"},{"id":778,"programId":173,"title":"List only local configuration entries (stored in `.git/config` in the current repository)","rawContent":"git config --list --local"},{"id":779,"programId":173,"title":"List only global configuration entries (stored in `~/.gitconfig`)","rawContent":"git config --list --global"},{"id":780,"programId":173,"title":"List all configuration entries that have been defined either locally or globally","rawContent":"git config --list"},{"id":781,"programId":173,"title":"Get the value of a given configuration entry","rawContent":"git config alias.unstage"},{"id":782,"programId":173,"title":"Set the global value of a given configuration entry","rawContent":"git config --global alias.unstage \"reset HEAD --\""},{"id":783,"programId":173,"title":"Revert a global configuration entry to its default value","rawContent":"git config --global --unset alias.unstage"},{"id":784,"programId":174,"title":"Show unstaged, uncommitted changes","rawContent":"git diff"},{"id":785,"programId":174,"title":"Show all uncommitted changes (including staged ones)","rawContent":"git diff HEAD"},{"id":786,"programId":174,"title":"Show only staged (added, but not yet committed) changes","rawContent":"git diff --staged"},{"id":787,"programId":174,"title":"Show changes from all commits since a given date/time (a date expression, e.g. \"1 week 2 days\" or an ISO date)","rawContent":"git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'"},{"id":788,"programId":174,"title":"Show only names of changed files since a given commit","rawContent":"git diff --name-only {{commit}}"},{"id":789,"programId":174,"title":"Output a summary of file creations, renames and mode changes since a given commit","rawContent":"git diff --summary {{commit}}"},{"id":790,"programId":174,"title":"Create a patch file","rawContent":"git diff > {{target_file}}.patch"},{"id":791,"programId":174,"title":"Compare a single file between two branches or commits","rawContent":"git diff {{branch_1}}..{{branch_2}} [--] {{path/to/file}}"},{"id":792,"programId":174,"title":"Compare different files from the current branch to other branch","rawContent":"git diff {{branch}}:{{path/to/file2}} {{path/to/file}}"},{"id":793,"programId":175,"title":"Fetch the latest changes from the default remote upstream repository (if set)","rawContent":"git fetch"},{"id":794,"programId":175,"title":"Fetch new branches from a specific remote upstream repository","rawContent":"git fetch {{remote_name}}"},{"id":795,"programId":175,"title":"Fetch the latest changes from all remote upstream repositories","rawContent":"git fetch --all"},{"id":796,"programId":175,"title":"Also fetch tags from the remote upstream repository","rawContent":"git fetch --tags"},{"id":797,"programId":175,"title":"Delete local references to remote branches that have been deleted upstream","rawContent":"git fetch --prune"},{"id":798,"programId":176,"title":"Optimise the repository","rawContent":"git gc"},{"id":799,"programId":176,"title":"Aggressively optimise, takes more time","rawContent":"git gc --aggressive"},{"id":800,"programId":176,"title":"Do not prune loose objects (prunes by default)","rawContent":"git gc --no-prune"},{"id":801,"programId":176,"title":"Suppress all output","rawContent":"git gc --quiet"},{"id":802,"programId":176,"title":"View full usage","rawContent":"git gc --help"},{"id":803,"programId":177,"title":"Start imerge-based rebase (checkout the branch to be rebased, first)","rawContent":"git imerge rebase {{branch_to_rebase_onto}}"},{"id":804,"programId":177,"title":"Start imerge-based merge (checkout the branch to merge into, first)","rawContent":"git imerge merge {{branch_to_be_merged}}"},{"id":805,"programId":177,"title":"Show ASCII diagram of in-progress merge or rebase","rawContent":"git imerge diagram"},{"id":806,"programId":177,"title":"Continue imerge operation after resolving conflicts (`git add` the conflicted files, first)","rawContent":"git imerge continue --no-edit"},{"id":807,"programId":177,"title":"Wrap up imerge operation, after all conflicts are resolved","rawContent":"git imerge finish"},{"id":808,"programId":177,"title":"Abort imerge operation, and return to the previous branch","rawContent":"git-imerge remove && git checkout {{previous_branch}}"},{"id":809,"programId":178,"title":"Initialize a new local repository","rawContent":"git init"},{"id":810,"programId":178,"title":"Initialize a barebones repository, suitable for use as a remote over ssh","rawContent":"git init --bare"},{"id":811,"programId":179,"title":"Show the sequence of commits starting from the current one, in reverse chronological order","rawContent":"git log"},{"id":812,"programId":179,"title":"Show the history of a particular file or directory, including differences","rawContent":"git log -p {{path}}"},{"id":813,"programId":179,"title":"Show only the first line of each commit message","rawContent":"git log --oneline"},{"id":814,"programId":179,"title":"Show an overview of which file(s) changed in each commit","rawContent":"git log --stat"},{"id":815,"programId":179,"title":"Show all commits, tags and branches for the entire repo in a graph format","rawContent":"git log --oneline --decorate --all --graph"},{"id":816,"programId":179,"title":"Show only commits whose messages include a given string (case-insensitively)","rawContent":"git log -i --grep {{search_string}}"},{"id":817,"programId":180,"title":"Merge a branch with your current branch","rawContent":"git merge {{branch_name}}"},{"id":818,"programId":180,"title":"Edit the merge message","rawContent":"git merge -e {{branch_name}}"},{"id":819,"programId":180,"title":"Merge a branch and create a merge commit","rawContent":"git merge --no-ff {{branch_name}}"},{"id":820,"programId":181,"title":"Move file inside the repo and add the movement to the next commit","rawContent":"git mv {{path/to/file}} {{new/path/to/file}}"},{"id":821,"programId":181,"title":"Rename file and add renaming to the next commit","rawContent":"git mv {{filename}} {{new_filename}}"},{"id":822,"programId":181,"title":"Overwrite the file in the target path if it exists","rawContent":"git mv --force {{file}} {{target}}"},{"id":823,"programId":182,"title":"Download changes from default remote repository and merge it","rawContent":"git pull"},{"id":824,"programId":182,"title":"Download changes from default remote repository and use fast forward","rawContent":"git pull --rebase"},{"id":825,"programId":182,"title":"Download changes from given remote repository and branch, then merge them into HEAD","rawContent":"git pull {{remote_name}} {{branch}}"},{"id":826,"programId":183,"title":"Send local changes in the current branch to its remote counterpart","rawContent":"git push"},{"id":827,"programId":183,"title":"Send local changes in a given branch to its remote counterpart","rawContent":"git push {{remote_name}} {{local_branch}}"},{"id":828,"programId":183,"title":"Publish the current branch to a remote repository, setting the remote branch name","rawContent":"git push {{remote_name}} -u {{remote_branch}}"},{"id":829,"programId":183,"title":"Send changes on all local branches to their counterparts in a given remote repository","rawContent":"git push --all {{remote_name}}"},{"id":830,"programId":183,"title":"Delete a branch in a remote repository","rawContent":"git push {{remote_name}} --delete {{remote_branch}}"},{"id":831,"programId":183,"title":"Remove remote branches that don't have a local counterpart","rawContent":"git push --prune {{remote_name}}"},{"id":832,"programId":183,"title":"Publish tags that aren't yet in the remote repository","rawContent":"git push --tags"},{"id":833,"programId":184,"title":"Rebase the current branch on top of the master branch","rawContent":"git rebase {{master}}"},{"id":834,"programId":184,"title":"Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified","rawContent":"git rebase -i {{target_base_branch_or_commit_hash}}"},{"id":835,"programId":184,"title":"Continue a rebase that was interrupted by a merge failure, after editing conflicting files","rawContent":"git rebase --continue"},{"id":836,"programId":184,"title":"Abort a rebase in progress (e.g. if it is interrupted by a merge conflict)","rawContent":"git rebase --abort"},{"id":837,"programId":184,"title":"Move part of the current branch onto a new base, providing the old base to start from","rawContent":"git rebase --onto {{new_base}} {{old_base}}"},{"id":838,"programId":184,"title":"Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified","rawContent":"git rebase -i {{HEAD~5}}"},{"id":839,"programId":185,"title":"View reflog","rawContent":"git reflog"},{"id":840,"programId":185,"title":"View 5 latest entries in reflog","rawContent":"git reflog -n {{5}}"},{"id":841,"programId":186,"title":"Show a list of existing remotes, their names and URL","rawContent":"git remote -v"},{"id":842,"programId":186,"title":"Add a remote","rawContent":"git remote add {{remote_name}} {{remote_url}}"},{"id":843,"programId":186,"title":"Change the URL of a remote","rawContent":"git remote set-url {{remote_name}} {{new_url}}"},{"id":844,"programId":186,"title":"Remove a remote","rawContent":"git remote remove {{remote_name}}"},{"id":845,"programId":186,"title":"Rename a remote","rawContent":"git remote rename {{old_name}} {{new_name}}"},{"id":846,"programId":187,"title":"Unstage everything","rawContent":"git reset"},{"id":847,"programId":187,"title":"Unstage specific file(s)","rawContent":"git reset {{path/to/file(s)}}"},{"id":848,"programId":187,"title":"Unstage portions of a file","rawContent":"git reset -p {{path/to/file}}"},{"id":849,"programId":187,"title":"Undo the last commit, keeping its changes (and any further uncommitted changes) in the filesystem","rawContent":"git reset HEAD~"},{"id":850,"programId":187,"title":"Undo the last two commits, adding their changes to the index, i.e. staged for commit","rawContent":"git reset --soft HEAD~2"},{"id":851,"programId":187,"title":"Discard any uncommitted changes, staged or not (for only unstaged changes, use `git checkout`)","rawContent":"git reset --hard"},{"id":852,"programId":187,"title":"Reset the repository to a given commit, discarding committed, staged and uncommitted changes since then","rawContent":"git reset --hard {{commit}}"},{"id":853,"programId":188,"title":"Remove file from repository index and filesystem","rawContent":"git rm {{file}}"},{"id":854,"programId":188,"title":"Remove directory","rawContent":"git rm -r {{directory}}"},{"id":855,"programId":188,"title":"Remove file from repository index but keep it untouched locally","rawContent":"git rm --cached {{file}}"},{"id":856,"programId":189,"title":"View a summary of all the commits made, grouped alphabetically by author name","rawContent":"git shortlog"},{"id":857,"programId":189,"title":"View a summary of all the commits made, sorted by the number of commits made","rawContent":"git shortlog -n"},{"id":858,"programId":189,"title":"View a summary of all the commits made, grouped by the commiter identities (name and email)","rawContent":"git shortlog -c"},{"id":859,"programId":189,"title":"View a summary of the last 5 commits (i.e. specify a revision range)","rawContent":"git shortlog HEAD~{{5}}..HEAD"},{"id":860,"programId":190,"title":"Show information about the latest commit (message, changes, and other metadata)","rawContent":"git show"},{"id":861,"programId":190,"title":"Show information about a given commit","rawContent":"git show {{commit}}"},{"id":862,"programId":190,"title":"Show information about the commit associated with a given tag","rawContent":"git show {{tag}}"},{"id":863,"programId":190,"title":"Show information about the 3rd commit from the tip of a branch","rawContent":"git show {{branch}}~{{3}}"},{"id":864,"programId":190,"title":"Show a commit's hash and message in a single line, suppressing the diff output","rawContent":"git show --oneline -s {{commit}}"},{"id":865,"programId":191,"title":"Report only statistics that have a level of concern greater than 0","rawContent":"git sizer"},{"id":866,"programId":191,"title":"Report all statistics","rawContent":"git sizer -v"},{"id":867,"programId":191,"title":"See additional options","rawContent":"git sizer -h"},{"id":868,"programId":192,"title":"Stash current changes, except new (untracked) files","rawContent":"git stash [save {{optional_stash_message}}]"},{"id":869,"programId":192,"title":"Stash current changes, including new (untracked) files","rawContent":"git stash -u"},{"id":870,"programId":192,"title":"Interactively select parts of changed files for stashing","rawContent":"git stash -p"},{"id":871,"programId":192,"title":"List all stashes (shows stash name, related branch and message)","rawContent":"git stash list"},{"id":872,"programId":192,"title":"Apply a stash (default is the latest, named stash@{0})","rawContent":"git stash apply {{optional_stash_name_or_commit}}"},{"id":873,"programId":192,"title":"Apply a stash (default is stash@{0}), and remove it from the stash list if applying doesn't cause conflicts","rawContent":"git stash pop {{optional_stash_name}}"},{"id":874,"programId":192,"title":"Drop a stash (default is stash@{0})","rawContent":"git stash drop {{optional_stash_name}}"},{"id":875,"programId":192,"title":"Drop all stashes","rawContent":"git stash clear"},{"id":876,"programId":193,"title":"Show changed files which are not yet added for commit","rawContent":"git status"},{"id":877,"programId":193,"title":"Give output in short format","rawContent":"git status -s"},{"id":878,"programId":194,"title":"Install a repository's specified submodules","rawContent":"git submodule update --init --recursive"},{"id":879,"programId":194,"title":"Add a git repository as a submodule","rawContent":"git submodule add {{repository_url}}"},{"id":880,"programId":194,"title":"Add a git repository as a submodule at the specified directory","rawContent":"git submodule add {{repository_url}} {{path/to/directory}}"},{"id":881,"programId":194,"title":"Update every submodule to its latest commit","rawContent":"git submodule foreach git pull"},{"id":882,"programId":195,"title":"Clone an SVN repository","rawContent":"git svn clone {{https://example.com/subversion_repo}} {{local_dir}}"},{"id":883,"programId":195,"title":"Clone a SVN repository starting at a given revision number","rawContent":"git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}"},{"id":884,"programId":195,"title":"Update local clone from the remote SVN repository","rawContent":"git svn rebase"},{"id":885,"programId":195,"title":"Fetch updates from the remote SVN repository without changing the git HEAD","rawContent":"git svn fetch"},{"id":886,"programId":195,"title":"Commit back to the SVN repository","rawContent":"git svn dcommit"},{"id":887,"programId":196,"title":"List all tags","rawContent":"git tag"},{"id":888,"programId":196,"title":"Create a tag with the given name pointing to the current commit","rawContent":"git tag {{tag_name}}"},{"id":889,"programId":196,"title":"Create a tag with the given name pointing to a given commit","rawContent":"git tag {{tag_name}} {{commit}}"},{"id":890,"programId":196,"title":"Create an annotated tag with the given message","rawContent":"git tag {{tag_name}} -m {{tag_message}}"},{"id":891,"programId":196,"title":"Delete the tag with the given name","rawContent":"git tag -d {{tag_name}}"},{"id":892,"programId":196,"title":"Get updated tags from upstream","rawContent":"git fetch --tags"},{"id":893,"programId":196,"title":"List all tags whose ancestors include a given commit","rawContent":"git tag --contains {{commit}}"},{"id":894,"programId":197,"title":"Create a new folder with the specified branch checked out into it","rawContent":"git worktree add {{path/to/folder}} {{branch}}"},{"id":895,"programId":197,"title":"Create a new folder with a new branch checked out into it","rawContent":"git worktree add {{path/to/folder}} -b {{new_branch}}"},{"id":896,"programId":197,"title":"List all the working directories attached to this repository","rawContent":"git worktree list"},{"id":897,"programId":197,"title":"Remove a worktree (after deleting worktree folder)","rawContent":"git worktree prune"},{"id":898,"programId":198,"title":"Check the Git version","rawContent":"git --version"},{"id":899,"programId":198,"title":"Call general help","rawContent":"git --help"},{"id":900,"programId":198,"title":"Call help on a command","rawContent":"git help {{command}}"},{"id":901,"programId":198,"title":"Execute Git command","rawContent":"git {{command}}"},{"id":902,"programId":199,"title":"Show the repository browser for the current git repository","rawContent":"gitk"},{"id":903,"programId":199,"title":"Show repository browser for a specific file or folder","rawContent":"gitk {{path/to/file_or_folder}}"},{"id":904,"programId":199,"title":"Show commits made since 1 week ago","rawContent":"gitk --since={{\"1 week ago\"}}"},{"id":905,"programId":199,"title":"Show commits older than 1/1/2016","rawContent":"gitk --until={{\"1/1/2015\"}}"},{"id":906,"programId":199,"title":"Show at most 100 changes in all branches","rawContent":" gitk --max-count={{100}} --all"},{"id":907,"programId":200,"title":"Enter the gitsome shell (optional), to enable autocompletion and interactive help for git (and gh) commands","rawContent":"gitsome"},{"id":908,"programId":200,"title":"Setup GitHub integration with the current account","rawContent":"gh configure"},{"id":909,"programId":200,"title":"List notifications for the current account (as would be seen in https://github.com/notifications)","rawContent":"gh notifications"},{"id":910,"programId":200,"title":"List the current account's starred repos, filtered by a given search string","rawContent":"gh starred \"{{python 3}}\""},{"id":911,"programId":200,"title":"View the recent activity feed of a given GitHub repository","rawContent":"gh feed {{tldr-pages/tldr}}"},{"id":912,"programId":200,"title":"View the recent activity feed for a given GitHub user, using the default pager (e.g. `less`)","rawContent":"gh feed {{torvalds}} -p"},{"id":913,"programId":201,"title":"Run in terminal","rawContent":"glances"},{"id":914,"programId":201,"title":"Run in web server mode to show results in browser","rawContent":"glances -w"},{"id":915,"programId":201,"title":"Run in server mode to allow connections from other Glances clients","rawContent":"glances -s"},{"id":916,"programId":201,"title":"Connect to a Glances server","rawContent":"glances -c {{hostname}}"},{"id":917,"programId":201,"title":"Require a password in (web) server mode","rawContent":"glances -s --password"},{"id":918,"programId":202,"title":"Start the interactive graph plotting shell","rawContent":"gnuplot"},{"id":919,"programId":202,"title":"Plot the graph for the specified graph definition file","rawContent":"gnuplot {{path/to/definition.plt}}"},{"id":920,"programId":202,"title":"Set the output format by executing a command before loading the definition file","rawContent":"gnuplot -e \"{{set output \"path/to/filename.png\" size 1024,768}}\" {{path/to/definition.plt}}"},{"id":921,"programId":202,"title":"Persist the graph plot preview window after gnuplot exits","rawContent":"gnuplot --persist {{path/to/definition.plt}}"},{"id":922,"programId":203,"title":"Download and install a package, specified by its import path","rawContent":"go get {{package_path}}"},{"id":923,"programId":203,"title":"Compile and run a source file (it has to contain a `main` package)","rawContent":"go run {{file}}.go"},{"id":924,"programId":203,"title":"Compile a source file into a named executable","rawContent":"go build -o {{executable}} {{file}}.go"},{"id":925,"programId":203,"title":"Compile the package present in the current directory","rawContent":"go build"},{"id":926,"programId":203,"title":"Execute all test cases of the current package (files have to end with `_test.go`)","rawContent":"go test"},{"id":927,"programId":203,"title":"Compile and install the current package","rawContent":"go install"},{"id":928,"programId":204,"title":"Format a file and display the result to the console","rawContent":"gofmt {{source.go}}"},{"id":929,"programId":204,"title":"Format a file, overwriting the original file in-place","rawContent":"gofmt -w {{source.go}}"},{"id":930,"programId":204,"title":"Format a file, and then simplify the code, overwriting the original file","rawContent":"gofmt -s -w {{source.go}}"},{"id":931,"programId":204,"title":"Print all (including spurious) errors","rawContent":"gofmt -e {{source.go}}"},{"id":932,"programId":205,"title":"Run gource in a directory (if it isn't the repository's root directory, the root is seeked up from there)","rawContent":"gource {{path/to/repository}}"},{"id":933,"programId":205,"title":"Run gource in the current directory, with a custom output resolution","rawContent":"gource -{{width}}x{{height}}"},{"id":934,"programId":205,"title":"Set a custom time scale for the animation","rawContent":"gource -c {{time_scale_multiplier}}"},{"id":935,"programId":205,"title":"Set how long each day should be in the animation (this combines with -c, if provided)","rawContent":"gource -s {{seconds}}"},{"id":936,"programId":205,"title":"Set fullscreen mode and a custom background color","rawContent":"gource -f -b {{hex_color_code}}"},{"id":937,"programId":205,"title":"Set a title for the animation","rawContent":"gource --title {{title}}"},{"id":938,"programId":206,"title":"Sign doc.txt without encryption (writes output to doc.txt.asc)","rawContent":"gpg --clearsign {{doc.txt}}"},{"id":939,"programId":206,"title":"Encrypt doc.txt for alice@example.com (output to doc.txt.gpg)","rawContent":"gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}"},{"id":940,"programId":206,"title":"Encrypt doc.txt with only a passphrase (output to doc.txt.gpg)","rawContent":"gpg --symmetric {{doc.txt}}"},{"id":941,"programId":206,"title":"Decrypt doc.txt.gpg (output to STDOUT)","rawContent":"gpg --decrypt {{doc.txt.gpg}}"},{"id":942,"programId":206,"title":"Import a public key","rawContent":"gpg --import {{public.gpg}}"},{"id":943,"programId":206,"title":"Export public key for alice@example.com (output to STDOUT)","rawContent":"gpg --export --armor {{alice@example.com}}"},{"id":944,"programId":206,"title":"Export private key for alice@example.com (output to STDOUT)","rawContent":"gpg --export-secret-keys --armor {{alice@example.com}}"},{"id":945,"programId":207,"title":"Compile a package","rawContent":"gradle build"},{"id":946,"programId":207,"title":"Exclude test task","rawContent":"gradle build -x {{test}}"},{"id":947,"programId":207,"title":"Run in offline mode to prevent gradle from accessing the network during builds","rawContent":"gradle build --offline"},{"id":948,"programId":207,"title":"Clear the build folder","rawContent":"gradle clean"},{"id":949,"programId":207,"title":"Compile and Release package","rawContent":"gradle assembleRelease"},{"id":950,"programId":208,"title":"Search for an exact string","rawContent":"grep {{search_string}} {{path/to/file}}"},{"id":951,"programId":208,"title":"Search in case-insensitive mode","rawContent":"grep -i {{search_string}} {{path/to/file}}"},{"id":952,"programId":208,"title":"Search recursively (ignoring non-text files) in current directory for an exact string","rawContent":"grep -RI {{search_string}} ."},{"id":953,"programId":208,"title":"Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`)","rawContent":"grep -E {{^regex$}} {{path/to/file}}"},{"id":954,"programId":208,"title":"Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match","rawContent":"grep -{{C|B|A}} 3 {{search_string}} {{path/to/file}}"},{"id":955,"programId":208,"title":"Print file name with the corresponding line number for each match","rawContent":"grep -Hn {{search_string}} {{path/to/file}}"},{"id":956,"programId":208,"title":"Use the standard input instead of a file","rawContent":"cat {{path/to/file}} | grep {{search_string}}"},{"id":957,"programId":208,"title":"Invert match for excluding specific strings","rawContent":"grep -v {{search_string}}"},{"id":958,"programId":209,"title":"Render a man page as plain text, and display the result","rawContent":"groff -man -T utf8 {{manpage.1}}"},{"id":959,"programId":209,"title":"Render a man page using the ASCII output device, and display it using a pager","rawContent":"groff -man -T ascii {{manpage.1}} | less"},{"id":960,"programId":209,"title":"Render a man page into an HTML file","rawContent":"groff -man -T html {{manpage.1}} > {{page.html}}"},{"id":961,"programId":209,"title":"Process a roff file using the `tbl` and `pic` preprocessors, and the `me` macro set","rawContent":"groff -t -p -me -T utf8 {{foo.me}}"},{"id":962,"programId":209,"title":"Run a `groff` command with preprocessor and macro options guessed by the `grog` utility","rawContent":"eval \"$(grog -T utf8 {{foo.me}})\""},{"id":963,"programId":210,"title":"Run the default task process","rawContent":"grunt"},{"id":964,"programId":210,"title":"Run one or more specific space-separated task(s)","rawContent":"grunt {{task_name}}"},{"id":965,"programId":210,"title":"Specify an alternative configuration file","rawContent":"grunt --gruntfile {{path/to/file}}"},{"id":966,"programId":210,"title":"Specify an alternative base path for relative files","rawContent":"grunt --base {{path/to/directory}}"},{"id":967,"programId":210,"title":"Specify an additional directory to scan for tasks in","rawContent":"grunt --tasks {{path/to/directory}}"},{"id":968,"programId":210,"title":"Perform a dry-run without writing any files","rawContent":"grunt --no-write"},{"id":969,"programId":210,"title":"List all available options","rawContent":"grunt --help"},{"id":970,"programId":211,"title":"Show the system stats dashboard","rawContent":"gtop"},{"id":971,"programId":211,"title":"Sort by CPU usage","rawContent":"c"},{"id":972,"programId":211,"title":"Sort by memory usage","rawContent":"m"},{"id":973,"programId":212,"title":"Run the default task","rawContent":"gulp"},{"id":974,"programId":212,"title":"Run individual tasks","rawContent":"gulp {{task}} {{othertask}}"},{"id":975,"programId":213,"title":"Extract a file from an archive, replacing the original file if it exists","rawContent":"gunzip {{archive.tar.gz}}"},{"id":976,"programId":213,"title":"Extract a file to a target destination","rawContent":"gunzip -c {{archive.tar.gz}} > {{archive.tar}}"},{"id":977,"programId":213,"title":"List the contents of a compressed file","rawContent":"gunzip -l {{file.txt.gz}}"},{"id":978,"programId":214,"title":"Compress a file, replacing it with a gzipped compressed version","rawContent":"gzip {{file.ext}}"},{"id":979,"programId":214,"title":"Decompress a file, replacing it with the original uncompressed version","rawContent":"gzip -d {{file.ext}}.gz"},{"id":980,"programId":214,"title":"Compress a file specifying the output filename","rawContent":"gzip -c {{file.ext}} > {{compressed_file.ext.gz}}"},{"id":981,"programId":214,"title":"Uncompress a gzipped file specifying the output filename","rawContent":"gzip -c -d {{file.ext}}.gz > {{uncompressed_file.ext}}"},{"id":982,"programId":214,"title":"Specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6","rawContent":"gzip -9 -c {{file.ext}} > {{compressed_file.ext.gz}}"},{"id":983,"programId":215,"title":"Convert a video file to MKV (AAC 160kbit audio and x264 CRF20 video)","rawContent":"handbrakecli -i {{input.avi}} -o {{output.mkv}} -e x264 -q 20 -B 160"},{"id":984,"programId":215,"title":"Resize a video file to 320x240","rawContent":"handbrakecli -i {{input.mp4}} -o {{output.mp4} -w 320 -l 240"},{"id":985,"programId":215,"title":"List available presets","rawContent":"handbrakecli --preset-list"},{"id":986,"programId":215,"title":"Convert an AVI video to MP4 using the Android preset","rawContent":"handbrakecli --preset=\"Android\" -i {{input.ext}} -o {{output.mp4}}"},{"id":987,"programId":216,"title":"Start hangups","rawContent":"hangups"},{"id":988,"programId":216,"title":"View troubeshooting information and help","rawContent":"hangups -h"},{"id":989,"programId":216,"title":"Set a refresh token for hangups","rawContent":"hangups --token-path {{/path/to/token}}"},{"id":990,"programId":217,"title":"Search for a Haxe library","rawContent":"haxelib search {{keyword}}"},{"id":991,"programId":217,"title":"Install a Haxe library","rawContent":"haxelib install {{libname}}"},{"id":992,"programId":217,"title":"Upgrade all installed Haxe libraries","rawContent":"haxelib upgrade"},{"id":993,"programId":217,"title":"Install the development version of a library from a Git repository","rawContent":"haxelib git {{libname}} {{git_url}}"},{"id":994,"programId":218,"title":"Generate a man page for an executable","rawContent":"help2man {{executable}}"},{"id":995,"programId":218,"title":"Specify the \"name\" paragraph in the man page","rawContent":"help2man {{executable}} --name {{name}}"},{"id":996,"programId":218,"title":"Specify the section for the man page (defaults to 1)","rawContent":"help2man {{executable}} --section {{section}}"},{"id":997,"programId":218,"title":"Output to a file instead of stdout","rawContent":"help2man {{executable}} --output {{path/to/file}}"},{"id":998,"programId":218,"title":"Display detailed help","rawContent":"help2man --help"},{"id":999,"programId":219,"title":"Login to your heroku account","rawContent":"heroku login"},{"id":1000,"programId":219,"title":"Create a heroku app","rawContent":"heroku create"},{"id":1001,"programId":219,"title":"Show logs for an app","rawContent":"heroku logs --app {{app_name}}"},{"id":1002,"programId":219,"title":"Run a one-off process inside a dyno (Heroku virtual machine)","rawContent":"heroku run {{process_name}} --app {{app_name}}"},{"id":1003,"programId":219,"title":"List dynos (Heroku virtual machines) for an app","rawContent":"heroku ps --app {{app_name}}"},{"id":1004,"programId":219,"title":"Permanently destroy an app","rawContent":"heroku destroy --app {{app_name}}"},{"id":1005,"programId":220,"title":"Add files or directories to the staging area","rawContent":"hg add {{path/to/file}}"},{"id":1006,"programId":220,"title":"Add all unstaged files matching a specified pattern","rawContent":"hg add --include {{pattern}}"},{"id":1007,"programId":220,"title":"Add all unstaged files, excluding those that match a specified pattern","rawContent":"hg add --exclude {{pattern}}"},{"id":1008,"programId":220,"title":"Recursively add sub-repositories","rawContent":"hg add --subrepos"},{"id":1009,"programId":220,"title":"Perform a test-run without performing any actions","rawContent":"hg add --dry-run"},{"id":1010,"programId":221,"title":"Show the name of the currently active branch","rawContent":"hg branch"},{"id":1011,"programId":221,"title":"Create a new branch for the next commit","rawContent":"hg branch {{branch_name}}"},{"id":1012,"programId":222,"title":"Clone a repository to a specified directory","rawContent":"hg clone {{remote_repository_source}} {{destination_path}}"},{"id":1013,"programId":222,"title":"Clone a repository to the head of a specific branch, ignoring later commits","rawContent":"hg clone --branch {{branch}} {{remote_repository_source}}"},{"id":1014,"programId":222,"title":"Clone a repository with only the \".hg\" directory, without checking out files","rawContent":"hg clone --noupdate {{remote_repository_source}}"},{"id":1015,"programId":222,"title":"Clone a repository to a specific revision, tag or branch, keeping the entire history","rawContent":"hg clone --updaterev {{revision}} {{remote_repository_source}}"},{"id":1016,"programId":222,"title":"Clone a repository up to a specific revision without any newer history","rawContent":"hg clone --rev {{revision}} {{remote_repository_source}}"},{"id":1017,"programId":223,"title":"Commit staged files to the repository","rawContent":"hg commit"},{"id":1018,"programId":223,"title":"Commit a specific file or directory","rawContent":"hg commit {{path/to/file}}"},{"id":1019,"programId":223,"title":"Commit with a specific message","rawContent":"hg commit --message {{message}}"},{"id":1020,"programId":223,"title":"Commit all files matching a specified pattern","rawContent":"hg commit --include {{pattern}}"},{"id":1021,"programId":223,"title":"Commit all files, excluding those that match a specified pattern","rawContent":"hg commit --exclude {{pattern}}"},{"id":1022,"programId":223,"title":"Commit using the interactive mode","rawContent":"hg commit --interactive"},{"id":1023,"programId":224,"title":"Initialise a new repository in the current directory","rawContent":"hg init"},{"id":1024,"programId":224,"title":"Initialise a new repository in the specified directory","rawContent":"hg init {{path/to/directory}}"},{"id":1025,"programId":225,"title":"Display the entire revision history of the repository","rawContent":"hg log"},{"id":1026,"programId":225,"title":"Display the revision history with an ASCII graph","rawContent":"hg log --graph"},{"id":1027,"programId":225,"title":"Display the revision history with file names matching a specified pattern","rawContent":"hg log --include {{pattern}}"},{"id":1028,"programId":225,"title":"Display the revision history, excluding file names that match a specified pattern","rawContent":"hg log --exclude {{pattern}}"},{"id":1029,"programId":225,"title":"Display the log information for a specific revision","rawContent":"hg log --rev {{revision}}"},{"id":1030,"programId":225,"title":"Display the revision history for a specific branch","rawContent":"hg log --branch {{branch}}"},{"id":1031,"programId":225,"title":"Display the revision history for a specific date","rawContent":"hg log --date {{date}}"},{"id":1032,"programId":225,"title":"Display revisions committed by a specific user","rawContent":"hg log --user {{user}}"},{"id":1033,"programId":226,"title":"Pull from the \"default\" source path","rawContent":"hg pull"},{"id":1034,"programId":226,"title":"Pull from a specified source repository","rawContent":"hg pull {{path/to/source_repository}}"},{"id":1035,"programId":226,"title":"Update the local repository to the head of the remote","rawContent":"hg pull --update"},{"id":1036,"programId":226,"title":"Pull changes even when the remote repository is unrelated","rawContent":"hg pull --force"},{"id":1037,"programId":226,"title":"Specify a specific revision changeset to pull up to","rawContent":"hg pull --rev {{revision}}"},{"id":1038,"programId":226,"title":"Specify a specific branch to pull","rawContent":"hg pull --branch {{branch}}"},{"id":1039,"programId":226,"title":"Specify a specific bookmark to pull","rawContent":"hg pull --bookmark {{bookmark}}"},{"id":1040,"programId":227,"title":"Push changes to the \"default\" remote path","rawContent":"hg push"},{"id":1041,"programId":227,"title":"Push changes to a specified remote repository","rawContent":"hg push {{path/to/destination_repository}}"},{"id":1042,"programId":227,"title":"Push a new branch if it does not exist (disabled by default)","rawContent":"hg push --new-branch"},{"id":1043,"programId":227,"title":"Specify a specific revision changeset to push","rawContent":"hg push --rev {{revision}}"},{"id":1044,"programId":227,"title":"Specify a specific branch to push","rawContent":"hg push --branch {{branch}}"},{"id":1045,"programId":227,"title":"Specify a specific bookmark to push","rawContent":"hg push --bookmark {{bookmark}}"},{"id":1046,"programId":228,"title":"Remove files or directories from the staging area","rawContent":"hg remove {{path/to/file}}"},{"id":1047,"programId":228,"title":"Remove all staged files matching a specified pattern","rawContent":"hg remove --include {{pattern}}"},{"id":1048,"programId":228,"title":"Remove all staged files, excluding those that match a specified pattern","rawContent":"hg remove --exclude {{pattern}}"},{"id":1049,"programId":228,"title":"Recursively remove sub-repositories","rawContent":"hg remove --subrepos"},{"id":1050,"programId":228,"title":"Remove files from the repository that have been physically removed","rawContent":"hg remove --after"},{"id":1051,"programId":229,"title":"Start a web server instance","rawContent":"hg serve"},{"id":1052,"programId":229,"title":"Start a web server instance on the specified port","rawContent":"hg serve --port {{port}}"},{"id":1053,"programId":229,"title":"Start a web server instance on the specified listening address","rawContent":"hg serve --address {{address}}"},{"id":1054,"programId":229,"title":"Start a web server instance with a specific identifier","rawContent":"hg serve --name {{name}}"},{"id":1055,"programId":229,"title":"Start a web server instance using the specified theme (see the templates directory)","rawContent":"hg serve --style {{style}}"},{"id":1056,"programId":229,"title":"Start a web server instance using the specified SSL certificate bundle","rawContent":"hg serve --certificate {{path/to/certificate}}"},{"id":1057,"programId":230,"title":"Update to the tip of the current branch","rawContent":"hg update"},{"id":1058,"programId":230,"title":"Update to the specified revision","rawContent":"hg update --rev {{revision}}"},{"id":1059,"programId":230,"title":"Update and discard uncommitted changes","rawContent":"hg update --clean"},{"id":1060,"programId":230,"title":"Update to the last commit matching a specified date","rawContent":"hg update --date {{dd-mm-yyyy}}"},{"id":1061,"programId":231,"title":"Execute Mercurial command","rawContent":"hg {{command}}"},{"id":1062,"programId":231,"title":"Call general help","rawContent":"hg help"},{"id":1063,"programId":231,"title":"Call help on a command","rawContent":"hg help {{command}}"},{"id":1064,"programId":231,"title":"Check the Mercurial version","rawContent":"hg --version"},{"id":1065,"programId":232,"title":"Display the commands history list with line numbers","rawContent":"history"},{"id":1066,"programId":232,"title":"Clear the commands history list (only for current `bash` shell)","rawContent":"history -c"},{"id":1067,"programId":232,"title":"Overwrite history file with history of current `bash` shell (often combined with `history -c` to purge history)","rawContent":"history -w"},{"id":1068,"programId":233,"title":"View stories on Hacker News","rawContent":"hn"},{"id":1069,"programId":233,"title":"View _number_ of stories on Hacker News","rawContent":"hn --limit {{number}}"},{"id":1070,"programId":233,"title":"View stories on Hacker News, and keep the list open after selecting a link","rawContent":"hn --keep-open"},{"id":1071,"programId":233,"title":"View stories on Hacker News sorted by submission date","rawContent":"hn --latest"},{"id":1072,"programId":234,"title":"Lookup A, AAAA, and MX records of a domain","rawContent":"host {{domain}}"},{"id":1073,"programId":234,"title":"Lookup a field (CNAME, TXT,...) of a domain","rawContent":"host -t {{field}} {{domain}}"},{"id":1074,"programId":234,"title":"Reverse lookup an IP","rawContent":"host {{ip_address}}"},{"id":1075,"programId":235,"title":"Create/overwrite htpasswd file","rawContent":"htpasswd -c {{path/to/file}} {{user_name}}"},{"id":1076,"programId":235,"title":"Add user to htpasswd file or update existing user","rawContent":"htpasswd {{path/to/file}} {{user_name}}"},{"id":1077,"programId":235,"title":"Add user to htpasswd file in batch mode without an interactive password prompt (for script usage)","rawContent":"htpasswd -b {{path/to/file}} {{user_name}} {{password}}"},{"id":1078,"programId":235,"title":"Delete user from htpasswd file","rawContent":"htpasswd -D {{path/to/file}} {{user_name}}"},{"id":1079,"programId":235,"title":"Verify user password","rawContent":"htpasswd -v {{path/to/file}} {{user_name}}"},{"id":1080,"programId":236,"title":"Download a URL to a file","rawContent":"http -d {{example.org}}"},{"id":1081,"programId":236,"title":"Send form-encoded data","rawContent":"http -f {{example.org}} {{name='bob'}} {{profile_picture@'bob.png'}}"},{"id":1082,"programId":236,"title":"Send JSON object","rawContent":"http {{example.org}} {{name='bob'}}"},{"id":1083,"programId":236,"title":"Specify an HTTP method","rawContent":"http {{HEAD}} {{example.org}}"},{"id":1084,"programId":236,"title":"Include an extra header","rawContent":"http {{example.org}} {{X-MyHeader:123}}"},{"id":1085,"programId":236,"title":"Pass a user name and password for server authentication","rawContent":"http -a {{username:password}} {{example.org}}"},{"id":1086,"programId":236,"title":"Specify raw request body via stdin","rawContent":"cat {{data.txt}} | http PUT {{example.org}}"},{"id":1087,"programId":237,"title":"Clone a repository you own, using just the repository name rather than the full URL","rawContent":"hub clone {{repo_name}}"},{"id":1088,"programId":237,"title":"Clone another user's repository, using their github username and the repository name","rawContent":"hub clone {{username}}/{{repo_name}}"},{"id":1089,"programId":237,"title":"Create a fork of the current repository (cloned from another user) under your github profile","rawContent":"hub fork"},{"id":1090,"programId":237,"title":"Create a PR of the current branch in the original repository (after pushing the branch to github)","rawContent":"hub pull-request"},{"id":1091,"programId":237,"title":"Upload the current (local-only) repository to your github account","rawContent":"hub create"},{"id":1092,"programId":238,"title":"Create a new Hugo site","rawContent":"hugo new site {{path/to/site}}"},{"id":1093,"programId":238,"title":"Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/)","rawContent":"hugo new theme {{theme_name}}"},{"id":1094,"programId":238,"title":"Create a new page","rawContent":"hugo new {{section_name}}/{{filename}}"},{"id":1095,"programId":238,"title":"Build a site to the `./public/` directory","rawContent":"hugo"},{"id":1096,"programId":238,"title":"Build a site including pages that are marked as a \"draft\"","rawContent":"hugo --buildDrafts"},{"id":1097,"programId":238,"title":"Build a site to a given directory","rawContent":"hugo --destination {{path/to/destination}}"},{"id":1098,"programId":238,"title":"Build a site, start up a webserver to serve it, and automatically reload when pages are edited","rawContent":"hugo server"},{"id":1099,"programId":239,"title":"Convert file to a specific encoding, and print to stdout","rawContent":"iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}"},{"id":1100,"programId":239,"title":"Convert file to the current locale's encoding, and output to a file","rawContent":"iconv -f {{from_encoding}} {{input_file}} > {{output_file}}"},{"id":1101,"programId":239,"title":"List supported encodings","rawContent":"iconv -l"},{"id":1102,"programId":240,"title":"Display the current user identity as a number","rawContent":"id -u"},{"id":1103,"programId":240,"title":"Display the current group identity as a number","rawContent":"id -g"},{"id":1104,"programId":241,"title":"Set artist and title tag of an MP3 file","rawContent":"id3tag --artist={{artist}} --title={{title}} {{path/to/file.mp3}}"},{"id":1105,"programId":241,"title":"Set album title of all MP3 files in the current directory","rawContent":"id3tag --album={{album}} {{*.mp3}}"},{"id":1106,"programId":241,"title":"Get more help","rawContent":"id3tag --help"},{"id":1107,"programId":242,"title":"Echo a different thing depending on a command's success","rawContent":"{{command}} && echo \"success\" || echo \"failure\""},{"id":1108,"programId":242,"title":"Full if syntax","rawContent":"if {{condition}}; then echo \"true\"; else echo \"false\"; fi"},{"id":1109,"programId":243,"title":"View network settings of an ethernet adapter","rawContent":"ifconfig eth0"},{"id":1110,"programId":243,"title":"Display details of all interfaces, including disabled interfaces","rawContent":"ifconfig -a"},{"id":1111,"programId":243,"title":"Disable eth0 interface","rawContent":"ifconfig eth0 down"},{"id":1112,"programId":243,"title":"Enable eth0 interface","rawContent":"ifconfig eth0 up"},{"id":1113,"programId":243,"title":"Assign IP address to eth0 interface","rawContent":"ifconfig eth0 {{ip_address}}"},{"id":1114,"programId":244,"title":"Create a new React Native project","rawContent":"ignite new {{project_name}}"},{"id":1115,"programId":244,"title":"Generate file from a plugin","rawContent":"ignite generate {{plugin_name}} {{file_name}}"},{"id":1116,"programId":244,"title":"Add an Ignite plugin to the project","rawContent":"ignite add {{plugin_name}}"},{"id":1117,"programId":244,"title":"Remove an Ignite plugin from the project","rawContent":"ignite remove {{plugin_name}}"},{"id":1118,"programId":245,"title":"Synchronize imap account between host1 and host2","rawContent":"imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}"},{"id":1119,"programId":246,"title":"Capture the entire X server screen in the PostScript image format","rawContent":"import -window root {{output.postscript}}"},{"id":1120,"programId":246,"title":"Capture contents of a remote X server screen in the PNG image format","rawContent":"import -window root -display {{remote_host}}:{screen}.{display} {{output.png}}"},{"id":1121,"programId":246,"title":"Capture a specific window, given its ID as displayed by `xwininfo`, into the JPEG format","rawContent":"import -window {{window_id}} {{output.jpg}}"},{"id":1122,"programId":247,"title":"Convert an XLS file to CSV","rawContent":"in2csv {{data.xls}}"},{"id":1123,"programId":247,"title":"Convert a DBF file to a CSV file","rawContent":"in2csv {{data.dbf}} > {{data.csv}}"},{"id":1124,"programId":247,"title":"Convert a specific sheet from an XLSX file to CSV","rawContent":"in2csv --sheet={{sheet_name}} {{data.xlsx}}"},{"id":1125,"programId":247,"title":"Pipe a JSON file to in2csv","rawContent":"cat {{data.json}} | in2csv -f json > {{data.csv}}"},{"id":1126,"programId":248,"title":"Open an SVG file in the Inkscape GUI","rawContent":"inkscape {{filename.svg}}"},{"id":1127,"programId":248,"title":"Export an SVG file into a bitmap with the default format (PNG) and the default resolution (90 DPI)","rawContent":"inkscape {{filename.svg}} -e {{filename.png}}"},{"id":1128,"programId":248,"title":"Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur)","rawContent":"inkscape {{filename.svg}} -e {{filename.png}} -w {{600}} -h {{400}}"},{"id":1129,"programId":248,"title":"Export a single object, given its ID, into a bitmap","rawContent":"inkscape {{filename.svg}} -i {{id}} -e {{object.png}}"},{"id":1130,"programId":248,"title":"Export an SVG document to PDF, converting all texts to paths","rawContent":"inkscape {{filename.svg}} --export-pdf={{filename.pdf}} --export-text-to-path"},{"id":1131,"programId":248,"title":"Duplicate the object with id=\"path123\", rotate the duplicate 90 degrees, save the file, and quit Inkscape","rawContent":"inkscape {{filename.svg}} --select=path123 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileQuit"},{"id":1132,"programId":249,"title":"Copy files to destination","rawContent":"install {{path/to/source}} {{path/to/destination}}"},{"id":1133,"programId":249,"title":"Copy files to destination, setting their ownership","rawContent":"install -o {{user}} {{path/to/source}} {{path/to/destination}}"},{"id":1134,"programId":249,"title":"Copy files to destination, setting their group ownership","rawContent":"install -g {{user}} {{path/to/source}} {{path/to/destination}}"},{"id":1135,"programId":249,"title":"Copy files to destination, setting their `mode`","rawContent":"install -m {{+x}} {{path/to/source}} {{path/to/destination}}"},{"id":1136,"programId":249,"title":"Copy files and apply access/modification times of source to destination","rawContent":"install -p {{path/to/source}} {{path/to/destination}}"},{"id":1137,"programId":250,"title":"Set I/O scheduling class of a running process","rawContent":"ionice -c {{scheduling_class}} -p {{pid}}"},{"id":1138,"programId":250,"title":"Run a command with custom I/O scheduling class and priority","rawContent":"ionice -c {{scheduling_class}} -n {{priority}} {{command}}"},{"id":1139,"programId":250,"title":"Print the I/O scheduling class and priority of a running process","rawContent":"ionice -p {{pid}}"},{"id":1140,"programId":251,"title":"Show disk I/O latency using the default values and the current directory","rawContent":"ioping ."},{"id":1141,"programId":251,"title":"Measure latency on /tmp using 10 requests of 1 megabyte each","rawContent":"ioping -c 10 -s 1M /tmp"},{"id":1142,"programId":251,"title":"Measure disk seek rate on /dev/sda","rawContent":"ioping -R /dev/sda"},{"id":1143,"programId":251,"title":"Measure disk sequential speed on /dev/sda","rawContent":"ioping -RL /dev/sda"},{"id":1144,"programId":252,"title":"Specific information about the Message Queue which has the id 32768","rawContent":"ipcs -qi 32768"},{"id":1145,"programId":252,"title":"General information about all the IPC","rawContent":"ipcs -a"},{"id":1146,"programId":253,"title":"Run on server","rawContent":"iperf -s"},{"id":1147,"programId":253,"title":"Run on client","rawContent":"iperf -c {{server_address}}"},{"id":1148,"programId":253,"title":"Run on client with 5 parallel threads","rawContent":"iperf -c {{server_address}} -P {{5}}"},{"id":1149,"programId":254,"title":"Run iperf3 as a server","rawContent":"iperf3 -s"},{"id":1150,"programId":254,"title":"Run an iperf3 server on a specific port","rawContent":"iperf3 -s -p{{port}}"},{"id":1151,"programId":254,"title":"Start bandwidth test","rawContent":"iperf3 -c{{server}}"},{"id":1152,"programId":254,"title":"Run iperf3 in multiple parallel streams","rawContent":"iperf3 -c{{server}} -P{{streams}}"},{"id":1153,"programId":254,"title":"Reverse direction of the test. Server sends data to the client","rawContent":"iperf3 -c{{server}} -R"},{"id":1154,"programId":255,"title":"Add a file from local to the file system, pin it and print the relative hash","rawContent":"ipfs add {{filename}}"},{"id":1155,"programId":255,"title":"Add a folder and its files recursively from local to the file system and print the relative hash","rawContent":"ipfs add -r {{folder}}"},{"id":1156,"programId":255,"title":"Save a remote file and give it a name but not pin it","rawContent":"ipfs get {{hash}} -o {{filename}}"},{"id":1157,"programId":255,"title":"Pin a remote file locally","rawContent":"ipfs pin add {{hash}}"},{"id":1158,"programId":255,"title":"Display pinned files","rawContent":"ipfs pin ls"},{"id":1159,"programId":255,"title":"Unpin a file from the local storage","rawContent":"ipfs pin rm {{hash}}"},{"id":1160,"programId":255,"title":"Remove unpinned files from local storage","rawContent":"ipfs repo gc"},{"id":1161,"programId":256,"title":"Open irssi and connect to a server with a nickname","rawContent":"irssi -n {{nickname}} -c {{server.name.com}}"},{"id":1162,"programId":256,"title":"Open irssi and connect with a specific server on a given port","rawContent":"irssi -c {{server.name.com}} -p {{port}}"},{"id":1163,"programId":256,"title":"View the help","rawContent":"irssi --help"},{"id":1164,"programId":256,"title":"Join a channel","rawContent":"/join {{#channelname}}"},{"id":1165,"programId":256,"title":"Change active window (starts at 1)","rawContent":"/win {{window_number}}"},{"id":1166,"programId":256,"title":"Exit the application cleanly and quitting any server(s)","rawContent":"/quit"},{"id":1167,"programId":257,"title":"Unzip .jar/.war file to the current directory","rawContent":"jar -xvf *.jar"},{"id":1168,"programId":258,"title":"Execute a java .class file that contains a main method by using just the class name","rawContent":"java {{classname}}"},{"id":1169,"programId":258,"title":"Execute a .jar program","rawContent":"java -jar {{filename.jar}}"},{"id":1170,"programId":258,"title":"Display JDK, JRE and HotSpot versions","rawContent":"java -version"},{"id":1171,"programId":259,"title":"Compile a .java file","rawContent":"javac {{file.java}}"},{"id":1172,"programId":259,"title":"Compile several .java files","rawContent":"javac {{file1.java}} {{file2.java}} {{file3.java}}"},{"id":1173,"programId":259,"title":"Compile all .java files in current directory","rawContent":"javac {{*.java}}"},{"id":1174,"programId":259,"title":"Compile a .java file and place the resulting class file in a specific directory","rawContent":"javac -d {{path/to/some/directory}} {{file.java}}"},{"id":1175,"programId":260,"title":"Generate a development server that will run at http://localhost:4000/","rawContent":"jekyll serve"},{"id":1176,"programId":260,"title":"Enable incremental regeneration","rawContent":"jekyll serve --incremental"},{"id":1177,"programId":260,"title":"Generate the current folder into \"./_site\"","rawContent":"jekyll build"},{"id":1178,"programId":261,"title":"Analyze a heap dump (from jmap), view via http on port 7000","rawContent":"jhat {{dump_file.bin}}"},{"id":1179,"programId":261,"title":"Analyze a heap dump, specifying an alternate port for the http server","rawContent":"jhat -p {{port}} {{dump_file.bin}}"},{"id":1180,"programId":261,"title":"Analyze a dump letting jhat use up to 8GB RAM (2-4x dump size recommended)","rawContent":"jhat -J-mx8G {{dump_file.bin}}"},{"id":1181,"programId":262,"title":"Print shared object mappings for a java process (output like pmap)","rawContent":"jmap {{java_pid}}"},{"id":1182,"programId":262,"title":"Print heap summary information","rawContent":"jmap -heap {{filename.jar}} {{java_pid}}"},{"id":1183,"programId":262,"title":"Print histogram of heap usage by type","rawContent":"jmap -histo {{java_pid}}"},{"id":1184,"programId":262,"title":"Dump contents of the heap into a binary file for analysis with jhat","rawContent":"jmap -dump:format=b,file={{filename}} {{java_pid}}"},{"id":1185,"programId":263,"title":"Show status of all jobs","rawContent":"jobs"},{"id":1186,"programId":263,"title":"Show status of a particular job","rawContent":"jobs {{job_id}}"},{"id":1187,"programId":263,"title":"Show status and process IDs of all jobs","rawContent":"jobs -l"},{"id":1188,"programId":263,"title":"Show process IDs of all jobs","rawContent":"jobs -p"},{"id":1189,"programId":264,"title":"Optimise a set of JPEG images, retaining all associated data","rawContent":"jpegoptim {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}"},{"id":1190,"programId":264,"title":"Optimise JPEG images, stripping all non-essential data","rawContent":"jpegoptim --strip-all {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}"},{"id":1191,"programId":264,"title":"Force the output images to be progressive","rawContent":"jpegoptim --all-progressive {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}"},{"id":1192,"programId":265,"title":"List all JVM processes","rawContent":"jps"},{"id":1193,"programId":265,"title":"List all JVM processes with only PID","rawContent":"jps -q"},{"id":1194,"programId":265,"title":"Display the arguments passed to the processes","rawContent":"jps -m"},{"id":1195,"programId":265,"title":"Display the full package name of all processes","rawContent":"jps -l"},{"id":1196,"programId":265,"title":"Display the arguments passed to the JVM","rawContent":"jps -v"},{"id":1197,"programId":266,"title":"Output a JSON file, in pretty-print format","rawContent":"jq . {{file.json}}"},{"id":1198,"programId":266,"title":"Output all elements from arrays (or all key-value pairs from objects) in a JSON file","rawContent":"jq .[] {{file.json}}"},{"id":1199,"programId":266,"title":"Read JSON objects from a file into an array, and output it (inverse of `jq .[]`)","rawContent":"jq --slurp . {{file.json}}"},{"id":1200,"programId":266,"title":"Output the first element in a JSON file","rawContent":"jq .[0] {{file.json}}"},{"id":1201,"programId":266,"title":"Output the value of a given key of the first element in a JSON text from stdin","rawContent":"cat {{file.json}} | jq .[0].{{key_name}}"},{"id":1202,"programId":266,"title":"Output the value of a given key of each element in a JSON text from stdin","rawContent":"cat {{file.json}} | jq 'map(.{{key_name}})'"},{"id":1203,"programId":267,"title":"Insert a new entry with your editor","rawContent":"jrnl"},{"id":1204,"programId":267,"title":"Quickly insert a new entry","rawContent":"jrnl {{today at 3am}}: {{title}}. {{content}}"},{"id":1205,"programId":267,"title":"View the last ten entries","rawContent":"jrnl -n {{10}}"},{"id":1206,"programId":267,"title":"View everything that happened from the start of last year to the start of last march","rawContent":"jrnl -from {{\"last year\"}} -until {{march}}"},{"id":1207,"programId":267,"title":"Edit all entries tagged with \"texas\" and \"history\"","rawContent":"jrnl {{@texas}} -and {{@history}} --edit"},{"id":1208,"programId":268,"title":"Convert JSON5 stdin to JSON stdout","rawContent":"echo {{input}} | json5"},{"id":1209,"programId":268,"title":"Convert a JSON5 file to JSON and output to stdout","rawContent":"json5 {{path/to/input_file.json5}}"},{"id":1210,"programId":268,"title":"Convert a JSON5 file to the specified JSON file","rawContent":"json5 {{path/to/input_file.json5}} --out-file {{path/to/output_file.json}}"},{"id":1211,"programId":268,"title":"Validate a JSON5 file","rawContent":"json5 {{path/to/input_file.json5}} --validate"},{"id":1212,"programId":268,"title":"Specify the number of spaces to indent by (or \"t\" for tabs)","rawContent":"json5 --space {{indent_amount}}"},{"id":1213,"programId":268,"title":"View available options","rawContent":"json5 --help"},{"id":1214,"programId":269,"title":"Print java stack traces for all threads in a java process","rawContent":"jstack {{java_pid}}"},{"id":1215,"programId":269,"title":"Print mixed mode (java/c++) stack traces for all threads in a java process","rawContent":"jstack -m {{java_pid}}"},{"id":1216,"programId":269,"title":"Print stack traces from java core dump","rawContent":"jstack {{/usr/bin/java}} {{file.core}}"},{"id":1217,"programId":270,"title":"Start a Julia REPL session","rawContent":"julia"},{"id":1218,"programId":270,"title":"Execute a Julia program and exit","rawContent":"julia {{program.jl}}"},{"id":1219,"programId":270,"title":"Execute a Julia program that takes arguments","rawContent":"julia {{program.jl}} {{arguments}}"},{"id":1220,"programId":270,"title":"Evaluate a string containing Julia code","rawContent":"julia -e '{{julia_code}}'"},{"id":1221,"programId":270,"title":"Evaluate a string of Julia code, passing arguments to it","rawContent":"julia -e '{{for x in ARGS; println(x); end}}' {{arguments}}"},{"id":1222,"programId":270,"title":"Start Julia in parallel mode, using N worker processes","rawContent":"julia -p {{N}}"},{"id":1223,"programId":271,"title":"Start a Jupyter notebook server in the current directory","rawContent":"jupyter notebook"},{"id":1224,"programId":271,"title":"Open a specific Jupyter notebook","rawContent":"jupyter notebook {{example.ipynb}}"},{"id":1225,"programId":271,"title":"Start a server on a specific port","rawContent":"jupyter notebook --port={{port}}"},{"id":1226,"programId":271,"title":"List currently running notebook servers","rawContent":"jupyter notebook list"},{"id":1227,"programId":271,"title":"Stop the currently running server","rawContent":"jupyter notebook stop"},{"id":1228,"programId":272,"title":"Open a file and enter normal mode, to execute commands","rawContent":"kak {{path/to/file}}"},{"id":1229,"programId":272,"title":"Enter insert mode from normal mode, to write text into the file","rawContent":"i"},{"id":1230,"programId":272,"title":"Escape insert mode, to go back to normal mode","rawContent":"<Escape>"},{"id":1231,"programId":272,"title":"Replace all instances of \"foo\" in the current file with \"bar\"","rawContent":"%s{{foo}}<Enter>c{{bar}}<Escape>"},{"id":1232,"programId":272,"title":"Un-select all secondary selections, and keep only the main one","rawContent":"<Space>"},{"id":1233,"programId":272,"title":"Search for numbers and select the first two","rawContent":"/\\d+<Enter>N"},{"id":1234,"programId":272,"title":"Insert the contents of a file","rawContent":"!cat {{path/to/file}}<Enter>"},{"id":1235,"programId":272,"title":"Save the current file","rawContent":":w<Enter>"},{"id":1236,"programId":273,"title":"Start KeePass 2, opening the most recently-opened password database","rawContent":"keepass2"},{"id":1237,"programId":273,"title":"Start KeePass 2, opening a specific password database","rawContent":"keepass2 {{path/to/database.kbdx}}"},{"id":1238,"programId":273,"title":"Use a specific key file to open a password database","rawContent":"keepass2 {{path/to/database.kbdx}} -keyfile:{{path/to/key/file.key}}"},{"id":1239,"programId":274,"title":"Follow another user","rawContent":"keybase follow {{username}}"},{"id":1240,"programId":274,"title":"Add a new proof","rawContent":"keybase prove {{service}} {{service_username}}"},{"id":1241,"programId":274,"title":"Sign a file","rawContent":"keybase sign --infile {{input_file}} --outfile {{output_file}}"},{"id":1242,"programId":274,"title":"Verify a signed file","rawContent":"keybase verify --infile {{input_file}} --outfile {{output_file}}"},{"id":1243,"programId":274,"title":"Encrypt a file","rawContent":"keybase encrypt --infile {{input_file}} --outfile {{output_file}} {{receiver}}"},{"id":1244,"programId":274,"title":"Decrypt a file","rawContent":"keybase decrypt --infile {{input_file}} --outfile {{output_file}}"},{"id":1245,"programId":274,"title":"Revoke current device, log out, and delete local data","rawContent":"keybase deprovision"},{"id":1246,"programId":275,"title":"Terminate a program using the default SIGTERM (terminate) signal","rawContent":"kill {{process_id}}"},{"id":1247,"programId":275,"title":"List available signal names (to be used without the `SIG` prefix)","rawContent":"kill -l"},{"id":1248,"programId":275,"title":"Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating","rawContent":"kill -{{1|HUP}} {{process_id}}"},{"id":1249,"programId":275,"title":"Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `Ctrl + C`","rawContent":"kill -{{2|INT}} {{process_id}}"},{"id":1250,"programId":275,"title":"Signal the operating system to immediately terminate a program (which gets no chance to capture the signal)","rawContent":"kill -{{9|KILL}} {{process_id}}"},{"id":1251,"programId":275,"title":"Signal the operating system to pause a program, it until a SIGCONT (\"continue\") signal is received","rawContent":"kill -{{17|STOP}} {{process_id}}"},{"id":1252,"programId":276,"title":"Terminate a process using the default SIGTERM (terminate) signal","rawContent":"killall {{process_name}}"},{"id":1253,"programId":276,"title":"List available signal names (to be used without the 'SIG' prefix)","rawContent":"killall --list"},{"id":1254,"programId":276,"title":"Interactively ask for confirmation before termination","rawContent":"killall -i {{process_name}}"},{"id":1255,"programId":276,"title":"Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`","rawContent":"killall -INT {{process_name}}"},{"id":1256,"programId":276,"title":"Force kill a process","rawContent":"killall -KILL {{process_name}}"},{"id":1257,"programId":277,"title":"List all pods in all namespaces","rawContent":"kubectl get pods --all-namespaces"},{"id":1258,"programId":277,"title":"List all pods with more information (such as node name)","rawContent":"kubectl get pods -o wide"},{"id":1259,"programId":277,"title":"Update specified pod with the label 'unhealthy' and the value 'true'","rawContent":"kubectl label pods {{name}} unhealthy=true"},{"id":1260,"programId":277,"title":"List all resources with different types","rawContent":"kubectl get all"},{"id":1261,"programId":277,"title":"Show metrics for all nodes","rawContent":"kubectl top node"},{"id":1262,"programId":277,"title":"Show metrics for all pods in the default namespace","rawContent":"kubectl top pod"},{"id":1263,"programId":277,"title":"Print the address of the master and cluster services","rawContent":"kubectl cluster-info"},{"id":1264,"programId":278,"title":"Create a new Laravel application","rawContent":"laravel new {{name}}"},{"id":1265,"programId":278,"title":"Use the latest development release","rawContent":"laravel new {{name}} --dev"},{"id":1266,"programId":278,"title":"Overwrite if the directory already exists","rawContent":"laravel new {{name}} --force"},{"id":1267,"programId":278,"title":"List the available installer commands","rawContent":"laravel list"},{"id":1268,"programId":279,"title":"View last logins, their duration and other information as read from /var/log/wtmp","rawContent":"last"},{"id":1269,"programId":279,"title":"Specify how many of the last logins to show","rawContent":"last -n {{login_count}}"},{"id":1270,"programId":279,"title":"Print the full date and time for entries and then display the hostname column last to prevent truncation","rawContent":"last -F -a"},{"id":1271,"programId":279,"title":"View all logins by a specific user and show the ip address instead of the hostname","rawContent":"last {{user_name}} -i"},{"id":1272,"programId":279,"title":"View all recorded reboots (i.e., the last logins of the pseudo user \"reboot\")","rawContent":"last reboot"},{"id":1273,"programId":279,"title":"View all recorded shutdowns (i.e., the last logins of the pseudo user \"shutdown\")","rawContent":"last shutdown"},{"id":1274,"programId":280,"title":"Compile a dvi (DeVice Independent file) document from every source","rawContent":"latexmk"},{"id":1275,"programId":280,"title":"Compile a dvi document from a specific source file","rawContent":"latexmk {{source.tex}}"},{"id":1276,"programId":280,"title":"Compile a pdf document","rawContent":"latexmk -pdf {{source.tex}}"},{"id":1277,"programId":280,"title":"Force the generation of a document even if there are errors","rawContent":"latexmk -f {{source.tex}}"},{"id":1278,"programId":280,"title":"Clean up temporary tex files created for a specific tex file","rawContent":"latexmk -c {{source.tex}}"},{"id":1279,"programId":280,"title":"Clean up all temporary tex files in the current directory","rawContent":"latexmk -c"},{"id":1280,"programId":281,"title":"Set a reminder at a given time","rawContent":"leave {{time_to_leave}}"},{"id":1281,"programId":281,"title":"Remind to leave at noon","rawContent":"leave {{1200}}"},{"id":1282,"programId":281,"title":"Set a reminder in a specific amount of time","rawContent":"leave +{{amount_of_time}}"},{"id":1283,"programId":281,"title":"Remind to leave in 4 hours and 4 minutes","rawContent":"leave +{{0404}}"},{"id":1284,"programId":282,"title":"Display a list of the available transformations","rawContent":"lebab --help"},{"id":1285,"programId":282,"title":"Transpile using one or more comma-separated transformations","rawContent":"lebab --transform {{transformation}}"},{"id":1286,"programId":282,"title":"Transpile a file to stdout","rawContent":"lebab {{path/to/input_file}}"},{"id":1287,"programId":282,"title":"Transpile a file to the specified output file","rawContent":"lebab {{path/to/input_file}} --out-file {{path/to/output_file}}"},{"id":1288,"programId":282,"title":"Replace all `.js` files in-place in the specified directory, glob or file","rawContent":"lebab --replace {{directory|glob|file}}"},{"id":1289,"programId":283,"title":"Generate scaffolding for a new project based on a template","rawContent":"lein new {{template_name}} {{project_name}}"},{"id":1290,"programId":283,"title":"Start a REPL session either with the project or standalone","rawContent":"lein repl"},{"id":1291,"programId":283,"title":"Run the project's \"-main\" function with optional args","rawContent":"lein run {{args}}"},{"id":1292,"programId":283,"title":"Run the project's tests","rawContent":"lein test"},{"id":1293,"programId":283,"title":"Package up the project files and all its dependencies into a jar file","rawContent":"lein uberjar"},{"id":1294,"programId":284,"title":"Open a file","rawContent":"less {{source_file}}"},{"id":1295,"programId":284,"title":"Page down / up","rawContent":"<Space> (down), b (up)"},{"id":1296,"programId":284,"title":"Go to end / start of file","rawContent":"G (end), g (start)"},{"id":1297,"programId":284,"title":"Forward search for a string (press `n`/`N` to go to next/previous match)","rawContent":"/{{something}}"},{"id":1298,"programId":284,"title":"Backward search for a string (press `n`/`N` to go to next/previous match)","rawContent":"?{{something}}"},{"id":1299,"programId":284,"title":"Follow the output of the currently opened file","rawContent":"F"},{"id":1300,"programId":284,"title":"Open the current file in an editor","rawContent":"v"},{"id":1301,"programId":284,"title":"Exit","rawContent":"q"},{"id":1302,"programId":285,"title":"Generate an analyser from a Lex file","rawContent":"lex {{analyser.l}}"},{"id":1303,"programId":285,"title":"Specify the output file","rawContent":"lex {{analyser.l}} --outfile {{analyser.c}}"},{"id":1304,"programId":285,"title":"Compile a C file generated by Lex","rawContent":"cc {{path/to/lex.yy.c}} --output {{executable}}"},{"id":1305,"programId":286,"title":"Print a license to stdout, using the defaults (auto-detected author name, and current year)","rawContent":"license {{license_name}}"},{"id":1306,"programId":286,"title":"Generate a license and save it to a file","rawContent":"license -o {{filename}} {{license_name}}"},{"id":1307,"programId":286,"title":"List all available licenses","rawContent":"license ls"},{"id":1308,"programId":286,"title":"Generate a license with custom author name and year","rawContent":"license --name {{author}} --year {{release_year}} {{license_name}}"},{"id":1309,"programId":287,"title":"Generate a new public/private key pair","rawContent":"light-arionum-cli"},{"id":1310,"programId":287,"title":"Display the balance of the current address","rawContent":"light-arionum-cli balance"},{"id":1311,"programId":287,"title":"Display the balance of the specified address","rawContent":"light-arionum-cli balance {{address}}"},{"id":1312,"programId":287,"title":"Send a transaction with an optional message","rawContent":"light-arionum-cli send {{address}} {{value}} {{optional_message}}"},{"id":1313,"programId":287,"title":"Export the current wallet information","rawContent":"light-arionum-cli export"},{"id":1314,"programId":287,"title":"Display information about the current block","rawContent":"light-arionum-cli block"},{"id":1315,"programId":287,"title":"Display information about the current address' transactions","rawContent":"light-arionum-cli transactions"},{"id":1316,"programId":287,"title":"Display information about a specific transaction","rawContent":"light-arionum-cli transaction {{transaction_id}}"},{"id":1317,"programId":288,"title":"Serve an index.html file and reload on changes","rawContent":"live-server"},{"id":1318,"programId":288,"title":"Specify a port (default is 8080) from which to serve a file","rawContent":"live-server --port={{8081}}"},{"id":1319,"programId":288,"title":"Specify a given file to serve","rawContent":"live-server --open={{about.html}}"},{"id":1320,"programId":288,"title":"Proxy all requests for ROUTE to URL","rawContent":"live-server --proxy={{/}}:{{http:localhost:3000}}"},{"id":1321,"programId":289,"title":"Create a symbolic link to a file (or folder)","rawContent":"ln -s {{path/to/file}} {{path/to/symlink}}"},{"id":1322,"programId":289,"title":"Overwrite an existing symbolic to point to a different file","rawContent":"ln -sf {{path/to/new_file}} {{path/to/symlink}}"},{"id":1323,"programId":289,"title":"Create a hard link to a file","rawContent":"ln {{path/to/file}} {{path/to/hardlink}}"},{"id":1324,"programId":290,"title":"Load-test \"example.com\" with web interface using locustfile.py","rawContent":"locust --host={{http://example.com}}"},{"id":1325,"programId":290,"title":"Use a different test file","rawContent":"locust --locustfile={{test_file.py}} --host={{http://example.com}}"},{"id":1326,"programId":290,"title":"Run test without web interface, spawning 1 user a second until there are 100 users","rawContent":"locust --no-web --clients={{100}} --hatch-rate={{1}} --host={{http://example.com}}"},{"id":1327,"programId":290,"title":"Start locust in master mode","rawContent":"locust --master --host={{http://example.com}}"},{"id":1328,"programId":290,"title":"Connect locust slave to master","rawContent":"locust --slave --host={{http://example.com}}"},{"id":1329,"programId":290,"title":"Connect locust slave to master on a different machine","rawContent":"locust --slave --master-host={{master_hostname}} --host={{http://example.com}}"},{"id":1330,"programId":291,"title":"Check validity of a logstash configuration","rawContent":"logstash --configtest --config {{logstash_config.conf}}"},{"id":1331,"programId":291,"title":"Run logstash using configuration","rawContent":"sudo logstash --config {{logstash_config.conf}}"},{"id":1332,"programId":291,"title":"Run logstash with the most basic inline configuration string","rawContent":"sudo logstash -e 'input {} filter {} output {}'"},{"id":1333,"programId":292,"title":"Print the output of a command to the default printer (see `lpstat` command)","rawContent":"echo \"test\" | lp"},{"id":1334,"programId":292,"title":"Print a file to the default printer","rawContent":"lp {{path/to/filename}}"},{"id":1335,"programId":292,"title":"Print a file to a named printer (see `lpstat` command)","rawContent":"lp -d {{printer_name}} {{path/to/filename}}"},{"id":1336,"programId":292,"title":"Print N copies of file to default printer (replace N with desired number of copies)","rawContent":"lp -n {{N}} {{path/to/filename}}"},{"id":1337,"programId":292,"title":"Print only certain pages to the default printer (print pages 1, 3-5, and 16)","rawContent":"lp -P 1,3-5,16 {{path/to/filename}}"},{"id":1338,"programId":293,"title":"Login to your LastPass account, by entering your master password when prompted","rawContent":"lpass login {{username}}"},{"id":1339,"programId":293,"title":"Show login status","rawContent":"lpass status"},{"id":1340,"programId":293,"title":"List all sites grouped by category","rawContent":"lpass ls"},{"id":1341,"programId":293,"title":"Generate a new password for \"gmail.com\" with identifier \"myinbox\" and add to LastPass","rawContent":"lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}"},{"id":1342,"programId":293,"title":"Show password for a specified entry","rawContent":"lpass show {{myinbox}} --password"},{"id":1343,"programId":294,"title":"List printers present on the machine and whether they are enabled for printing","rawContent":"lpstat -p"},{"id":1344,"programId":294,"title":"Show the default printer","rawContent":"lpstat -d"},{"id":1345,"programId":294,"title":"Display all available status information","rawContent":"lpstat -t"},{"id":1346,"programId":294,"title":"Show a list of print jobs queued by the specified user","rawContent":"lpstat -u {{user}}"},{"id":1347,"programId":295,"title":"List files one per line","rawContent":"ls -1"},{"id":1348,"programId":295,"title":"List all files, including hidden files","rawContent":"ls -a"},{"id":1349,"programId":295,"title":"Long format list (permissions, ownership, size and modification date) of all files","rawContent":"ls -la"},{"id":1350,"programId":295,"title":"Long format list with size displayed using human readable units (KB, MB, GB)","rawContent":"ls -lh"},{"id":1351,"programId":295,"title":"Long format list sorted by size (descending)","rawContent":"ls -lS"},{"id":1352,"programId":295,"title":"Long format list of all files, sorted by modification date (oldest first)","rawContent":"ls -ltr"},{"id":1353,"programId":296,"title":"Find the processes that have a given file open","rawContent":"lsof {{path/to/file}}"},{"id":1354,"programId":296,"title":"Find the process that opened a local internet port","rawContent":"lsof -i :{{port}}"},{"id":1355,"programId":296,"title":"Only output the process ID (PID)","rawContent":"lsof -t {{path/to/file}}"},{"id":1356,"programId":296,"title":"List files opened by the given user","rawContent":"lsof -u {{username}}"},{"id":1357,"programId":296,"title":"List files opened by the given command or process","rawContent":"lsof -c {{process_or_command_name}}"},{"id":1358,"programId":296,"title":"List files opened by a specific process, given its PID","rawContent":"lsof -p {{PID}}"},{"id":1359,"programId":296,"title":"List open files in a directory","rawContent":"lsof +D {{path/to/directory}}"},{"id":1360,"programId":297,"title":"Start an interactive Lua shell","rawContent":"lua"},{"id":1361,"programId":297,"title":"Execute a Lua script","rawContent":"lua {{script_name.lua}} {{--optional-argument}}"},{"id":1362,"programId":297,"title":"Execute a Lua expression","rawContent":"lua -e '{{print( \"Hello World\" )}}"},{"id":1363,"programId":298,"title":"Create a new Lumen application","rawContent":"lumen new {{application_name}}"},{"id":1364,"programId":298,"title":"List the available installer commands","rawContent":"lumen list"},{"id":1365,"programId":299,"title":"Make a simple GET request","rawContent":"lwp-request -m GET {{http://example.com/some/path}}"},{"id":1366,"programId":299,"title":"Upload a file with a POST request","rawContent":"cat {{/path/to/file}} | lwp-request -m POST {{http://example.com/some/path}}"},{"id":1367,"programId":299,"title":"Make a request with a custom user agent","rawContent":"lwp-request -H 'User-Agent: {{user_agent}} -m {{METHOD}} {{http://example.com/some/path}}"},{"id":1368,"programId":299,"title":"Make a request with HTTP authentication","rawContent":"lwp-request -C {{username}}:{{password}} -m {{METHOD}} {{http://example.com/some/path}}"},{"id":1369,"programId":299,"title":"Make a request and print request headers","rawContent":"lwp-request -U -m {{METHOD}} {{http://example.com/some/path}}"},{"id":1370,"programId":299,"title":"Make a request and print response headers and status chain","rawContent":"lwp-request -E -m {{METHOD}} {{http://example.com/some/path}}"},{"id":1371,"programId":300,"title":"Compress a file","rawContent":"lz4 {{file}}"},{"id":1372,"programId":300,"title":"Decompress a file","rawContent":"lz4 -d {{file.lz4}}"},{"id":1373,"programId":300,"title":"Decompress a file and write to stdout","rawContent":"lz4 -dc {{file.lz4}}"},{"id":1374,"programId":300,"title":"Package and compress a directory and its contents","rawContent":"tar cvf - {{path/to/dir}} | lz4 - {{dir.tar.lz4}}"},{"id":1375,"programId":300,"title":"Decompress and unpack a directory and its contents","rawContent":"lz4 -d {{dir.tar.lz4}} | tar -xv"},{"id":1376,"programId":300,"title":"Compress a file using the best compression","rawContent":"lz4 -9 {{file}}"},{"id":1377,"programId":301,"title":"Enable one or more space-separated modules","rawContent":"magento module:enable {{module(s)}}"},{"id":1378,"programId":301,"title":"Disable one or more space-separated modules","rawContent":"magento module:disable {{module(s)}}"},{"id":1379,"programId":301,"title":"Update the database after enabling modules","rawContent":"magento setup:upgrade"},{"id":1380,"programId":301,"title":"Update code and dependency injection configuration","rawContent":"magento setup:di:compile"},{"id":1381,"programId":301,"title":"Deploy static assets","rawContent":"magento setup:static-content:deploy"},{"id":1382,"programId":301,"title":"Enable maintenance mode","rawContent":"magento maintenance:enable"},{"id":1383,"programId":301,"title":"Disable maintenance mode","rawContent":"magento maintenance:disable"},{"id":1384,"programId":301,"title":"List all available commands","rawContent":"magento list"},{"id":1385,"programId":302,"title":"Send mail (the content should be typed after the command, and ended with `Ctrl+D`)","rawContent":"mailx -s \"{{subject}}\" {{to_addr}}"},{"id":1386,"programId":302,"title":"Send mail with content passed from another command","rawContent":"echo \"{{content}}\" | mailx -s \"{{subject}}\" {{to_addr}}"},{"id":1387,"programId":302,"title":"Send mail with content read from a file","rawContent":"mailx -s \"{{subject}}\" {{to_addr}} < {{content.txt}}"},{"id":1388,"programId":302,"title":"Send mail to a recipient and CC to another address","rawContent":"mailx -s \"{{subject}}\" -c {{cc_addr}} {{to_addr}}"},{"id":1389,"programId":302,"title":"Send mail specifying the sender address","rawContent":"mailx -s \"{{subject}}\" -r {{from_addr}} {{to_addr}}"},{"id":1390,"programId":302,"title":"Send mail with an attachment","rawContent":"mailx -a {{file}} -s \"{{subject}}\" {{to_addr}}"},{"id":1391,"programId":303,"title":"Call the first target specified in the Makefile (usually named \"all\")","rawContent":"make"},{"id":1392,"programId":303,"title":"Call a specific target","rawContent":"make {{target}}"},{"id":1393,"programId":303,"title":"Call a specific target, executing 4 jobs at a time in parallel","rawContent":"make -J{{4}} {{target}}"},{"id":1394,"programId":303,"title":"Use a specific Makefile","rawContent":"make --file {{file}}"},{"id":1395,"programId":303,"title":"Execute make from another directory","rawContent":"make --directory {{directory}}"},{"id":1396,"programId":303,"title":"Force making of a target, even if source files are unchanged","rawContent":"make --always-make {{target}}"},{"id":1397,"programId":304,"title":"Display man page for a command","rawContent":"man {{command}}"},{"id":1398,"programId":304,"title":"Display man page for a command from section 7","rawContent":"man {{command}}.{{7}}"},{"id":1399,"programId":304,"title":"Display path searched for manpages","rawContent":"man --path"},{"id":1400,"programId":304,"title":"Display location of a manpage rather than the manpage itself","rawContent":"man -w {{command}}"},{"id":1401,"programId":304,"title":"Do a keyword search for manpages containing a search string","rawContent":"man -k {{keyword}}"},{"id":1402,"programId":305,"title":"Start mc","rawContent":"mc"},{"id":1403,"programId":306,"title":"Launch a presentation in the terminal from a markdown file","rawContent":"mdp {{presentation.md}}"},{"id":1404,"programId":306,"title":"Disable fading transitions","rawContent":"mdp --nofade {{presentation.md}}"},{"id":1405,"programId":306,"title":"Invert font colors to use in terminals with light background","rawContent":"mdp --invert {{presentation.md}}"},{"id":1406,"programId":306,"title":"Disable transparency in transparent terminals","rawContent":"mdp --notrans {{presentation.md}}"},{"id":1407,"programId":307,"title":"Display metadata for a given file in the console","rawContent":"mediainfo {{file}}"},{"id":1408,"programId":307,"title":"Store the output to a given file along with displaying in the console","rawContent":"mediainfo --Logfile={{out.txt}} {{file}}"},{"id":1409,"programId":307,"title":"Display the list of metadata attributes that can be extracted","rawContent":"mediainfo --Info-Parameters"},{"id":1410,"programId":308,"title":"Convert an STL file to an OBJ file","rawContent":"meshlabserver -i {{input.stl}} -o {{output.obj}}"},{"id":1411,"programId":308,"title":"Convert a WRL file to a OFF file, including the vertex and face normals in the output mesh","rawContent":"meshlabserver -i {{input.wrl}} -o {{output.off}} -om vn fn"},{"id":1412,"programId":308,"title":"Dump a list of all the available processing filters into a file","rawContent":"meshlabserver -d {{filename}}"},{"id":1413,"programId":308,"title":"Process a 3D file using a filter script created in the MeshLab GUI (Filters > Show current filter script > Save Script)","rawContent":"meshlabserver -i {{input.ply}} -o {{output.ply}} -s {{filter_script.mlx}}"},{"id":1414,"programId":308,"title":"Process a 3D file using a filter script, writing the output of the filters into a log file","rawContent":"meshlabserver -i {{input.x3d}} -o {{output.x3d}} -s {{filter_script.mlx}} -l {{logfile}}"},{"id":1415,"programId":309,"title":"Run a meteor project from its root directory in development mode","rawContent":"meteor"},{"id":1416,"programId":309,"title":"Create a project under the given directory","rawContent":"meteor create {{path/to/directory}}"},{"id":1417,"programId":309,"title":"Display the list of packages the project is currently using","rawContent":"meteor list"},{"id":1418,"programId":309,"title":"Add a package to the project","rawContent":"meteor add {{package_name}}"},{"id":1419,"programId":309,"title":"Remove a package from the project","rawContent":"meteor remove {{package_name}}"},{"id":1420,"programId":309,"title":"Create a production build of the project as a tarball under the given directory","rawContent":"meteor build {{path/to/directory}}"},{"id":1421,"programId":310,"title":"Open a file","rawContent":"micro {{file}}"},{"id":1422,"programId":310,"title":"Cut the entire line","rawContent":"Ctrl + K"},{"id":1423,"programId":310,"title":"Search for a pattern in the file (press `Ctrl + N`/`Ctrl + P` to go to next/previous match)","rawContent":"Ctrl + F \"{{pattern}}\" <Enter>"},{"id":1424,"programId":310,"title":"Execute a command","rawContent":"Ctrl + E {{command}} <Enter>"},{"id":1425,"programId":310,"title":"Perform a substitution in the whole file","rawContent":"Ctrl + E replaceall \"{{pattern}}\" \"{{replacement}}\" <Enter>"},{"id":1426,"programId":310,"title":"Quit","rawContent":"Ctrl + Q"},{"id":1427,"programId":311,"title":"Start a proxy and save all output to a file","rawContent":"mitmdump -w {{filename}}"},{"id":1428,"programId":311,"title":"Filter a saved traffic file to just POST requests","rawContent":"mitmdump -nr {{input_filename}} -w {{output_filename}} {{\"~m post\"}}"},{"id":1429,"programId":311,"title":"Replay a saved traffic file","rawContent":"mitmdump -nc {{filename}}"},{"id":1430,"programId":312,"title":"Start mitmproxy with default settings","rawContent":"mitmproxy"},{"id":1431,"programId":312,"title":"Start mitmproxy bound to custom address and port","rawContent":"mitmproxy -b {{ip_address}} -p {{port}}"},{"id":1432,"programId":313,"title":"Execute a particular file","rawContent":"mix run {{my_script.exs}}"},{"id":1433,"programId":313,"title":"Create a new project","rawContent":"mix new {{project_name}}"},{"id":1434,"programId":313,"title":"Compile project","rawContent":"mix compile"},{"id":1435,"programId":313,"title":"Run project tests","rawContent":"mix test"},{"id":1436,"programId":313,"title":"List all mix commands","rawContent":"mix help"},{"id":1437,"programId":314,"title":"Create a directory in current folder or given path","rawContent":"mkdir {{directory}}"},{"id":1438,"programId":314,"title":"Create directories recursively (useful for creating nested dirs)","rawContent":"mkdir -p {{path/to/directory}}"},{"id":1439,"programId":315,"title":"Create a named pipe at a given path","rawContent":"mkfifo {{path/to/pipe}}"},{"id":1440,"programId":316,"title":"Create an empty temporary file and return the absolute path to it","rawContent":"mktemp"},{"id":1441,"programId":316,"title":"Create a temporary directory and return the absolute path to it","rawContent":"mktemp -d"},{"id":1442,"programId":316,"title":"Create a temporary file with a specified suffix","rawContent":"mktemp --suffix \"{{.txt}}\""},{"id":1443,"programId":317,"title":"Rename all files with a certain extension to a different extension","rawContent":"mmv \"*{{.old_extension}}\" \"#1{{.new_extension}}\""},{"id":1444,"programId":317,"title":"Copy report6part4.txt to ./french/rapport6partie4.txt along with all similarly named files","rawContent":"mmv -c {{\"report*part*.txt\"}} {{\"./french/rapport#1partie#2.txt\"}}"},{"id":1445,"programId":317,"title":"Append all .txt files into one file","rawContent":"mmv -a {{\"*.txt\"}} {{\"all.txt\"}}"},{"id":1446,"programId":317,"title":"Convert dates in filenames from \"M-D-Y\" format to \"D-M-Y\" format","rawContent":"mmv {{\"[0-1][0-9]-[0-3][0-9]-[0-9][0-9][0-9][0-9].txt\"}} {{\"#3#4-#1#2-#5#6#7#8.txt\"}}"},{"id":1447,"programId":318,"title":"Run tests with default configuration or as configured in `mocha.opts`","rawContent":"mocha"},{"id":1448,"programId":318,"title":"Run tests contained at a specific location","rawContent":"mocha {{folder/with/tests}}"},{"id":1449,"programId":318,"title":"Run tests that match a specific grep pattern","rawContent":"mocha --grep {{^regex$}}"},{"id":1450,"programId":318,"title":"Run tests on changes to JavaScript files in the current directory and once initially","rawContent":"mocha --watch"},{"id":1451,"programId":318,"title":"Run tests with a specific reporter","rawContent":"mocha --reporter {{reporter}}"},{"id":1452,"programId":319,"title":"Resize all JPEG images in the folder to 50% of their initial size","rawContent":"mogrify -resize {{50%}} {{*.jpg}}"},{"id":1453,"programId":319,"title":"Resize all images starting with \"DSC\" to 800x600","rawContent":"mogrify -resize {{800x600}} {{DSC*}}"},{"id":1454,"programId":319,"title":"Convert all PNG images in the folder to JPEG","rawContent":"mogrify -format {{jpg}} {{*.png}}"},{"id":1455,"programId":319,"title":"Halve the saturation of all image files in the current directory","rawContent":"mogrify -modulate {{100,50}} {{*}}"},{"id":1456,"programId":319,"title":"Double the brightness of all image files in the current directory","rawContent":"mogrify -modulate {{200}} {{*}}"},{"id":1457,"programId":320,"title":"Connect to a database","rawContent":"mongo {{database}}"},{"id":1458,"programId":320,"title":"Connect to a database running on a given host on a given port","rawContent":"mongo --host {{host}} --port {{port}} {{database}}"},{"id":1459,"programId":320,"title":"Connect to a database with a given username; user will be prompted for password","rawContent":"mongo --username {{username}} {{database}} --password"},{"id":1460,"programId":320,"title":"Evaluate a javascript expression on the database","rawContent":"mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{database}}"},{"id":1461,"programId":321,"title":"Specify a config file","rawContent":"mongod --config {{filename}}"},{"id":1462,"programId":321,"title":"Specify the port to listen on","rawContent":"mongod --port {{port}}"},{"id":1463,"programId":321,"title":"Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all","rawContent":"mongod --profile {{0|1|2}}"},{"id":1464,"programId":322,"title":"Create a dump of all databases (this will place the files inside a folder called \"dump\")","rawContent":"mongodump"},{"id":1465,"programId":322,"title":"Specify an output location for the dump","rawContent":"mongodump --out {{path/to/folder}}"},{"id":1466,"programId":322,"title":"Create a dump of a given database","rawContent":"mongodump --db {{database_name}}"},{"id":1467,"programId":322,"title":"Create a dump of a given collection within a given database","rawContent":"mongodump --collection {{collection_name}} --db {{database_name}}"},{"id":1468,"programId":322,"title":"Connect to a given host running on a given port, and create a dump","rawContent":"mongodump --host {{host}} --port {{port}}"},{"id":1469,"programId":322,"title":"Create a dump of a given database with a given username; user will be prompted for password","rawContent":"mongodump --username {{username}} {{database}} --password"},{"id":1470,"programId":323,"title":"Import a bson data dump from a folder to a MongoDB database","rawContent":"mongorestore --db {{database_name}} {{path/to/folder}}"},{"id":1471,"programId":323,"title":"Import a bson data dump from a folder to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password)","rawContent":"mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/folder}} --password"},{"id":1472,"programId":323,"title":"Import a collection from a bson file to a MongoDB database","rawContent":"mongorestore --db {{database_name}} {{path/to/file}}"},{"id":1473,"programId":323,"title":"Import a collection from a bson file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password)","rawContent":"mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/file}} --password"},{"id":1474,"programId":324,"title":"Tile images into a grid, automatically resizing images larger than the grid cell size","rawContent":"montage {{image1.png}} {{image2.jpg}} {{imageN.png}} montage.jpg"},{"id":1475,"programId":324,"title":"Tile images into a grid, automatically calculating the grid cell size from the largest image","rawContent":"montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 montage.jpg"},{"id":1476,"programId":324,"title":"Set the grid cell size and resize images to fit it before tiling","rawContent":"montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry 640x480+0+0 montage.jpg"},{"id":1477,"programId":324,"title":"Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages","rawContent":"montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 -tile 2x3 montage_%d.jpg"},{"id":1478,"programId":324,"title":"Resize and crop images to completely fill their grid cells before tiling","rawContent":"montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 -resize 640x480^ -gravity center -crop 640x480+0+0 montage.jpg"},{"id":1479,"programId":325,"title":"Open a file","rawContent":"more {{source_file}}"},{"id":1480,"programId":325,"title":"Page down","rawContent":"<Space>"},{"id":1481,"programId":325,"title":"Search for a string (press `n` to go to the next match)","rawContent":"/{{something}}"},{"id":1482,"programId":325,"title":"Exit","rawContent":"q"},{"id":1483,"programId":326,"title":"Invoke `moro` without parameters, to set the current time as the start of the working day","rawContent":"moro"},{"id":1484,"programId":326,"title":"Specify a custom time for the start of the working day","rawContent":"moro hi {{09:30}}"},{"id":1485,"programId":326,"title":"Invoke `moro` without parameters a second time, to set the current time at the end of the working day","rawContent":"moro"},{"id":1486,"programId":326,"title":"Specify a custom time for the end of the working day","rawContent":"moro bye {{17:30}}"},{"id":1487,"programId":326,"title":"Add a note on the current working day","rawContent":"moro note {{3 hours on project Foo}}"},{"id":1488,"programId":326,"title":"Show a report of time logs and notes for the current working day","rawContent":"moro report"},{"id":1489,"programId":326,"title":"Show a report of time logs and notes for all working days on record","rawContent":"moro report --all"},{"id":1490,"programId":327,"title":"Connect to a remote server","rawContent":"mosh {{username}}@{{remote_host}}"},{"id":1491,"programId":327,"title":"Connect to a remote server with a specific identity (private key)","rawContent":"mosh --ssh=\"ssh -i {{/path/to/key_file}}\" {{username}}@{{remote_host}}"},{"id":1492,"programId":327,"title":"Connect to a remote server using a specific port","rawContent":"mosh --ssh=\"ssh -p {{2222}}\" {{username}}@{{remote_host}}"},{"id":1493,"programId":327,"title":"Run a command on a remote server","rawContent":"mosh {{remote_host}} -- {{command -with -flags}}"},{"id":1494,"programId":327,"title":"Select Mosh UDP port (useful when `{{remote_host}}` is behind a NAT)","rawContent":"mosh -p {{124}} {{username}}@{{remote_host}}"},{"id":1495,"programId":327,"title":"Usage when `mosh-server` binary is outside standard path","rawContent":"mosh --server={{/path/to/bin/}}mosh-server {{remote_host}}"},{"id":1496,"programId":328,"title":"Open a file","rawContent":"most {{path/to/file}}"},{"id":1497,"programId":328,"title":"Open several files","rawContent":"most {{path/to/file1}} {{path/to/file2}}"},{"id":1498,"programId":328,"title":"Open a file at the first occurrence of \"string\"","rawContent":"most {{file}} +/{{string}}"},{"id":1499,"programId":328,"title":"Move through opened files","rawContent":":O n"},{"id":1500,"programId":328,"title":"Jump to the 100th line","rawContent":"{{100}}j"},{"id":1501,"programId":328,"title":"Edit current file","rawContent":"e"},{"id":1502,"programId":328,"title":"Split the current window in half","rawContent":"<CTRL-x> o"},{"id":1503,"programId":328,"title":"Exit","rawContent":"Q"},{"id":1504,"programId":329,"title":"Show all mounted filesystems","rawContent":"mount"},{"id":1505,"programId":329,"title":"Mount a device to a directory","rawContent":"mount -t {{filesystem_type}} {{path/to/device_file}} {{path/to/target_directory}}"},{"id":1506,"programId":329,"title":"Mount a CD-ROM device (with the filetype ISO9660) to /cdrom (readonly)","rawContent":"mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}"},{"id":1507,"programId":329,"title":"Mount all the filesystem defined in /etc/fstab","rawContent":"mount -a"},{"id":1508,"programId":329,"title":"Mount a specific filesystem described in /etc/fstab (e.g. \"/dev/sda1 /my_drive ext2 defaults 0 2\")","rawContent":"mount {{/my_drive}}"},{"id":1509,"programId":330,"title":"Display information about an existing MP4 file","rawContent":"mp4box -info {{filename}}"},{"id":1510,"programId":330,"title":"Add an SRT subtitle file into an MP4 file","rawContent":"mp4box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}"},{"id":1511,"programId":330,"title":"Combine audio from one file and video from another","rawContent":"mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}"},{"id":1512,"programId":331,"title":"Toggle play/pause","rawContent":"mpc toggle"},{"id":1513,"programId":331,"title":"Stop playing","rawContent":"mpc stop"},{"id":1514,"programId":331,"title":"Show information about the currently playing song","rawContent":"mpc status"},{"id":1515,"programId":331,"title":"Play next song","rawContent":"mpc next"},{"id":1516,"programId":331,"title":"Play previous song","rawContent":"mpc prev"},{"id":1517,"programId":331,"title":"Forward or rewind the currently playing song","rawContent":"mpc [+-]{{seconds}}"},{"id":1518,"programId":332,"title":"Register a repository","rawContent":"mr register"},{"id":1519,"programId":332,"title":"Update repositories in 5 concurent jobs","rawContent":"mr -j{{5}} update"},{"id":1520,"programId":332,"title":"Print the status of all repositories","rawContent":"mr status"},{"id":1521,"programId":332,"title":"Checkout all repositories to the latest version","rawContent":"mr checkout"},{"id":1522,"programId":333,"title":"Build the first project file in the current directory","rawContent":"msbuild"},{"id":1523,"programId":333,"title":"Build a specific project file","rawContent":"msbuild {{path/to/project_file}}"},{"id":1524,"programId":333,"title":"Set one or more semicolon-separated targets to build","rawContent":"msbuild {{path/to/project_file}} /target:{{targets}}"},{"id":1525,"programId":333,"title":"Set one or more semicolon-separated properties","rawContent":"msbuild {{path/to/project_file}} /property:{{name=value}}"},{"id":1526,"programId":333,"title":"Set the build tools version to use","rawContent":"msbuild {{path/to/project_file}} /toolsversion:{{version}}"},{"id":1527,"programId":333,"title":"Display detailed information at the end of the log about how the project was configured","rawContent":"msbuild {{path/to/project_file}} /detailedsummary"},{"id":1528,"programId":333,"title":"Display detailed help information","rawContent":"msbuild /help"},{"id":1529,"programId":334,"title":"Send an email using the default account configured in `~/.msmtprc`","rawContent":"echo {{\"Hello world\"}} | msmtp {{to@example.org}}"},{"id":1530,"programId":334,"title":"Send an email using a specific account configured in `~/.msmtprc`","rawContent":"echo {{\"Hello world\"}} | msmtp --account={{account_name}} {{to@example.org}}"},{"id":1531,"programId":334,"title":"Send an email without a configured account. The password should be specified in the `~/.msmtprc` file","rawContent":"echo {{\"Hello world\"}} | msmtp --host={{localhost}} --port={{999}} --from={{from@example.org}} {{to@example.org}}"},{"id":1532,"programId":335,"title":"Traceroute to a host and continuously ping all intermediary hops","rawContent":"mtr {{host}}"},{"id":1533,"programId":335,"title":"Disable IP address and host name mapping","rawContent":"mtr -n {{host}}"},{"id":1534,"programId":335,"title":"Generate output after pinging each hop 10 times","rawContent":"mtr -w {{host}}"},{"id":1535,"programId":335,"title":"Force IP IPv4 or IPV6","rawContent":"mtr -4 {{host}}"},{"id":1536,"programId":335,"title":"Wait for a given time (in seconds) before sending another packet to the same hop","rawContent":"mtr -i {{seconds}} {{host}}"},{"id":1537,"programId":336,"title":"Open the specified mailbox","rawContent":"mutt -f {{mailbox}}"},{"id":1538,"programId":336,"title":"Send an email and specify a subject and a cc recipient","rawContent":"mutt -s {{subject}} -c {{cc@example.com}} {{recipient@example.com}}"},{"id":1539,"programId":336,"title":"Send an email with files attached","rawContent":"mutt -a {{file1}} {{file2}} -- {{recipient@example.com}}"},{"id":1540,"programId":336,"title":"Specify a file to include as the message body","rawContent":"mutt -i {{file}} {{recipient@example.com}}"},{"id":1541,"programId":336,"title":"Specify a draft file containing the header and the body of the message, in RFC 5322 format","rawContent":"mutt -H {{file}} {{recipient@example.com}}"},{"id":1542,"programId":337,"title":"Move files in arbitrary locations","rawContent":"mv {{source}} {{target}}"},{"id":1543,"programId":337,"title":"Do not prompt for confirmation before overwriting existing files","rawContent":"mv -f {{source}} {{target}}"},{"id":1544,"programId":337,"title":"Do not prompt for confirmation before overwriting existing files but write to standard error before overriding","rawContent":"mv -fi {{source}} {{target}}"},{"id":1545,"programId":337,"title":"Move files in verbose mode, showing files after they are moved","rawContent":"mv -v {{source}} {{target}}"},{"id":1546,"programId":338,"title":"Compile a project","rawContent":"mvn compile"},{"id":1547,"programId":338,"title":"Compile and package the compiled code in its distributable format, such as a `jar`","rawContent":"mvn package"},{"id":1548,"programId":338,"title":"Compile and package, skipping unit tests","rawContent":"mvn package -Dmaven.test.skip=true"},{"id":1549,"programId":338,"title":"Install the built package in local maven repository. (This will invoke the compile and package commands too)","rawContent":"mvn install"},{"id":1550,"programId":338,"title":"Delete build artifacts from the target folder","rawContent":"mvn clean"},{"id":1551,"programId":338,"title":"Do a clean and then invoke the package phase","rawContent":"mvn clean package"},{"id":1552,"programId":338,"title":"Clean and then package the code with a given build profile","rawContent":"mvn clean -P{{profile}} package"},{"id":1553,"programId":338,"title":"Run a class with a main method","rawContent":"mvn exec:java -Dexec.mainClass=\"{{com.example.Main}}\" -Dexec.args=\"{{arg1 arg2}}\""},{"id":1554,"programId":339,"title":"Connect to a database","rawContent":"mysql {{database_name}}"},{"id":1555,"programId":339,"title":"Connect to a database, user will be prompted for a password","rawContent":"mysql -u {{user}} --password {{database_name}}"},{"id":1556,"programId":339,"title":"Connect to a database on another host","rawContent":"mysql -h {{database_host}} {{database_name}}"},{"id":1557,"programId":339,"title":"Connect to a database through a Unix socket","rawContent":"mysql --socket {{path/to/socket.sock}}"},{"id":1558,"programId":339,"title":"Execute SQL statements in a script file (batch file)","rawContent":"mysql -e \"source {{filename.sql}}\" {{database_name}}"},{"id":1559,"programId":340,"title":"Create a backup, user will be prompted for a password","rawContent":"mysqldump -u {{user}} --password {{database_name}} -r {{filename.sql}}"},{"id":1560,"programId":340,"title":"Restore a backup, user will be prompted for a password","rawContent":"mysql -u {{user}} --password -e \"source {{filename.sql}}\" {{database_name}}"},{"id":1561,"programId":341,"title":"Start nano in terminal with {filename}","rawContent":"nano {{filename}}"},{"id":1562,"programId":341,"title":"Enable smooth scrolling","rawContent":"nano -S {{filename}}"},{"id":1563,"programId":341,"title":"Indent new lines to the previous lines' indentation","rawContent":"nano -i {{filename}}"},{"id":1564,"programId":342,"title":"Assemble `source.asm` into a binary file `source`, in the (default) raw binary format","rawContent":"nasm {{source.asm}}"},{"id":1565,"programId":342,"title":"Assemble `source.asm` into a binary file `output_file`, in the specified format","rawContent":"nasm -f {{format}} {{source.asm}} -o {{output_file}}"},{"id":1566,"programId":342,"title":"List valid output formats (along with basic nasm help)","rawContent":"nasm -hf"},{"id":1567,"programId":342,"title":"Assemble and generate an assembly listing file","rawContent":"nasm -l {{list_file}} {{source.asm}}"},{"id":1568,"programId":342,"title":"Add a directory (must be written with trailing slash) to the include file search path before assembling","rawContent":"nasm -i {{/path/to/include_dir/}} {{source.asm}}"},{"id":1569,"programId":343,"title":"Listen on a specified port","rawContent":"nc -l {{port}}"},{"id":1570,"programId":343,"title":"Connect to a certain port (you can then write to this port)","rawContent":"nc {{ip_address}} {{port}}"},{"id":1571,"programId":343,"title":"Set a timeout","rawContent":"nc -w {{timeout_in_seconds}} {{ipaddress}} {{port}}"},{"id":1572,"programId":343,"title":"Serve a file","rawContent":"nc -l {{port}} < {{file}}"},{"id":1573,"programId":343,"title":"Receive a file","rawContent":"nc {{ip_address}} {{port}} > {{file}}"},{"id":1574,"programId":343,"title":"Server stay up after client detach","rawContent":"nc -k -l {{port}}"},{"id":1575,"programId":343,"title":"Client stay up after EOF","rawContent":"nc -q {{timeout}} {{ip_address}}"},{"id":1576,"programId":343,"title":"Port scanning","rawContent":"nc -v -z {{ip_address}} {{port}}"},{"id":1577,"programId":343,"title":"Proxy and port forwarding","rawContent":"nc -l {{port}} | nc {{hostname}} {{port}}"},{"id":1578,"programId":344,"title":"Connect to a music player daemon on a given host and port","rawContent":"ncmpcpp --host {{ip}} --port {{port}}"},{"id":1579,"programId":344,"title":"Display metadata of the current song to console","rawContent":"ncmpcpp --current-song"},{"id":1580,"programId":344,"title":"Use a specified configuration file","rawContent":"ncmpcpp --config {{file}}"},{"id":1581,"programId":344,"title":"Use a different set of key bindings from a file","rawContent":"ncmpcpp --bindings {{file}}"},{"id":1582,"programId":345,"title":"Return the default config, and create it if it's the first time the program runs","rawContent":"neofetch"},{"id":1583,"programId":345,"title":"Trigger an info line from appearing in the output, where 'infoname' is the function name in the config file, e.g. memory","rawContent":"neofetch --{{enable|disable}} {{infoname}}"},{"id":1584,"programId":345,"title":"Hide/Show OS architecture","rawContent":"neofetch --os_arch {{on|off}}"},{"id":1585,"programId":345,"title":"Enable/Disable CPU brand in output","rawContent":"neofetch --cpu_brand {{on|off}}"},{"id":1586,"programId":346,"title":"Start server with the default config file","rawContent":"nginx"},{"id":1587,"programId":346,"title":"Start server with a custom config file","rawContent":"nginx -c {{config_file}}"},{"id":1588,"programId":346,"title":"Start server with a prefix for all relative paths in the config file","rawContent":"nginx -c {{config_file}} -p {{prefix/for/relative/paths}}"},{"id":1589,"programId":346,"title":"Test the configuration without affecting the running server","rawContent":"nginx -t"},{"id":1590,"programId":346,"title":"Reload the configuration by sending a signal with no downtime","rawContent":"nginx -s reload"},{"id":1591,"programId":347,"title":"Capture traffic of all interfaces","rawContent":"ngrep -d any"},{"id":1592,"programId":347,"title":"Capture traffic of a specific interface","rawContent":"ngrep -d {{eth0}}"},{"id":1593,"programId":347,"title":"Capture traffic crossing port 22 of interface eth0","rawContent":"ngrep -d {{eth0}} port {{22}}"},{"id":1594,"programId":347,"title":"Capture traffic from or to a host","rawContent":"ngrep host {{www.example.com}}"},{"id":1595,"programId":347,"title":"Filter keyword 'User-Agent:' of interface eth0","rawContent":"ngrep -d {{eth0}} '{{User-Agent:}}'"},{"id":1596,"programId":348,"title":"Launch a program with altered priority","rawContent":"nice -n {{niceness_value}} {{command}}"},{"id":1597,"programId":349,"title":"Perform a basic Nikto scan against a target host","rawContent":"perl nikto.pl -h {{192.168.0.1}}"},{"id":1598,"programId":349,"title":"Specify the port number when performing a basic scan","rawContent":"perl nikto.pl -h {{192.168.0.1}} -p {{443}}"},{"id":1599,"programId":349,"title":"Scan ports and protocols with full URL syntax","rawContent":"perl nikto.pl -h {{https://192.168.0.1:443/}}"},{"id":1600,"programId":349,"title":"Scan multiple ports in the same scanning session","rawContent":"perl nikto.pl -h {{192.168.0.1}} -p {{80,88,443}}"},{"id":1601,"programId":349,"title":"Update to the latest plugins and databases","rawContent":"perl nikto.pl -update"},{"id":1602,"programId":350,"title":"Delete all store paths unused by current generations of each profile","rawContent":"sudo nix-collect-garbage --delete-old"},{"id":1603,"programId":350,"title":"Simulate the deletion of old store paths","rawContent":"sudo nix-collect-garbage --delete-old --dry-run"},{"id":1604,"programId":350,"title":"Delete all store paths older than 30 days","rawContent":"sudo nix-collect-garbage --delete-older-than {{30d}}"},{"id":1605,"programId":351,"title":"Show available package with name or without name","rawContent":"nix-env -qa {{pkg_name}}"},{"id":1606,"programId":351,"title":"Show the status of available packages","rawContent":"nix-env -qas"},{"id":1607,"programId":351,"title":"Install package","rawContent":"nix-env -i {{pkg_name}}"},{"id":1608,"programId":351,"title":"Uninstall package","rawContent":"nix-env -e {{pkg_name}}"},{"id":1609,"programId":351,"title":"Upgrade one package","rawContent":"nix-env -u {{pkg_name}}"},{"id":1610,"programId":351,"title":"Upgrade all packages","rawContent":"nix-env -u"},{"id":1611,"programId":352,"title":"Try to determine whether the specified hosts are up and what are their names","rawContent":"nmap -sn {{ip_or_hostname}} {{optional_another_address}}"},{"id":1612,"programId":352,"title":"Like above, but also run a default 1000-port TCP scan if host seems up","rawContent":"nmap {{ip_or_hostname}} {{optional_another_address}}"},{"id":1613,"programId":352,"title":"Also enable scripts, service detection, OS fingerprinting and traceroute","rawContent":"nmap -A {{address_or_addresses}}"},{"id":1614,"programId":352,"title":"Assume good network connection and speed up execution","rawContent":"nmap -T4 {{address_or_addresses}}"},{"id":1615,"programId":352,"title":"Scan a specific list of ports (use -p- for all ports 1-65535)","rawContent":"nmap -p {{port1,port2,...,portN}} {{address_or_addresses}}"},{"id":1616,"programId":352,"title":"Perform TCP and UDP scanning (use -sU for UDP only, -sZ for SCTP, -sO for IP)","rawContent":"nmap -sSU {{address_or_addresses}}"},{"id":1617,"programId":352,"title":"Perform TLS cipher scan against a host to determine supported ciphers and SSL/TLS protocols","rawContent":"nmap --script ssl-enum-ciphers {{address_or_addresses}} -p 443"},{"id":1618,"programId":353,"title":"Run a JavaScript file","rawContent":"node {{file}}.js"},{"id":1619,"programId":353,"title":"Start a REPL (interactive shell)","rawContent":"node"},{"id":1620,"programId":353,"title":"Evaluate JavaScript by passing it in the command","rawContent":"node -e \"{{code}}\""},{"id":1621,"programId":354,"title":"Run process that can live beyond the terminal","rawContent":"nohup {{command options}}"},{"id":1622,"programId":355,"title":"Display a report of outdated, incorrect, and unused dependencies","rawContent":"npm-check"},{"id":1623,"programId":355,"title":"Interactively update out-of-date packages","rawContent":"npm-check --update"},{"id":1624,"programId":355,"title":"Update everything without prompting","rawContent":"npm-check --update-all"},{"id":1625,"programId":355,"title":"Don't check for unused packages","rawContent":"npm-check --skip-unused"},{"id":1626,"programId":356,"title":"Download and install a module globally","rawContent":"npm install -g {{module_name}}"},{"id":1627,"programId":356,"title":"Download all dependencies referenced in package.json","rawContent":"npm install"},{"id":1628,"programId":356,"title":"Download a given dependency required for the application to run, and add it to the package.json","rawContent":"npm install {{module_name}}@{{version}} --save"},{"id":1629,"programId":356,"title":"Download a given dependency for development purposes, and add it to the package.json","rawContent":"npm install {{module_name}}@{{version}} --save-dev"},{"id":1630,"programId":356,"title":"Uninstall a module","rawContent":"npm uninstall {{module_name}}"},{"id":1631,"programId":356,"title":"List a tree of installed modules referenced in package.json","rawContent":"npm list"},{"id":1632,"programId":356,"title":"List top-level globally installed modules","rawContent":"npm list -g --depth={{0}}"},{"id":1633,"programId":356,"title":"Interactively create a package.json file","rawContent":"npm init"},{"id":1634,"programId":357,"title":"Execute the binary from a given npm module","rawContent":"npx {{module_name}}"},{"id":1635,"programId":357,"title":"In case a package has multiple binaries, specify the package name along with the binary","rawContent":"npx -p {{package_name}} {{module_name}}"},{"id":1636,"programId":357,"title":"View help contents","rawContent":"npx --help"},{"id":1637,"programId":358,"title":"List all registries","rawContent":"nrm ls"},{"id":1638,"programId":358,"title":"Change to a particular registry","rawContent":"nrm use {{registry}}"},{"id":1639,"programId":358,"title":"Show the response time for all registries","rawContent":"nrm test"},{"id":1640,"programId":358,"title":"Add a custom registry","rawContent":"nrm add {{registry}} {{url}}"},{"id":1641,"programId":358,"title":"Delete a registry","rawContent":"nrm del {{registry}}"},{"id":1642,"programId":359,"title":"Query your system's default name server for an IP address (A record) of the domain","rawContent":"nslookup {{example.com}}"},{"id":1643,"programId":359,"title":"Query a given name server for a NS record of the domain","rawContent":"nslookup -type=NS {{example.com}} {{8.8.8.8}}"},{"id":1644,"programId":359,"title":"Query for a reverse lookup (PTR record) of an IP address","rawContent":"nslookup -type=PTR {{54.240.162.118}}"},{"id":1645,"programId":359,"title":"Query for ANY available records using TCP protocol","rawContent":"nslookup -vc -type=ANY {{example.com}} "},{"id":1646,"programId":359,"title":"Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol","rawContent":"nslookup -vc -type=AXFR {{example.com}} {{name_server}}"},{"id":1647,"programId":359,"title":"Query for a mail server (MX record) of the domain, showing details of the transaction","rawContent":"nslookup -type=MX -debug {{example.com}}"},{"id":1648,"programId":359,"title":"Query a given name server on a specific port number for a TXT record of the domain","rawContent":"nslookup -port={{port_number}} -type=TXT {{example.com}} {{name_server}}"},{"id":1649,"programId":360,"title":"Install a specific version of NodeJS","rawContent":"nvm install {{node_version}}"},{"id":1650,"programId":360,"title":"Use a specific version NodeJS in the current shell","rawContent":"nvm use {{node_version}}"},{"id":1651,"programId":360,"title":"Set the default NodeJS version","rawContent":"nvm alias default {{node_version}}"},{"id":1652,"programId":360,"title":"List all available NodeJS versions and print the default one","rawContent":"nvm list"},{"id":1653,"programId":360,"title":"Run a specific version NodeJS REPL","rawContent":"nvm run {{node_version}} --version"},{"id":1654,"programId":360,"title":"Run app in a specific version of NodeJS","rawContent":"nvm exec {{node_version}} node {{app.js}}"},{"id":1655,"programId":361,"title":"Display file using default settings: octal format, 8 bytes per line, byte offsets in octal, and duplicate lines replaced with `*`","rawContent":"od {{path/to/file}}"},{"id":1656,"programId":361,"title":"Display file in verbose mode, i.e. without replacing duplicate lines with `*`","rawContent":"od -v {{path/to/file}}"},{"id":1657,"programId":361,"title":"Display file in hexadecimal format (2-byte units), with byte offsets in decimal format","rawContent":"od --format={{x}} --address-radix={{d}} -v {{path/to/file}}"},{"id":1658,"programId":361,"title":"Display file in hexadecimal format (1-byte units), and 4 bytes per line","rawContent":"od --format={{x1}} --width={{4}} -v {{path/to/file}}"},{"id":1659,"programId":361,"title":"Display file in hexadecimal format along with its character representation, and do not print byte offsets","rawContent":"od --format={{xz}} --address-radix={{n}} -v {{path/to/file}}"},{"id":1660,"programId":361,"title":"Read only 100 bytes of a file starting from the 500th byte","rawContent":"od --read-bytes {{100}} --skip-bytes={{500}} -v {{path/to/file}}"},{"id":1661,"programId":362,"title":"Add a user to the current project","rawContent":"add user {{user_name}};"},{"id":1662,"programId":362,"title":"Grant a set of authorities to a user","rawContent":"grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};"},{"id":1663,"programId":362,"title":"Show authorities of a user","rawContent":"show grants for {{user_name}};"},{"id":1664,"programId":362,"title":"Create a user role","rawContent":"create role {{role_name}};"},{"id":1665,"programId":362,"title":"Grant a set of authorities to a role","rawContent":"grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};"},{"id":1666,"programId":362,"title":"Describe authorities of a role","rawContent":"desc role {{role_name}};"},{"id":1667,"programId":362,"title":"Grant a role to a user","rawContent":"grant {{role_name}} to {{user_name}};"},{"id":1668,"programId":363,"title":"Show functions in the current project","rawContent":"list functions;"},{"id":1669,"programId":363,"title":"Create a Java function using a .jar resource","rawContent":"create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';"},{"id":1670,"programId":363,"title":"Create a Python function using a .py resource","rawContent":"create function {{func_name}} as {{script.Func}} using '{{script.py}}';"},{"id":1671,"programId":363,"title":"Delete a function","rawContent":"drop function {{func_name}};"},{"id":1672,"programId":364,"title":"Show instances created by current user","rawContent":"show instances;"},{"id":1673,"programId":364,"title":"Describe the details of an instance","rawContent":"desc instance {{instance_id}};"},{"id":1674,"programId":364,"title":"Check the status of an instance","rawContent":"status {{instance_id}};"},{"id":1675,"programId":364,"title":"Wait on the termination of an instance, printing log and progress information until then","rawContent":"wait {{instance_id}};"},{"id":1676,"programId":364,"title":"Kill an instance","rawContent":"kill {{instance_id}};"},{"id":1677,"programId":365,"title":"Show resources in the current project","rawContent":"list resources;"},{"id":1678,"programId":365,"title":"Add file resource","rawContent":"add file {{file_name}} as {{alias}};"},{"id":1679,"programId":365,"title":"Add archive resource","rawContent":"add archive {{archive.tar.gz}} as {{alias}};"},{"id":1680,"programId":365,"title":"Add .jar resource","rawContent":"add jar {{package.jar}};"},{"id":1681,"programId":365,"title":"Add .py resource","rawContent":"add py {{script.py}};"},{"id":1682,"programId":365,"title":"Delete resource","rawContent":"drop resource {{resource_name}};"},{"id":1683,"programId":366,"title":"Create a table with partition and lifecycle","rawContent":"create table {{table_name}} ({{col}} {{type}}) partitioned by ({{col}} {{type}}) lifecycle {{days}};"},{"id":1684,"programId":366,"title":"Create a table based on the definition of another table","rawContent":"create table {{table_name}} like {{another_table}};"},{"id":1685,"programId":366,"title":"Add partition to a table","rawContent":"alter table {{table_name}} add partition ({{partition_spec}});"},{"id":1686,"programId":366,"title":"Delete partition from a table","rawContent":"alter table {{table_name}} drop partition ({{partition_spec}});"},{"id":1687,"programId":366,"title":"Delete table","rawContent":"drop table {{table_name}};"},{"id":1688,"programId":367,"title":"Download table to local file","rawContent":"tunnel download {{table_name}} {{file}};"},{"id":1689,"programId":367,"title":"Upload local file to a table partition","rawContent":"tunnel upload {{file}} {{table_name}}/{{partition_spec}};"},{"id":1690,"programId":367,"title":"Upload table specifying field and record delimiters","rawContent":"tunnel upload {{file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};"},{"id":1691,"programId":367,"title":"Upload table using multiple threads","rawContent":"tunnel upload {{file}} {{table_name}} -threads {{num}};"},{"id":1692,"programId":368,"title":"Start the command line with a custom configuration file","rawContent":"odpscmd --config={{odps_config.ini}}"},{"id":1693,"programId":368,"title":"Switch current project","rawContent":"use {{project_name}};"},{"id":1694,"programId":368,"title":"Show tables in the current project","rawContent":"show tables;"},{"id":1695,"programId":368,"title":"Describe a table","rawContent":"desc {{table_name}};"},{"id":1696,"programId":368,"title":"Show table partitions","rawContent":"show partitions {{table_name}};"},{"id":1697,"programId":368,"title":"Describe a partition","rawContent":"desc {{table_name}} partition ({{partition_spec}});"},{"id":1698,"programId":369,"title":"Install one or more packages","rawContent":"omf install {{name}}"},{"id":1699,"programId":369,"title":"List installed packages","rawContent":"omf list"},{"id":1700,"programId":369,"title":"List available themes","rawContent":"omf theme"},{"id":1701,"programId":369,"title":"Apply a theme","rawContent":"omf theme {{name}}"},{"id":1702,"programId":369,"title":"Remove a theme or package","rawContent":"omf remove {{name}}"},{"id":1703,"programId":369,"title":"Uninstall Oh My Fish","rawContent":"omf destroy"},{"id":1704,"programId":370,"title":"Generate a 2048bit RSA private key and save it to a file","rawContent":"openssl genrsa -out {{filename.key}} 2048"},{"id":1705,"programId":370,"title":"Generate a certificate signing request to be sent to a certificate authority","rawContent":"openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}"},{"id":1706,"programId":370,"title":"Generate a self-signed certificate from a certificate signing request valid for some number of days","rawContent":"openssl x509 -req -days {{days}} -in {{filename.csr}} -signkey {{filename.key}} -out {{filename.crt}}"},{"id":1707,"programId":370,"title":"Display certificate information","rawContent":"openssl x509 -in {{filename.crt}} -noout -text"},{"id":1708,"programId":370,"title":"Display the start and expiry dates for a domain's certificate","rawContent":"openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates"},{"id":1709,"programId":370,"title":"Display the certificate presented by an SSL/TLS server","rawContent":"openssl s_client -connect {{host}}:{{port}} </dev/null"},{"id":1710,"programId":370,"title":"Display the complete certificate chain of an HTTPS server","rawContent":"openssl s_client -connect {{host}}:443 -showcerts </dev/null"},{"id":1711,"programId":371,"title":"Compress a PNG with default settings","rawContent":"optipng {{file.png}}"},{"id":1712,"programId":371,"title":"Compress a PNG with best compression","rawContent":"optipng -o{{7}} {{file.png}}"},{"id":1713,"programId":371,"title":"Compress a PNG with fastest compression","rawContent":"optipng -o{{0}} {{file.png}}"},{"id":1714,"programId":371,"title":"Compress a PNG and add interlacing","rawContent":"optipng -i {{1}} {{file.png}}"},{"id":1715,"programId":371,"title":"Compress a PNG and remove all metadata","rawContent":"optipng -strip all {{file.png}}"},{"id":1716,"programId":372,"title":"Create a new p5 collection","rawContent":"p5 new {{collection_name}}"},{"id":1717,"programId":372,"title":"Generate a new p5 project (should be run from collection directory)","rawContent":"p5 generate {{project_name}}"},{"id":1718,"programId":372,"title":"Run the p5 manager server","rawContent":"p5 server"},{"id":1719,"programId":372,"title":"Update libraries to their latest versions","rawContent":"p5 update"},{"id":1720,"programId":373,"title":"Update the list of available packages and versions (it's recommended to run this before other `paci` commands)","rawContent":"paci refresh"},{"id":1721,"programId":373,"title":"Configure its behaviour","rawContent":"paci configure"},{"id":1722,"programId":373,"title":"Search for a given package","rawContent":"paci search {{package}}"},{"id":1723,"programId":373,"title":"Install a package","rawContent":"paci install {{package}}"},{"id":1724,"programId":373,"title":"Update a package","rawContent":"paci update {{package}}"},{"id":1725,"programId":374,"title":"Convert file to pdf (the output format is automatically determined from the output file's extension)","rawContent":"pandoc {{input.md}} -o {{output.pdf}}"},{"id":1726,"programId":374,"title":"Convert a file to a specific output format (useful for when the extension alone is ambiguous)","rawContent":"pandoc {{input.docx}} --to {{markdown_github}} -o {{output.md}}"},{"id":1727,"programId":374,"title":"List all supported input formats","rawContent":"pandoc --list-input-formats"},{"id":1728,"programId":374,"title":"List all supported output formats","rawContent":"pandoc --list-output-formats"},{"id":1729,"programId":375,"title":"Gzip several files at once, using all cores","rawContent":"parallel gzip ::: {{file1}} {{file2}} {{file3}}"},{"id":1730,"programId":375,"title":"Read arguments from stdin, run 4 jobs at once","rawContent":"ls *.txt | parallel -j4 gzip"},{"id":1731,"programId":375,"title":"Convert JPG images to PNG using replacement strings","rawContent":"parallel convert {} {.}.png ::: *.jpg"},{"id":1732,"programId":375,"title":"Parallel xargs, cram as many args as possible onto one command","rawContent":"{{args}} | parallel -X {{command}}"},{"id":1733,"programId":375,"title":"Break stdin into ~1M blocks, feed each block to stdin of new command","rawContent":"cat {{big_file.txt}} | parallel --pipe --block 1M {{command}}"},{"id":1734,"programId":375,"title":"Run on multiple machines via SSH","rawContent":"parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}"},{"id":1735,"programId":376,"title":"Initialize the storage using a gpg-id for encryption","rawContent":"pass init {{gpg_id}}"},{"id":1736,"programId":376,"title":"Save a new password (prompts you for the value without echoing it)","rawContent":"pass insert {{path/to/data}}"},{"id":1737,"programId":376,"title":"Copy a password (first line of the data file) to the clipboard","rawContent":"pass -c {{path/to/data}}"},{"id":1738,"programId":376,"title":"List the whole store tree","rawContent":"pass"},{"id":1739,"programId":376,"title":"Generate a new random password with a given length, and copy it to the clipboard","rawContent":"pass generate -c {{path/to/data}} {{num}}"},{"id":1740,"programId":376,"title":"Run any git command against the underlying store repository","rawContent":"pass git {{git_arguments}}"},{"id":1741,"programId":377,"title":"Change the password of the current user","rawContent":"passwd {{new password}}"},{"id":1742,"programId":377,"title":"Change the password of the specified user","rawContent":"passwd {{username}} {{new password}}"},{"id":1743,"programId":377,"title":"Get the current status of the user","rawContent":"passwd -S"},{"id":1744,"programId":377,"title":"Make the password of the account blank (it will set the named account passwordless)","rawContent":"passwd -d"},{"id":1745,"programId":378,"title":"Join all the lines into a single line, using TAB as delimiter","rawContent":"paste -s {{file}}"},{"id":1746,"programId":378,"title":"Join all the lines into a single line, using the specified delimiter","rawContent":"paste -s -d {{delimiter}} {{file}}"},{"id":1747,"programId":378,"title":"Merge two files side by side, each in its column, using TAB as delimiter","rawContent":"paste {{file1}} {{file2}}"},{"id":1748,"programId":378,"title":"Merge two files side by side, each in its column, using the specified delimiter","rawContent":"paste -d {{delimiter}} {{file1}} {{file2}}"},{"id":1749,"programId":378,"title":"Merge two files, with lines added alternatively","rawContent":"paste -d '\\n' {{file1}} {{file2}}"},{"id":1750,"programId":379,"title":"Apply a patch","rawContent":"patch < {{patch_file}}.diff"},{"id":1751,"programId":379,"title":"Apply a patch to current directory","rawContent":"patch -p1 < {{patch_file}}.diff"},{"id":1752,"programId":379,"title":"Apply the reverse of a patch","rawContent":"patch -R < {{patch_file}}.diff"},{"id":1753,"programId":380,"title":"Merge two PDFs","rawContent":"pdfjoin {{file1}} {{file2}} --outfile {{output_file}}"},{"id":1754,"programId":380,"title":"Save pages 3 to 5 followed by page 1 to a new PDF","rawContent":"pdfjoin {{file 3-5,1}} --outfile {{output_file}}"},{"id":1755,"programId":380,"title":"Merge subranges from two PDFs","rawContent":"pdfjoin {{file1 3-5,1}} {{file2 4-6}} --outfile {{output_file}}"},{"id":1756,"programId":381,"title":"Compile a pdf document","rawContent":"pdflatex {{source.tex}}"},{"id":1757,"programId":381,"title":"Compile a pdf document, halting on each error","rawContent":"pdflatex -halt-on-error {{source.tex}}"},{"id":1758,"programId":382,"title":"Convert an A2 poster into 4 A4 pages","rawContent":"pdfposter --poster-size a2 {{input_file.pdf}} {{output_file.pdf}}"},{"id":1759,"programId":382,"title":"Scale an A4 poster to A3 and then generate 2 A4 pages","rawContent":"pdfposter --scale 2 {{input_file.pdf}} {{output_file.pdf}}"},{"id":1760,"programId":383,"title":"Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one","rawContent":"pdftk {{input.pdf}} cat {{1-3 5 6-10}} output {{output.pdf}}"},{"id":1761,"programId":383,"title":"Merge (concatenate) a list of PDF files and save the result as another one","rawContent":"pdftk {{file1.pdf}} {{file2.pdf}} ... cat output {{output.pdf}}"},{"id":1762,"programId":383,"title":"Split each page of a PDF file into a separate file, with a given filename output pattern","rawContent":"pdftk {{input.pdf}} burst output {{out_%d.pdf}}"},{"id":1763,"programId":383,"title":"Rotate all pages by 180 degrees clockwise","rawContent":"pdftk {{input.pdf}} cat {{1-endsouth}} output {{output.pdf}}"},{"id":1764,"programId":383,"title":"Rotate third page by 90 degrees clockwise and leave others unchanged","rawContent":"pdftk {{input.pdf}} cat {{1-2 3east 4-end}} output {{output.pdf}}"},{"id":1765,"programId":384,"title":"Convert filename.pdf to plain text and print it to standard output","rawContent":"pdftotext {{filename.pdf}} -"},{"id":1766,"programId":384,"title":"Convert filename.pdf to plain text and save it as filename.txt","rawContent":"pdftotext {{filename.pdf}}"},{"id":1767,"programId":384,"title":"Convert input.pdf to plain text and save it as output.txt","rawContent":"pdftotext {{input.pdf}} {{output.txt}}"},{"id":1768,"programId":384,"title":"Convert pages 2, 3 and 4 of input.pdf to plain text and save them as output.txt","rawContent":"pdftotext -f {{2}} -l {{4}} {{input.pdf}} {{output.txt}}"},{"id":1769,"programId":385,"title":"Merge 2 PDFs into a single PDF","rawContent":"pdfunite {{path/to/fileA.pdf}} {{path/to/fileB.pdf}} {{path/to/merged_output.pdf}}"},{"id":1770,"programId":385,"title":"Merge a folder of PDFs into a single PDF","rawContent":"pdfunite {{path/to/directory/*.pdf}} {{path/to/merged_output.pdf}}"},{"id":1771,"programId":386,"title":"Stream the largest media file in a torrent","rawContent":"peerflix \"{{torrent_url|magnet_link}}\""},{"id":1772,"programId":386,"title":"List all streamable files contained in a torrent (given as a magnet link)","rawContent":"peerflix \"{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}\" --list"},{"id":1773,"programId":386,"title":"Stream the largest file in a torrent, given as a torrent URL, to VLC","rawContent":"peerflix \"{{http://example.net/music.torrent}}\" --vlc"},{"id":1774,"programId":386,"title":"Stream the largest file in a torrent to MPlayer, with subtitles","rawContent":"peerflix \"{{torrent_url|magnet_link}}\" --mplayer --subtitles {{subtitle-file.srt}}"},{"id":1775,"programId":386,"title":"Stream all files from a torrent to Airplay","rawContent":"peerflix \"{{torrent_url|magnet_link}}\" --all --airplay"},{"id":1776,"programId":387,"title":"Parse and execute a Perl script","rawContent":"perl {{script.pl}}"},{"id":1777,"programId":387,"title":"Check syntax errors on a Perl script","rawContent":"perl -c {{script.pl}}"},{"id":1778,"programId":387,"title":"Parse and execute a perl statement","rawContent":"perl -e {{perl_statement}}"},{"id":1779,"programId":387,"title":"Run a Perl script in debug mode, using `perldebug`","rawContent":"perl -d {{script.pl}}"},{"id":1780,"programId":387,"title":"Loo[p] over all lines of a file, editing them [i]n-place using a find/replace [e]xpression","rawContent":"perl -p -i -e 's/{{find}}/{{replace}}/g' {{filename}}"},{"id":1781,"programId":387,"title":"Run a find/replace expression on a file, saving the original file with a given extension","rawContent":"perl -p -i'.old' -e 's/{{find}}/{{replace}}/g' {{filename}}"},{"id":1782,"programId":387,"title":"Run a multi-line find/replace expression on a file, and save the result in another file","rawContent":"perl -p0e 's/{{foo\\nbar}}/{{foobar}}/g' {{input_file}} > {{output_file}}"},{"id":1783,"programId":388,"title":"Start a PostgreSQL server","rawContent":"pg_ctl -D {{data_directory}} -l {{log_file_name}}"},{"id":1784,"programId":388,"title":"Initialize a PostgreSQL database cluster","rawContent":"pg_ctl -D {{data_directory}} init"},{"id":1785,"programId":388,"title":"Stop a PostgreSQL server","rawContent":"pg_ctl -D {{data_directory}} stop"},{"id":1786,"programId":388,"title":"Restart a PostgreSQL server","rawContent":"pg_ctl -D {{data_directory}} restart"},{"id":1787,"programId":389,"title":"Dump database into a SQL-script file","rawContent":"pg_dump {{db_name}} > {{output_file.sql}}"},{"id":1788,"programId":389,"title":"Same as above, customize username","rawContent":"pg_dump -U {{username}} {{db_name}} > {{output_file.sql}}"},{"id":1789,"programId":389,"title":"Same as above, customize host and port","rawContent":"pg_dump -h {{host}} -p {{port}} {{db_name}} > {{output_file.sql}}"},{"id":1790,"programId":389,"title":"Dump a database into a custom-format archive file","rawContent":"pg_dump -Fc {{db_name}} > {{output_file.dump}}"},{"id":1791,"programId":390,"title":"Restore an archive into an existing database","rawContent":"pg_restore -d {{db_name}} {{archive_file.dump}}"},{"id":1792,"programId":390,"title":"Same as above, customize username","rawContent":"pg_restore -U {{username}} -d {{db_name}} {{archive_file.dump}}"},{"id":1793,"programId":390,"title":"Same as above, customize host and port","rawContent":"pg_restore -h {{host}} -p {{port}} -d {{db_name}} {{archive_file.dump}}"},{"id":1794,"programId":390,"title":"Clean database objects before creating them","rawContent":"pg_restore --clean -d {{db_name}} {{archive_file.dump}}"},{"id":1795,"programId":390,"title":"Use multiple jobs to do the restoring","rawContent":"pg_restore -j {{2}} -d {{db_name}} {{archive_file.dump}}"},{"id":1796,"programId":391,"title":"Return PIDs of any running processes with a matching command string","rawContent":"pgrep {{process_name}}"},{"id":1797,"programId":391,"title":"Search full command line with parameters instead of just the process name","rawContent":"pgrep -f \"{{process_name}} {{parameter}}\""},{"id":1798,"programId":391,"title":"Search for process run by a specific user","rawContent":"pgrep -u root {{process_name}}"},{"id":1799,"programId":392,"title":"Display a list of available aliased Phars","rawContent":"phive list"},{"id":1800,"programId":392,"title":"Install a specified Phar to the local directory","rawContent":"phive install {{alias|url}}"},{"id":1801,"programId":392,"title":"Install a specified Phar globally","rawContent":"phive install {{alias|url}} --global"},{"id":1802,"programId":392,"title":"Install a specified Phar to a target directory","rawContent":"phive install {{alias|url}} --target {{path/to/directory}}"},{"id":1803,"programId":392,"title":"Update all Phar files to the latest version","rawContent":"phive update"},{"id":1804,"programId":392,"title":"Remove a specified Phar file","rawContent":"phive remove {{alias|url}}"},{"id":1805,"programId":392,"title":"Remove unused Phar files","rawContent":"phive purge"},{"id":1806,"programId":392,"title":"List all available commands","rawContent":"phive help"},{"id":1807,"programId":393,"title":"Parse and execute a php script","rawContent":"php {{file}}"},{"id":1808,"programId":393,"title":"Check syntax on (i.e. lint) a PHP script","rawContent":"php -l {{file}}"},{"id":1809,"programId":393,"title":"Run PHP interactively","rawContent":"php -a"},{"id":1810,"programId":393,"title":"Run PHP code (Notes: Don't use <? ?> tags; escape double quotes with backslash)","rawContent":"php -r \"{{code}}\""},{"id":1811,"programId":393,"title":"Start a PHP built-in web server in the current directory","rawContent":"php -S {{host:port}}"},{"id":1812,"programId":394,"title":"Sniff the specified directory for issues (defaults to the PEAR standard)","rawContent":"phpcs {{path/to/directory}}"},{"id":1813,"programId":394,"title":"Display a list of installed coding standards","rawContent":"phpcs -i"},{"id":1814,"programId":394,"title":"Specify a coding standard to validate against","rawContent":"phpcs {{path/to/directory}} --standard {{standard}}"},{"id":1815,"programId":394,"title":"Specify file extension(s) to include when sniffing","rawContent":"phpcs {{path/to/directory}} --extensions {{file_extension(s)}}"},{"id":1816,"programId":394,"title":"Specify the format of the output report (e.g. `full`, `xml`, `json`, `summary`)","rawContent":"phpcs {{path/to/directory}} --report {{format}}"},{"id":1817,"programId":394,"title":"Set config variables to be used during the process","rawContent":"phpcs {{path/to/directory}} --config-set {{key}} {{value}}"},{"id":1818,"programId":394,"title":"A comma-separated list of files to load before processing","rawContent":"phpcs {{path/to/directory}} --bootstrap {{file(s)}}"},{"id":1819,"programId":394,"title":"Don't recurse into subdirectories","rawContent":"phpcs {{path/to/directory}} -l"},{"id":1820,"programId":395,"title":"Prepare the PHP extension in the current directory for compiling","rawContent":"phpize"},{"id":1821,"programId":395,"title":"Delete files previously created by phpize","rawContent":"phpize --clean"},{"id":1822,"programId":396,"title":"Analyse a directory and print the result","rawContent":"phploc {{path/to/directory}}"},{"id":1823,"programId":396,"title":"Include only specific files from a comma-separated list (globs are allowed)","rawContent":"phploc {{path/to/directory}} --names {{files}}"},{"id":1824,"programId":396,"title":"Exclude specific files from a comma-separated list (globs are allowed)","rawContent":"phploc {{path/to/directory}} --names-exclude {{files}}"},{"id":1825,"programId":396,"title":"Exclude a specific directory from analysis","rawContent":"phploc {{path/to/directory}} --exclude {{path/to/exclude_directory}}"},{"id":1826,"programId":396,"title":"Log the results to a specific CSV file","rawContent":"phploc {{path/to/directory}} --log-csv {{path/to/file}}"},{"id":1827,"programId":396,"title":"Log the results to a specific XML file","rawContent":"phploc {{path/to/directory}} --log-xml {{path/to/file}}"},{"id":1828,"programId":396,"title":"Count PHPUnit test case classes and test methods","rawContent":"phploc {{path/to/directory}} --count-tests"},{"id":1829,"programId":397,"title":"Display available options for analysis","rawContent":"phpstan analyse --help"},{"id":1830,"programId":397,"title":"Analyse the specified space-separated directories","rawContent":"phpstan analyse {{path/to/directory}}"},{"id":1831,"programId":397,"title":"Analyse a directory using a configuration file","rawContent":"phpstan analyse {{path/to/directory}} --configuration {{path/to/config}}"},{"id":1832,"programId":397,"title":"Analyse using a specific rule level (0-7, higher is stricter)","rawContent":"phpstan analyse {{path/to/directory}} --level {{level}}"},{"id":1833,"programId":397,"title":"Specify an autoload file to load before analysing","rawContent":"phpstan analyse {{path/to/directory}} --autoload-file {{path/to/autoload_file}}"},{"id":1834,"programId":397,"title":"Specify a memory limit during analysis","rawContent":"phpstan analyse {{path/to/directory}} --memory-limit {{memory_limit}}"},{"id":1835,"programId":398,"title":"Run tests in the current directory. Note: Expects you to have a 'phpunit.xml'","rawContent":"phpunit"},{"id":1836,"programId":398,"title":"Run tests in a specific file","rawContent":"phpunit {{path/to/TestFile.php}}"},{"id":1837,"programId":398,"title":"Run tests annotated with the given group","rawContent":"phpunit --group {{name}}"},{"id":1838,"programId":398,"title":"Run tests and generate a coverage report in HTML","rawContent":"phpunit --coverage-html {{directory}}"},{"id":1839,"programId":399,"title":"Compress a file with default options","rawContent":"pigz {{filename}}"},{"id":1840,"programId":399,"title":"Compress a file using the best compression method","rawContent":"pigz -9 {{filename}}"},{"id":1841,"programId":399,"title":"Compress a file using no compression and 4 processors","rawContent":"pigz -0 -p{{4}} {{filename}}"},{"id":1842,"programId":399,"title":"Decompress a file","rawContent":"pigz -d {{archive.gz}}"},{"id":1843,"programId":399,"title":"List the contents of an archive","rawContent":"pigz -l {{archive.tar.gz}}"},{"id":1844,"programId":400,"title":"Ping host","rawContent":"ping {{host}}"},{"id":1845,"programId":400,"title":"Ping a host only a specific number of times","rawContent":"ping -c {{count}} {{host}}"},{"id":1846,"programId":400,"title":"Ping host, specifying the interval in seconds between requests (default is 1 second)","rawContent":"ping -i {{seconds}} {{host}}"},{"id":1847,"programId":400,"title":"Ping host without trying to lookup symbolic names for addresses","rawContent":"ping -n {{host}}"},{"id":1848,"programId":400,"title":"Ping host and ring the bell when a packet is received (if your terminal supports it)","rawContent":"ping -a {{host}}"},{"id":1849,"programId":401,"title":"Ping a host","rawContent":"ping6 {{host}}"},{"id":1850,"programId":401,"title":"Ping a host only a specific number of times","rawContent":"ping6 -c {{count}} {{host}}"},{"id":1851,"programId":401,"title":"Ping a host, specifying the interval in seconds between requests (default is 1 second)","rawContent":"ping6 -i {{seconds}} {{host}}"},{"id":1852,"programId":401,"title":"Ping a host without trying to lookup symbolic names for addresses","rawContent":"ping6 -n {{host}}"},{"id":1853,"programId":401,"title":"Ping a host and ring the bell when a packet is received (if your terminal supports it)","rawContent":"ping6 -a {{host}}"},{"id":1854,"programId":402,"title":"Install a package","rawContent":"pip install {{package_name}}"},{"id":1855,"programId":402,"title":"Install a specific version of a package","rawContent":"pip install {{package_name}}=={{package_version}}"},{"id":1856,"programId":402,"title":"Upgrade a package","rawContent":"pip install -U {{package_name}}"},{"id":1857,"programId":402,"title":"Uninstall a package","rawContent":"pip uninstall {{package_name}}"},{"id":1858,"programId":402,"title":"Save installed packages to file","rawContent":"pip freeze > {{requirements.txt}}"},{"id":1859,"programId":402,"title":"Install packages from file","rawContent":"pip install -r {{requirements.txt}}"},{"id":1860,"programId":403,"title":"Create a new project","rawContent":"pipenv"},{"id":1861,"programId":403,"title":"Create a new project using Python 3","rawContent":"pipenv --three"},{"id":1862,"programId":403,"title":"Install a package","rawContent":"pipenv install {{package_name}}"},{"id":1863,"programId":403,"title":"Install all the dependencies for a project (including dev)","rawContent":"pipenv install --dev"},{"id":1864,"programId":403,"title":"Uninstall a package","rawContent":"pipenv uninstall {{package_name}}"},{"id":1865,"programId":403,"title":"Start a shell within the created virtual environment","rawContent":"pipenv shell"},{"id":1866,"programId":404,"title":"Kill all processes which match","rawContent":"pkill -9 {{process_name}}"},{"id":1867,"programId":404,"title":"Kill all processes which match their full command instead of just the process name","rawContent":"pkill -9 -f \"{{command_name}}\""},{"id":1868,"programId":404,"title":"Send SIGUSR1 signal to processes which match","rawContent":"pkill -USR1 {{process_name}}"},{"id":1869,"programId":405,"title":"Play the given audio file","rawContent":"play {{audiofile}}"},{"id":1870,"programId":405,"title":"Play the given audio files","rawContent":"play {{audiofile1}} {{audiofile2}}"},{"id":1871,"programId":405,"title":"Play the given audio at twice the speed","rawContent":"play {{audiofile}} speed 2.0"},{"id":1872,"programId":405,"title":"Play the given audio in reverse","rawContent":"play {{audiofile}} reverse"},{"id":1873,"programId":406,"title":"Start a process with a name that can be used for later operations","rawContent":"pm2 start {{app.js}} --name {{myapp}}"},{"id":1874,"programId":406,"title":"List processes","rawContent":"pm2 list"},{"id":1875,"programId":406,"title":"Monitor all processes","rawContent":"pm2 monit"},{"id":1876,"programId":406,"title":"Stop a process","rawContent":"pm2 stop {{myapp}}"},{"id":1877,"programId":406,"title":"Restart a process","rawContent":"pm2 restart {{myapp}}"},{"id":1878,"programId":407,"title":"Compress a PNG file","rawContent":"pngcrush {{in.png}} {{out.png}}"},{"id":1879,"programId":407,"title":"Compress all PNGs and output to directory","rawContent":"pngcrush -d {{path/to/output}} *.png"},{"id":1880,"programId":407,"title":"Compress PNG file with all 114 available algorithms and pick the best result","rawContent":"pngcrush -rem allb -brute -reduce {{in.png}} {{out.png}}"},{"id":1881,"programId":408,"title":"Parse and transform a CSS file","rawContent":"postcss {{path/to/file}}"},{"id":1882,"programId":408,"title":"Parse and transform a CSS file and output to a specific file","rawContent":"postcss {{path/to/file}} --output {{path/to/file}}"},{"id":1883,"programId":408,"title":"Parse and transform a CSS file and output to a specific directory","rawContent":"postcss {{path/to/file}} --dir {{path/to/directory}}"},{"id":1884,"programId":408,"title":"Parse and transform a CSS file in-place","rawContent":"postcss {{path/to/file}} --replace"},{"id":1885,"programId":408,"title":"Specify a custom PostCSS parser","rawContent":"postcss {{path/to/file}} --parser {{parser}}"},{"id":1886,"programId":408,"title":"Specify a custom PostCSS syntax","rawContent":"postcss {{path/to/file}} --syntax {{syntax}}"},{"id":1887,"programId":408,"title":"Watch for changes to a CSS file","rawContent":"postcss {{path/to/file}} --watch"},{"id":1888,"programId":408,"title":"Display available options and examples","rawContent":"postcss --help"},{"id":1889,"programId":409,"title":"Print a text message","rawContent":"printf {{\"%s\\n\"}} {{\"Hello world\"}}"},{"id":1890,"programId":409,"title":"Print an integer in bold blue","rawContent":"printf {{\"\\e[1;34m%.3d\\e[0m\\n\"}} {{42}}"},{"id":1891,"programId":409,"title":"Print a float number with the unicode Euro sign","rawContent":"printf {{\"\\u20AC %.2f\\n\"}} {{123.4}}"},{"id":1892,"programId":409,"title":"Print a text message composed with environment variables","rawContent":"printf {{\"var1: %s\\tvar2: %s\\n\"}} {{\"$VAR1\"}} {{\"$VAR2\"}}"},{"id":1893,"programId":409,"title":"Store a formatted message in a variable (does not work on zsh)","rawContent":"printf -v {{myvar}} {{\"This is %s = %d\\n\" \"a year\" 2016}}"},{"id":1894,"programId":410,"title":"Show the status of the Prosody server","rawContent":"sudo prosodyctl status"},{"id":1895,"programId":410,"title":"Reload the server's configuration files","rawContent":"sudo prosodyctl reload"},{"id":1896,"programId":410,"title":"Add a user to the Prosody XMPP server","rawContent":"sudo prosodyctl adduser {{user@example.com}}"},{"id":1897,"programId":410,"title":"Set a user's password","rawContent":"sudo prosodyctl passwd {{user@example.com}}"},{"id":1898,"programId":410,"title":"Permanently delete a user","rawContent":"sudo prosodyctl deluser {{user@example.com}}"},{"id":1899,"programId":411,"title":"Generate Python code from a `.proto` file","rawContent":"protoc --python_out={{path/to/output_directory}} {{input_file.proto}}"},{"id":1900,"programId":411,"title":"Generate Java code from a `.proto` file that imports other `.proto` files","rawContent":"protoc --java_out={{path/to/output_directory}} --proto_path={{path/to/import_search_path}} {{input_file.proto}}"},{"id":1901,"programId":411,"title":"Generate code for multiple languages","rawContent":"protoc --csharp_out={{path/to/c#_output_directory}} --js_out={{path/to/js_output_directory}} {{input_file.proto}}"},{"id":1902,"programId":412,"title":"List all running processes","rawContent":"ps aux"},{"id":1903,"programId":412,"title":"List all running processes including the full command string","rawContent":"ps auxww"},{"id":1904,"programId":412,"title":"Search for a process that matches a string","rawContent":"ps aux | grep {{string}}"},{"id":1905,"programId":412,"title":"List all processes of the current user in extra full format","rawContent":"ps --user $(id -u) -F"},{"id":1906,"programId":412,"title":"List all processes of the current user as a tree","rawContent":"ps --user $(id -u) f"},{"id":1907,"programId":412,"title":"Get the parent pid of a process","rawContent":"ps -o ppid= -p {{pid}}"},{"id":1908,"programId":413,"title":"Connect to database. It connects to localhost using default port 5432 with default user as currently logged in user","rawContent":"psql {{database}}"},{"id":1909,"programId":413,"title":"Connect to database on given server host running on given port with given username, without a password prompt","rawContent":"psql -h {{host}} -p {{port}} -U {{username}} {{database}}"},{"id":1910,"programId":413,"title":"Connect to database; user will be prompted for password","rawContent":"psql -h {{host}} -p {{port}} -U {{username}} -W {{database}}"},{"id":1911,"programId":413,"title":"Execute a single SQL query or PostgreSQL command on the given database (useful in shell scripts)","rawContent":"psql -c '{{query}}' {{database}}"},{"id":1912,"programId":413,"title":"Execute commands from a file on the given database","rawContent":"psql {{database}} -f {{file.sql}}"},{"id":1913,"programId":414,"title":"Run a command on two hosts, and print its output on each server inline","rawContent":"pssh -i -H \"{{host1}} {{host2}}\" {{hostname -i}}"},{"id":1914,"programId":414,"title":"Run a command and save the output to separate files","rawContent":"pssh -H {{host1}} -H {{host2}} -o {{path/to/output_dir}} {{hostname -i}}"},{"id":1915,"programId":414,"title":"Run a command on multiple hosts, specified in a new-line separated file","rawContent":"pssh -i -h {{path/to/hosts_file}} {{hostname -i}}"},{"id":1916,"programId":414,"title":"Run a command as root (this asks for the root password)","rawContent":"pssh -i -h {{path/to/hosts_file}} -A -l {{root_username}} {{hostname -i}}"},{"id":1917,"programId":414,"title":"Run a command with extra SSH arguments","rawContent":"pssh -i -h {{path/to/hosts_file}} -x \"{{-O VisualHostKey=yes}}\" {{hostname -i}}"},{"id":1918,"programId":414,"title":"Run a command limiting the number of parallel connections to 10","rawContent":"pssh -i -h {{path/to/hosts_file}} -p {{10}} '{{cd dir; ./script.sh; exit}}'"},{"id":1919,"programId":415,"title":"Transform a raw HTML file into a cleaned, indented, and colored format","rawContent":"cat {{index.html}} | pup --color"},{"id":1920,"programId":415,"title":"Filter HTML by element tag name","rawContent":"cat {{index.html}} | pup '{{tag}}'"},{"id":1921,"programId":415,"title":"Filter HTML by id","rawContent":"cat {{index.html}} | pup '{{div#id}}'"},{"id":1922,"programId":415,"title":"Filter HTML by attribute value","rawContent":"cat {{index.html}} | pup '{{input[type=\"text\"]}}'"},{"id":1923,"programId":415,"title":"Print all text from the filtered HTML elements and their children","rawContent":"cat {{index.html}} | pup '{{div}} text{}'"},{"id":1924,"programId":415,"title":"Print HTML as JSON","rawContent":"cat {{index.html}} | pup '{{div}} json{}'"},{"id":1925,"programId":416,"title":"Print the contents of the file and display a progress bar","rawContent":"pv {{file}}"},{"id":1926,"programId":416,"title":"Measure the speed and amount of data flow between pipes (`-s` is optional)","rawContent":"command1 | pv -s {{expected_amount_of_data_for_eta}} | command2"},{"id":1927,"programId":416,"title":"Filter a file, see both progress and amount of output data","rawContent":"pv -cN in {{big_text_file}} | grep {{pattern}} | pv -cN out > {{filtered_file}}"},{"id":1928,"programId":416,"title":"Attach to an already running process and see its file reading progress","rawContent":"pv -d {{PID}}"},{"id":1929,"programId":416,"title":"Read an erroneous file, skip errors as `dd conv=sync,noerror` would","rawContent":"pv -EE {{path/to/faulty_media}} > image.img"},{"id":1930,"programId":416,"title":"Stop reading after reading specified amount of data, rate limit to 1K/s","rawContent":"pv -L 1K -S {{maximum_file_size_to_be_read}}"},{"id":1931,"programId":417,"title":"Print the current directory","rawContent":"pwd"},{"id":1932,"programId":417,"title":"Print the current directory, and resolve all symlinks (i.e. show the \"physical\" path)","rawContent":"pwd -P"},{"id":1933,"programId":418,"title":"Check the style of a single file","rawContent":"pycodestyle {{file.py}}"},{"id":1934,"programId":418,"title":"Check the style of multiple files","rawContent":"pycodestyle {{file1.py}} {{file2.py}} {{file3.py}}"},{"id":1935,"programId":418,"title":"Show only the first occurrence of an error","rawContent":"pycodestyle --first {{file.py}}"},{"id":1936,"programId":418,"title":"Show the source code for each error","rawContent":"pycodestyle --show-source {{file.py}}"},{"id":1937,"programId":418,"title":"Show the specific PEP 8 text for each error","rawContent":"pycodestyle --show-pep8 {{file.py}}"},{"id":1938,"programId":419,"title":"List all available commands","rawContent":"pyenv commands"},{"id":1939,"programId":419,"title":"List all Python versions under the ${PYENV_ROOT}/versions directory","rawContent":"pyenv versions"},{"id":1940,"programId":419,"title":"Install a Python version under the ${PYENV_ROOT}/versions directory","rawContent":"pyenv install {{2.7.10}}"},{"id":1941,"programId":419,"title":"Uninstall a Python version under the ${PYENV_ROOT}/versions directory","rawContent":"pyenv uninstall {{2.7.10}}"},{"id":1942,"programId":419,"title":"Set Python version to be used globally in the current machine","rawContent":"pyenv global {{2.7.10}}"},{"id":1943,"programId":419,"title":"Set Python version to be used in the current directory and all directories below it","rawContent":"pyenv local {{2.7.10}}"},{"id":1944,"programId":420,"title":"Highlight file syntax and print to standard output (language is inferred from the file extension)","rawContent":"pygmentize {{file.py}}"},{"id":1945,"programId":420,"title":"Explicitly set the language for syntax highlighting","rawContent":"pygmentize -l {{javascript}} {{input_file}}"},{"id":1946,"programId":420,"title":"List available lexers (processors for input languages)","rawContent":"pygmentize -L lexers"},{"id":1947,"programId":420,"title":"Save output to a file in HTML format","rawContent":"pygmentize -f html -o {{output_file.html}} {{input_file.py}}"},{"id":1948,"programId":420,"title":"List available output formats","rawContent":"pygmentize -L formatters"},{"id":1949,"programId":420,"title":"Output an HTML file, with additional formatter options (full page, with line numbers)","rawContent":"pygmentize -f html -O \"full,linenos=True\" -o {{output_file.html}} {{input_file}}"},{"id":1950,"programId":421,"title":"Call a Python interactive shell (REPL)","rawContent":"python"},{"id":1951,"programId":421,"title":"Execute script in a given Python file","rawContent":"python {{script.py}}"},{"id":1952,"programId":421,"title":"Execute Python language single command","rawContent":"python -c {{command}}"},{"id":1953,"programId":421,"title":"Run library module as a script (terminates option list)","rawContent":"python -m {{module}} {{arguments}}"},{"id":1954,"programId":422,"title":"Query .csv file by specifying the delimiter as ','","rawContent":"q -d',' \"SELECT * from {{path/to/file}}\""},{"id":1955,"programId":422,"title":"Query .tsv file","rawContent":"q -t \"SELECT * from {{path/to/file}}\""},{"id":1956,"programId":422,"title":"Query file with header row","rawContent":"q -d{{delimiter}} -H \"SELECT * from {{path/to/file}}\""},{"id":1957,"programId":422,"title":"Read data from stdin; '-' in the query represents the data from stdin","rawContent":"{{output}} | q \"select * from -\""},{"id":1958,"programId":422,"title":"Join two files (aliased as `f1` and `f2` in the example) on column `c1`, a common column","rawContent":"q \"SELECT * FROM {{path/to/file}} f1 JOIN {{path/to/other_file}} f2 ON (f1.c1 = f2.c1)\""},{"id":1959,"programId":422,"title":"Format output using an output delimiter with an output header line (note: command will output column names based on the input file header or the column aliases overridden in the query)","rawContent":"q -D{{delimiter}} -O \"SELECT {{column}} as {{alias}} from {{path/to/file}}\""},{"id":1960,"programId":423,"title":"Create disk image with a specific size (in gigabytes)","rawContent":"qemu-img create {{image_name.img}} {{gigabites}}G"},{"id":1961,"programId":423,"title":"Show information about a disk image","rawContent":"qemu-img info {{image_name.img}}"},{"id":1962,"programId":423,"title":"Increase or decrease image size","rawContent":"qemu-img resize {{image_name.img}} {{gigabites}}G"},{"id":1963,"programId":423,"title":"Dump the allocation state of every sector of the specified disk image","rawContent":"qemu-img map {{image_name.img}}"},{"id":1964,"programId":424,"title":"Boot from image emulating i386 architecture","rawContent":"qemu-system-i386 -hda {{image_name.img}}"},{"id":1965,"programId":424,"title":"Boot from image emulating x64 architecture","rawContent":"qemu-system-x86_64 -hda {{image_name.img}}"},{"id":1966,"programId":424,"title":"Boot QEMU instance with a live ISO image","rawContent":"qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d"},{"id":1967,"programId":424,"title":"Specify amount of RAM for instance","rawContent":"qemu-system-i386 -m 256 -hda image_name.img -cdrom os-image.iso -boot d"},{"id":1968,"programId":424,"title":"Boot from physical device (e.g. from USB to test bootable medium)","rawContent":"qemu-system-i386 -hda /dev/{{storage_device}}"},{"id":1969,"programId":425,"title":"Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one","rawContent":"qpdf --empty --pages {{input.pdf}} {{1-3,5,6-10}} -- {{output.pdf}}"},{"id":1970,"programId":425,"title":"Merge (concatenate) a list of PDF files and save the result as another one","rawContent":"qpdf --empty --pages {{file1.pdf}} {{1,6-8}} --pages {{file2.pdf}} {{3,4,5}} -- {{output.pdf}}"},{"id":1971,"programId":425,"title":"Write each group of n pages to a separate output file with a given filename pattern","rawContent":"qpdf --split-pages=n {{input.pdf}} {{out_%d.pdf}}"},{"id":1972,"programId":425,"title":"Rotate certain pages of a pdf with a given angle","rawContent":"qpdf --rotate={{90:2,4,6}} --rotate={{180:7-8}} {{input.pdf}} {{output.pdf}}"},{"id":1973,"programId":425,"title":"Remove the password from a password protected file","rawContent":"qpdf --password={{password}} --decrypt {{input.pdf}} {{output.pdf}}"},{"id":1974,"programId":426,"title":"Show disk quotas in human readable units for the current user","rawContent":"quota -s"},{"id":1975,"programId":426,"title":"Verbose output (also display quotas on filesystems where no storage is allocated)","rawContent":"quota -v"},{"id":1976,"programId":426,"title":"Quiet output (only display quotas on filesystems where usage is over quota)","rawContent":"quota -q"},{"id":1977,"programId":426,"title":"Print quotas for the groups of which the current user is a member","rawContent":"quota -g"},{"id":1978,"programId":426,"title":"Show disk quotas for another user","rawContent":"sudo quota -u {{username}}"},{"id":1979,"programId":427,"title":"Start an R interactive shell (REPL)","rawContent":"R"},{"id":1980,"programId":427,"title":"Check R version","rawContent":"R --version"},{"id":1981,"programId":427,"title":"Execute a file","rawContent":"R -f {{file.R}}"},{"id":1982,"programId":428,"title":"Display general information about a binary (architecture, type, endianness)","rawContent":"rabin2 -I {{path/to/binary}}"},{"id":1983,"programId":428,"title":"Display linked libraries","rawContent":"rabin2 -l {{path/to/binary}}"},{"id":1984,"programId":428,"title":"Display symbols imported from libraries","rawContent":"rabin2 -i {{path/to/binary}}"},{"id":1985,"programId":428,"title":"Display strings contained in the binary","rawContent":"rabin2 -z {{path/to/binary}}"},{"id":1986,"programId":428,"title":"Display the output in JSON","rawContent":"rabin2 -j -I {{path/to/binary}}"},{"id":1987,"programId":429,"title":"Create a new rails project","rawContent":"rails new \"{{project_name}}\""},{"id":1988,"programId":429,"title":"Start local server for current project on port 3000","rawContent":"rails server"},{"id":1989,"programId":429,"title":"Start local server for current project on a specified port","rawContent":"rails server -p \"{{port}}\""},{"id":1990,"programId":429,"title":"Open console to interact with application from command line","rawContent":"rails console"},{"id":1991,"programId":429,"title":"Check current version of rails","rawContent":"rails --version"},{"id":1992,"programId":430,"title":"Open rainbowstream","rawContent":"rainbowstream"},{"id":1993,"programId":430,"title":"Show your timeline (optional number of tweets to display, default is 5)","rawContent":"home [{{num_of_last_tweets}}]"},{"id":1994,"programId":430,"title":"Show profile of a given user","rawContent":"whois @{{user}}"},{"id":1995,"programId":430,"title":"Tweet the message as-is","rawContent":"t {{message}}"},{"id":1996,"programId":430,"title":"Retweet the tweet with given id (id is beside the time)","rawContent":"rt {{tweet_id}}"},{"id":1997,"programId":430,"title":"Favorite the tweet with given id","rawContent":"fav {{tweet_id}}"},{"id":1998,"programId":430,"title":"Perform a search for a given word (with or without hashtag)","rawContent":"s {{word}}"},{"id":1999,"programId":431,"title":"Start rbash","rawContent":"rbash"},{"id":2000,"programId":431,"title":"Execute a command","rawContent":"rbash -c \"{{command}}\""},{"id":2001,"programId":431,"title":"Run commands from a file","rawContent":"rbash {{file.sh}}"},{"id":2002,"programId":431,"title":"Print the version information of rbash","rawContent":"rbash --version"},{"id":2003,"programId":432,"title":"Install one or more space-separated versions of Ruby","rawContent":"rbenv install {{version(s)}}"},{"id":2004,"programId":432,"title":"Display a list of installed versions","rawContent":"rbenv versions"},{"id":2005,"programId":432,"title":"Use a specific version of Ruby across the whole system","rawContent":"rbenv global {{version}}"},{"id":2006,"programId":432,"title":"Use a specific version of Ruby for an application/project folder","rawContent":"rbenv local {{version}}"},{"id":2007,"programId":432,"title":"Show the currently selected Ruby version","rawContent":"rbenv version"},{"id":2008,"programId":432,"title":"Uninstall a version of Ruby","rawContent":"rbenv uninstall {{version}}"},{"id":2009,"programId":432,"title":"Display all ruby versions that contain the specified executable","rawContent":"rbenv whence {{executable}}"},{"id":2010,"programId":433,"title":"Store data that you type from the keyboard","rawContent":"read {{variable}}"},{"id":2011,"programId":433,"title":"Store each of the next lines you enter as values of an array","rawContent":"read -a {{array}}"},{"id":2012,"programId":433,"title":"Enable backspace and GNU readline hotkeys when entering input with read","rawContent":"read -e {{variable}}"},{"id":2013,"programId":433,"title":"Specify the number of maximum characters to be read","rawContent":"read -n {{character_count}} {{variable}}"},{"id":2014,"programId":433,"title":"Use a specific character as a delimiter instead of a new line","rawContent":"read -d {{new_delimiter}} {{variable}}"},{"id":2015,"programId":433,"title":"Do not let backslash (\\) act as an escape character","rawContent":"read -r {{variable}}"},{"id":2016,"programId":434,"title":"Get the actual file to which the symlink points","rawContent":"readlink {{filename}}"},{"id":2017,"programId":434,"title":"Get the absolute path to a file","rawContent":"readlink -f {{filename}}"},{"id":2018,"programId":435,"title":"Connect to the local server","rawContent":"redis-cli"},{"id":2019,"programId":435,"title":"Connect to a remote server on the default port (6379)","rawContent":"redis-cli -h {{host}}"},{"id":2020,"programId":435,"title":"Connect to a remote server specifying a port number","rawContent":"redis-cli -h {{host}} -p {{port}}"},{"id":2021,"programId":435,"title":"Specify a password","rawContent":"redis-cli -a {{password}}"},{"id":2022,"programId":435,"title":"Execute Redis command","rawContent":"redis-cli {{redis_command}}"},{"id":2023,"programId":436,"title":"Turn on Redshift with 5700K temperature during day and 3600K at night","rawContent":"redshift -t {{5700}}:{{3600}}"},{"id":2024,"programId":436,"title":"Turn on Redshift with a manually-specified custom location","rawContent":"redshift -l {{latitude}}:{{longitude}}"},{"id":2025,"programId":436,"title":"Turn on Redshift with 70% screen brightness during day and 40% brightness at night","rawContent":"redshift -b {{0.7}}:{{0.4}}"},{"id":2026,"programId":436,"title":"Turn on Redshift with custom gamma levels (between 0 and 1)","rawContent":"redshift -g {{red}}:{{green}}:{{blue}}"},{"id":2027,"programId":436,"title":"Turn on Redshift with a constant unchanging color temperature","rawContent":"redshift -O {{temperature}}"},{"id":2028,"programId":437,"title":"Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found)","rawContent":"rename {{'s/foo/bar/'}} {{\\*}}"},{"id":2029,"programId":437,"title":"Dry-run - display which renames would occur without performing them","rawContent":"rename -n {{'s/foo/bar/'}} {{\\*}}"},{"id":2030,"programId":437,"title":"Force renaming even if the operation would overwrite existing files","rawContent":"rename -f {{'s/foo/bar/'}} {{\\*}}"},{"id":2031,"programId":437,"title":"Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent \"already exists\" errors)","rawContent":"rename 'y/A-Z/a-z/' {{\\*}}"},{"id":2032,"programId":437,"title":"Replace whitespace with underscores","rawContent":"rename 's/\\s+/_/g' {{\\*}}"},{"id":2033,"programId":438,"title":"Change priority of a running process","rawContent":"renice -n {{niceness_value}} -p {{pid}}"},{"id":2034,"programId":438,"title":"Change priority of all processes owned by a user","rawContent":"renice -n {{niceness_value}} -u {{user}}"},{"id":2035,"programId":438,"title":"Change priority of all processes that belongs to a group","rawContent":"renice -n {{niceness_value}} -g {{group}}"},{"id":2036,"programId":439,"title":"Do a dry-run renaming a folder of pngs with a literal string replacement","rawContent":"repren --dry-run --rename --literal --from '{{find_string}}' --to '{{replacement_string}}' {{*.png}}"},{"id":2037,"programId":439,"title":"Do a dry-run renaming a folder of jpegs with a regular expression","rawContent":"repren --rename --dry-run --from '{{regular_expression}}' --to '{{replacement_string}}' {{*.jpg}} {{*.jpeg}}"},{"id":2038,"programId":439,"title":"Do a find-and-replace on the contents of a folder of csv files","rawContent":"repren --from '{{([0-9]+) example_string}}' --to '{{replacement_string \\1}}' {{*.csv}}"},{"id":2039,"programId":439,"title":"Do both a find-and-replace and a rename operation at the same time, using a pattern file","rawContent":"repren --patterns {{path/to/patfile.ext}} --full {{*.txt}}"},{"id":2040,"programId":439,"title":"Do a case-insensitive rename","rawContent":"repren --rename --insensitive --patterns {{path/to/patfile.ext}} *"},{"id":2041,"programId":440,"title":"Initialize a backup repository in the specified local directory","rawContent":"restic init -r {{path/to/repository}}"},{"id":2042,"programId":440,"title":"Backup folder \"my_folder\" to the repository","rawContent":"restic -r {{path/to/repository}} backup {{path/to/my_folder}}"},{"id":2043,"programId":440,"title":"Show backup snapshots currently stored in the repository","rawContent":"restic -r {{path/to/repository}} snapshots"},{"id":2044,"programId":440,"title":"Restore a specific backup snapshot to a target directory","rawContent":"restic -r {{path/to/repository}} restore {{snapshot_id}} {{path/to/target}}"},{"id":2045,"programId":440,"title":"Clean up the repository and keep only the most recent snapshot of each unique backup","rawContent":"restic forget --keep-last 1 --prune"},{"id":2046,"programId":441,"title":"Reverse the text string \"hello\"","rawContent":"echo \"hello\" | rev"},{"id":2047,"programId":441,"title":"Reverse an entire file and print to stdout","rawContent":"rev {{file}}"},{"id":2048,"programId":442,"title":"Recursively search the current directory for a regex pattern","rawContent":"rg {{pattern}}"},{"id":2049,"programId":442,"title":"Search for pattern including all .gitignored and hidden files","rawContent":"rg -uu {{pattern}}"},{"id":2050,"programId":442,"title":"Search for a pattern only in a certain filetype (e.g., html, css, etc.)","rawContent":"rg -t {{filetype}} {{pattern}}"},{"id":2051,"programId":442,"title":"Search for a pattern only in a subset of directories","rawContent":"rg {{pattern}} {{set_of_subdirs}}"},{"id":2052,"programId":442,"title":"Search for a pattern in files matching a glob (e.g., `README.*`)","rawContent":"rg {{pattern}} -g {{glob}}"},{"id":2053,"programId":443,"title":"Remove files from arbitrary locations","rawContent":"rm {{path/to/file}} {{path/to/another/file}}"},{"id":2054,"programId":443,"title":"Recursively remove a directory and all its subdirectories","rawContent":"rm -r {{path/to/folder}}"},{"id":2055,"programId":443,"title":"Forcibly remove a directory, without prompting for confirmation or showing error messages","rawContent":"rm -rf {{path/to/folder}}"},{"id":2056,"programId":443,"title":"Interactively remove multiple files, with a prompt before every removal","rawContent":"rm -i {{file(s)}}"},{"id":2057,"programId":443,"title":"Remove files in verbose mode, printing a message for each removed file","rawContent":"rm -v {{path/to/folder/*}}"},{"id":2058,"programId":444,"title":"Remove directory, provided it is empty. Use `rm` to remove not empty directories","rawContent":"rmdir {{path/to/directory}}"},{"id":2059,"programId":444,"title":"Remove directories recursively (useful for nested dirs)","rawContent":"rmdir -p {{path/to/directory}}"},{"id":2060,"programId":445,"title":"Roll 3 6-sided dice and sums the results","rawContent":"roll {{3d}}"},{"id":2061,"programId":445,"title":"Roll 1 8-sided die, add 3 and sum the results","rawContent":"roll {{d8 + 3}}"},{"id":2062,"programId":445,"title":"Roll 4 6-sided dice, keep the 3 highest results and sum the results","rawContent":"roll {{4d6h3}}"},{"id":2063,"programId":445,"title":"Roll 2 12-sided dice 2 times and show every roll","rawContent":"roll --verbose {{2{2d12}}}"},{"id":2064,"programId":445,"title":"Roll 2 20-sided dice until the result is bigger than 10","rawContent":"roll \"{{2d20>10}}\""},{"id":2065,"programId":445,"title":"Roll 2 5-sided dice 3 times and show the total sum","rawContent":"roll --sum-series {{3{2d5}}}"},{"id":2066,"programId":446,"title":"Display the information of route table","rawContent":"route -n"},{"id":2067,"programId":446,"title":"Add route rule","rawContent":"sudo route add -net {{ip_address}} netmask {{netmask_address}} gw {{gw_address}}"},{"id":2068,"programId":446,"title":"Delete route rule","rawContent":"sudo route del -net {{ip_address}} netmask {{netmask_address}} dev {{gw_address}}"},{"id":2069,"programId":447,"title":"Transfer file from local to remote host","rawContent":"rsync {{path/to/file}} {{remote_host_name}}:{{remote_host_location}}"},{"id":2070,"programId":447,"title":"Transfer file from remote host to local","rawContent":"rsync {{remote_host_name}}:{{remote_file_location}} {{local_file_location}}"},{"id":2071,"programId":447,"title":"Transfer file in archive (to preserve attributes) and compressed (zipped) mode","rawContent":"rsync -az {{path/to/file}} {{remote_host_name}}:{{remote_host_location}}"},{"id":2072,"programId":447,"title":"Transfer a directory and all its children from a remote to local","rawContent":"rsync -r {{remote_host_name}}:{{remote_folder_location}} {{local_folder_location}}"},{"id":2073,"programId":447,"title":"Transfer only updated files from remote host","rawContent":"rsync -ru {{remote_host_name}}:{{remote_folder_location}} {{local_folder_location}}"},{"id":2074,"programId":447,"title":"Transfer file over SSH and show progress per file","rawContent":"rsync -e ssh --progress {{remote_host_name}}:{{remote_file}} {{local_file}}"},{"id":2075,"programId":447,"title":"Transfer file over SSH and show global progress","rawContent":"rsync -e ssh --info=progress2 {{remote_host_name}}:{{remote_file}} {{local_file}}"},{"id":2076,"programId":448,"title":"Open the front page","rawContent":"/front"},{"id":2077,"programId":448,"title":"Open a subreddit","rawContent":"/r/{{subreddit_name}}"},{"id":2078,"programId":448,"title":"Expand/collapse comments","rawContent":"[space]"},{"id":2079,"programId":448,"title":"Open link","rawContent":"o"},{"id":2080,"programId":448,"title":"Login","rawContent":"u"},{"id":2081,"programId":448,"title":"Open the help screen","rawContent":"?"},{"id":2082,"programId":449,"title":"Open an Interactive Ruby Shell (REPL)","rawContent":"irb"},{"id":2083,"programId":449,"title":"Execute a Ruby script","rawContent":"ruby {{script.rb}}"},{"id":2084,"programId":449,"title":"Execute a single Ruby command in the command line","rawContent":"ruby -e {{command}}"},{"id":2085,"programId":449,"title":"Check for syntax errors on a given Ruby script","rawContent":"ruby -c {{script.rb}}"},{"id":2086,"programId":449,"title":"Show the version of Ruby you are using","rawContent":"ruby -v"},{"id":2087,"programId":450,"title":"Compile a single file","rawContent":"rustc {{file.rs}}"},{"id":2088,"programId":450,"title":"Compile with high optimization","rawContent":"rustc -O {{file.rs}}"},{"id":2089,"programId":450,"title":"Compile with debugging information","rawContent":"rustc -g {{file.rs}}"},{"id":2090,"programId":451,"title":"Install the nightly toolchain for your system","rawContent":"rustup install nightly"},{"id":2091,"programId":451,"title":"Switch the default toolchain to nightly so that the `cargo` and `rustc` commands will use it","rawContent":"rustup default nightly"},{"id":2092,"programId":451,"title":"Use the nightly toolchain when inside the current project, but leave global settings unchanged","rawContent":"rustup override set nightly"},{"id":2093,"programId":451,"title":"Update all toolchains","rawContent":"rustup update"},{"id":2094,"programId":451,"title":"List installed toolchains","rawContent":"rustup show"},{"id":2095,"programId":451,"title":"Run cargo build with a certain toolchain","rawContent":"rustup run {{toolchain_name}} cargo build"},{"id":2096,"programId":452,"title":"Install one or more space-separated versions of Ruby","rawContent":"rvm install {{version(s)}}"},{"id":2097,"programId":452,"title":"Display a list of installed versions","rawContent":"rvm list"},{"id":2098,"programId":452,"title":"Use a specific version of Ruby","rawContent":"rvm use {{version}}"},{"id":2099,"programId":452,"title":"Set the default Ruby version","rawContent":"rvm --default use {{version}}"},{"id":2100,"programId":452,"title":"Upgrade a version of Ruby to a new version","rawContent":"rvm upgrade {{current_version}} {{new_version}}"},{"id":2101,"programId":452,"title":"Uninstall a version of Ruby and keep its sources","rawContent":"rvm uninstall {{version}}"},{"id":2102,"programId":452,"title":"Remove a version of Ruby and its sources","rawContent":"rvm remove {{version}}"},{"id":2103,"programId":453,"title":"Search for a query on Google(default provider)","rawContent":"s {{query}}"},{"id":2104,"programId":453,"title":"List all providers","rawContent":"s --list-providers"},{"id":2105,"programId":453,"title":"Search for a query with a given provider","rawContent":"s --provider {{provider}} {{query}}"},{"id":2106,"programId":453,"title":"Use a specified binary to perform the search query","rawContent":"s --binary \"{{binary}} {{arguments}}\" {{query}}"},{"id":2107,"programId":454,"title":"Start Sails","rawContent":"sails lift"},{"id":2108,"programId":454,"title":"Create new Sails project","rawContent":"sails new {{projectName}}"},{"id":2109,"programId":454,"title":"Generate Sails API","rawContent":"sails generate {{name}}"},{"id":2110,"programId":454,"title":"Generate Sails Controller","rawContent":"sails generate controller {{name}}"},{"id":2111,"programId":454,"title":"Generate Sails Model","rawContent":"sails generate model {{name}}"},{"id":2112,"programId":455,"title":"Perform a highstate on this minion","rawContent":"salt-call state.highstate"},{"id":2113,"programId":455,"title":"Perform a highstate dry-run, compute all changes but don't actually perform them","rawContent":"salt-call state.highstate test=true"},{"id":2114,"programId":455,"title":"Perform a highstate with verbose debugging output","rawContent":"salt-call -l debug state.highstate"},{"id":2115,"programId":455,"title":"List this minion's grains","rawContent":"salt-call grains.items"},{"id":2116,"programId":456,"title":"List all accepted, unaccepted and rejected minion keys","rawContent":"salt-key -L"},{"id":2117,"programId":456,"title":"Accept a minion key by name","rawContent":"salt-key -a {{MINION_ID}}"},{"id":2118,"programId":456,"title":"Reject a minion key by name","rawContent":"salt-key -r {{MINION_ID}}"},{"id":2119,"programId":456,"title":"Print fingerprints of all public keys","rawContent":"salt-key -F"},{"id":2120,"programId":457,"title":"Show status of all minions","rawContent":"salt-run manage.status"},{"id":2121,"programId":457,"title":"Show all minions which are disconnected","rawContent":"salt-run manage.up"},{"id":2122,"programId":458,"title":"List connected minions","rawContent":"salt '*' test.ping"},{"id":2123,"programId":458,"title":"Execute a highstate on all connected minions","rawContent":"salt '*' state.highstate"},{"id":2124,"programId":458,"title":"Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions","rawContent":"salt '*.domain.com' pkg.upgrade"},{"id":2125,"programId":458,"title":"Execute an arbitrary command on a particular minion","rawContent":"salt '{{minion_id}}' cmd.run \"ls \""},{"id":2126,"programId":459,"title":"Convert a SAM input file to BAM stream and save to file","rawContent":"samtools view -S -b {{input.sam}} > {{output.bam}}"},{"id":2127,"programId":459,"title":"Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to stdout","rawContent":"{{other_command}} | samtools view -h - chromosome:start-end"},{"id":2128,"programId":459,"title":"Sort file and save to BAM (the output format is automatically determined from the output file's extension)","rawContent":"samtools sort {{input}} -o {{output.bam}}"},{"id":2129,"programId":459,"title":"Index a sorted BAM file (creates {{sorted_input.bam.bai}})","rawContent":"samtools index {{sorted_input.bam}}"},{"id":2130,"programId":459,"title":"Print alignment statistics about a file","rawContent":"samtools flagstat {{sorted_input}}"},{"id":2131,"programId":459,"title":"Count alignments to each index (chromosome / contig)","rawContent":"samtools idxstats {{sorted_indexed_input}}"},{"id":2132,"programId":459,"title":"Merge multiple files","rawContent":"samtools merge {{output}} {{input_1}} [{{input_2}}...]"},{"id":2133,"programId":459,"title":"Split input file according to read groups","rawContent":"samtools split {{merged_input}}"},{"id":2134,"programId":460,"title":"Convert a SCSS or Sass file to CSS and print out the result","rawContent":"sass {{inputfile.scss|inputfile.sass}}"},{"id":2135,"programId":460,"title":"Convert a SCSS or Sass file to CSS and save the result to a file","rawContent":"sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}"},{"id":2136,"programId":460,"title":"Watch a SCSS or Sass file for changes and output or update the CSS file with same filename","rawContent":"sass --watch {{inputfile.scss|inputfile.sass}}"},{"id":2137,"programId":460,"title":"Watch a SCSS or Sass file for changes and output or update the CSS file with the given filename","rawContent":"sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}"},{"id":2138,"programId":461,"title":"Start a Scala interactive shell (REPL)","rawContent":"scala"},{"id":2139,"programId":461,"title":"Execute a Scala script","rawContent":"scala {{script.scala}}"},{"id":2140,"programId":461,"title":"Execute a .jar program","rawContent":"scala {{filename.jar}}"},{"id":2141,"programId":461,"title":"Execute a single Scala command in the command line","rawContent":"scala -e {{command}}"},{"id":2142,"programId":462,"title":"Copy a local file to a remote host","rawContent":"scp {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}"},{"id":2143,"programId":462,"title":"Copy a file from a remote host to a local folder","rawContent":"scp {{remote_host}}:{{path/to/remote_file}} {{path/to/local_dir}}"},{"id":2144,"programId":462,"title":"Recursively copy the contents of a directory from a remote host to a local directory","rawContent":"scp -r {{remote_host}}:{{path/to/remote_dir}} {{path/to/local_dir}}"},{"id":2145,"programId":462,"title":"Copy a file between two remote hosts transferring through the local host","rawContent":"scp -3 {{host1}}:{{path/to/remote_file}} {{host2}}:{{path/to/remote_dir}}"},{"id":2146,"programId":462,"title":"Use a specific username when connecting to the remote host","rawContent":"scp {{path/to/local_file}} {{remote_username}}@{{remote_host}}:{{path/to/remote_dir}}"},{"id":2147,"programId":462,"title":"Use a specific ssh private key for authentication with the remote host","rawContent":"scp -i {{~/.ssh/private_key}} {{local_file}} {{remote_host}}:{{/path/remote_file}}"},{"id":2148,"programId":463,"title":"Create a project","rawContent":"scrapy startproject {{project_name}}"},{"id":2149,"programId":463,"title":"Create a spider (in project directory)","rawContent":"scrapy genspider {{spider_name}} {{website_domain}}"},{"id":2150,"programId":463,"title":"Edit spider (in project directory)","rawContent":"scrapy edit {{spider_name}}"},{"id":2151,"programId":463,"title":"Run spider (in project directory)","rawContent":"scrapy crawl {{spider_name}}"},{"id":2152,"programId":463,"title":"Fetch a webpage as scrapy sees it and print source in stdout","rawContent":"scrapy fetch {{url}}"},{"id":2153,"programId":463,"title":"Open a webpage in the default browser as scrapy sees it (disable javascript for extra fidelity)","rawContent":"scrapy view {{url}}"},{"id":2154,"programId":463,"title":"Open scrapy shell for url, which allows interaction with the page source in python shell (or ipython if available)","rawContent":"scrapy shell {{url}}"},{"id":2155,"programId":464,"title":"Start a new screen session","rawContent":"screen"},{"id":2156,"programId":464,"title":"Start a new named screen session","rawContent":"screen -S {{session_name}}"},{"id":2157,"programId":464,"title":"Start a new daemon and log the output to screenlog.x","rawContent":"screen -dmLS {{session_name}} {{command}}"},{"id":2158,"programId":464,"title":"Show open screen sessions","rawContent":"screen -ls"},{"id":2159,"programId":464,"title":"Reattach to an open screen","rawContent":"screen -r {{session_name}}"},{"id":2160,"programId":464,"title":"Detach from inside a screen","rawContent":"Ctrl + A, D"},{"id":2161,"programId":464,"title":"Kill a detached screen","rawContent":"screen -X -S {{session_name}} quit"},{"id":2162,"programId":465,"title":"Start screenfetch","rawContent":"screenfetch"},{"id":2163,"programId":465,"title":"Take a screenshot (requires 'scrot')","rawContent":"screenfetch -s"},{"id":2164,"programId":465,"title":"Specify distribution logo","rawContent":"screenfetch -A '{{distribution_name}}'"},{"id":2165,"programId":465,"title":"Specify distribution logo and text","rawContent":"screenfetch -D '{{distribution_name}}'"},{"id":2166,"programId":465,"title":"Strip all color","rawContent":"screenfetch -N"},{"id":2167,"programId":466,"title":"Replace the first occurrence of a string in a file, and print the result","rawContent":"sed 's/{{find}}/{{replace}}/' {{filename}}"},{"id":2168,"programId":466,"title":"Replace all occurrences of an extended regular expression in a file","rawContent":"sed -r 's/{{regex}}/{{replace}}/g' {{filename}}"},{"id":2169,"programId":466,"title":"Replace all occurrences of a string in a file, overwriting the file (i.e. in-place)","rawContent":"sed -i 's/{{find}}/{{replace}}/g' {{filename}}"},{"id":2170,"programId":466,"title":"Replace only on lines matching the line pattern","rawContent":"sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}"},{"id":2171,"programId":466,"title":"Print only text between n-th line till the next empty line","rawContent":"sed -n '{{line_number}},/^$/p' {{filename}}"},{"id":2172,"programId":466,"title":"Apply multiple find-replace expressions to a file","rawContent":"sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}"},{"id":2173,"programId":466,"title":"Replace separator / by any other character not used in the find or replace patterns, e.g., #","rawContent":"sed 's#{{find}}#{{replace}}#' {{filename}}"},{"id":2174,"programId":467,"title":"Send a message with the content of message.txt to the mail folder of local user `user_name`","rawContent":"sendmail {{user_name}} < {{message.txt}}"},{"id":2175,"programId":467,"title":"Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`","rawContent":"sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{message.txt}}"},{"id":2176,"programId":467,"title":"Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip`","rawContent":"sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}"},{"id":2177,"programId":468,"title":"Sequence from 1 to 10","rawContent":"seq 10"},{"id":2178,"programId":468,"title":"Every 3rd number from 5 to 20","rawContent":"seq 5 3 20"},{"id":2179,"programId":468,"title":"Separate the output with a space instead of a newline","rawContent":"seq -s \" \" 5 3 20"},{"id":2180,"programId":469,"title":"Create a serverless project","rawContent":"serverless create"},{"id":2181,"programId":469,"title":"Create a serverless project from a template","rawContent":"serverless create --template {{template_name}}"},{"id":2182,"programId":469,"title":"Deploy to a cloud provider","rawContent":"serverless deploy"},{"id":2183,"programId":469,"title":"Display information about a serverless project","rawContent":"serverless info"},{"id":2184,"programId":469,"title":"Invoke a deployed function","rawContent":"serverless invoke -f {{function_name}}"},{"id":2185,"programId":469,"title":"Follow the logs for a project","rawContent":"serverless logs -t"},{"id":2186,"programId":470,"title":"Connect to a remote server and enter an interactive command mode","rawContent":"sftp {{remote_user}}@{{remote_host}}"},{"id":2187,"programId":470,"title":"Connect using an alternate port","rawContent":"sftp -P {{remote_port}} {{remote_user}}@{{remote_host}}"},{"id":2188,"programId":470,"title":"Transfer remote file to the local system","rawContent":"get {{/path/remote_file}}"},{"id":2189,"programId":470,"title":"Transfer local file to the remote system","rawContent":"put {{/path/local_file}}"},{"id":2190,"programId":470,"title":"Transfer remote folder to the local system recursively (works with `put` too)","rawContent":"get -R {{/path/remote_folder}}"},{"id":2191,"programId":470,"title":"Get list of files on local machine","rawContent":"lls"},{"id":2192,"programId":470,"title":"Get list of files on remote machine","rawContent":"ls"},{"id":2193,"programId":471,"title":"Start interactive shell","rawContent":"sh"},{"id":2194,"programId":471,"title":"Execute a command","rawContent":"sh -c {{command}}"},{"id":2195,"programId":471,"title":"Run commands from a file","rawContent":"sh {{file.sh}}"},{"id":2196,"programId":471,"title":"Run commands from STDIN","rawContent":"sh -s"},{"id":2197,"programId":472,"title":"Compile a shell script","rawContent":"shc -f {{script}}"},{"id":2198,"programId":472,"title":"Compile a shell script and specify an output binary file","rawContent":"shc -f {{script}} -o {{binary}}"},{"id":2199,"programId":472,"title":"Compile a shell script and set an expiration date for the executable","rawContent":"shc -f {{script}} -e {{dd/mm/yyyy}}"},{"id":2200,"programId":472,"title":"Compile a shell script and set a message to display upon expiration","rawContent":"shc -f {{script}} -e {{dd/mm/yyyy}} -m {{\"Please contact your provider\"}}"},{"id":2201,"programId":473,"title":"Check a shell script","rawContent":"shellcheck {{file.sh}}"},{"id":2202,"programId":473,"title":"Override script's shebang","rawContent":"shellcheck --shell {{sh|bash|ksh}} {{file.sh}}"},{"id":2203,"programId":473,"title":"Ignore certain errors","rawContent":"shellcheck --exclude {{SC1009}} {{file.sh}}"},{"id":2204,"programId":473,"title":"Ignore multiple errors","rawContent":"shellcheck --exclude {{SC1009,SC1073}} {{file.sh}}"},{"id":2205,"programId":474,"title":"List of all settable options and whether they are set","rawContent":"shopt"},{"id":2206,"programId":474,"title":"Set an option","rawContent":"shopt -s {{option_name}}"},{"id":2207,"programId":474,"title":"Unset an option","rawContent":"shopt -u {{option_name}}"},{"id":2208,"programId":474,"title":"Print a list of all options and their status formatted as runnable `shopt` commands","rawContent":"shopt -p"},{"id":2209,"programId":474,"title":"Show help for the command","rawContent":"help shopt"},{"id":2210,"programId":475,"title":"Overwrite a file","rawContent":"shred {{file}}"},{"id":2211,"programId":475,"title":"Overwrite a file, leaving zeroes instead of random data","rawContent":"shred --zero {{file}}"},{"id":2212,"programId":475,"title":"Overwrite a file 25 times","rawContent":"shred -n25 {{file}}"},{"id":2213,"programId":475,"title":"Overwrite a file and remove it","rawContent":"shred --remove {{file}}"},{"id":2214,"programId":476,"title":"Download a remote image","rawContent":"singularity pull --name {{container.simg}} {{shub://vsoch/hello-world}}"},{"id":2215,"programId":476,"title":"Rebuild a remote image using latest Singularity image format","rawContent":"singularity build {{container.simg}} {{docker://godlovedc/lolcow}}"},{"id":2216,"programId":476,"title":"Start a container from an image and get a shell inside of it","rawContent":"singularity shell {{container.simg}}"},{"id":2217,"programId":476,"title":"Start a container from an image and run a command","rawContent":"singularity exec {{container.simg}} {{command}}"},{"id":2218,"programId":476,"title":"Start a container from an image and execute the internal runscript","rawContent":"singularity run {{container.simg}}"},{"id":2219,"programId":476,"title":"Build a singularity image from a recipe file","rawContent":"sudo singularity build {{container.simg}} {{recipe}}"},{"id":2220,"programId":477,"title":"Upload a file/folder to Google Drive","rawContent":"skicka upload {{path/to/local}} {{path/to/remote}}"},{"id":2221,"programId":477,"title":"Download a file/folder from Google Drive","rawContent":"skicka download {{path/to/remote}} {{path/to/local}}"},{"id":2222,"programId":477,"title":"List files","rawContent":"skicka ls {{path/to/folder}}"},{"id":2223,"programId":477,"title":"Show amount of space used by children folders","rawContent":"skicka du {{path/to/parent/folder}}"},{"id":2224,"programId":477,"title":"Create a folder","rawContent":"skicka mkdir {{path/to/folder}}"},{"id":2225,"programId":477,"title":"Delete a file","rawContent":"skicka rm {{path/to/file}}"},{"id":2226,"programId":478,"title":"Let a steam locomotive run through your terminal","rawContent":"sl"},{"id":2227,"programId":478,"title":"The train burns, people scream","rawContent":"sl -a"},{"id":2228,"programId":478,"title":"Let the train fly","rawContent":"sl -F"},{"id":2229,"programId":478,"title":"Make the train little","rawContent":"sl -l"},{"id":2230,"programId":478,"title":"Let the user exit (CTRL + C)","rawContent":"sl -e"},{"id":2231,"programId":479,"title":"Post a file to Slack","rawContent":"slackcat --channel {{channel_name}} {{path/to/file}}"},{"id":2232,"programId":479,"title":"Post a file to Slack with a custom filename","rawContent":"slackcat --channel {{channel_name}} --filename={{filename}} {{path/to/file}}"},{"id":2233,"programId":479,"title":"Pipe command output to Slack as a text snippet","rawContent":"{{command}} | slackcat --channel {{channel_name}} --filename={{snippet_name}}"},{"id":2234,"programId":479,"title":"Stream command output to Slack continuously","rawContent":"{{command}} | slackcat --channel {{channel_name}} --stream"},{"id":2235,"programId":480,"title":"Delay in seconds","rawContent":"sleep {{seconds}}"},{"id":2236,"programId":480,"title":"Delay in minutes","rawContent":"sleep {{minutes}}m"},{"id":2237,"programId":480,"title":"Delay in hours","rawContent":"sleep {{hours}}h"},{"id":2238,"programId":481,"title":"Convert a Slim file to HTML","rawContent":"slimrb {{input.slim}} {{output.html}}"},{"id":2239,"programId":481,"title":"Convert a Slim file and output to prettified HTML","rawContent":"slimrb --pretty {{input.slim}} {{output.html}}"},{"id":2240,"programId":481,"title":"Convert a Slim file to ERB","rawContent":"slimrb --erb {{input.slim}} {{output.erb}}"},{"id":2241,"programId":482,"title":"View SMART health summary","rawContent":"sudo smartctl --health {{/dev/sda}}"},{"id":2242,"programId":482,"title":"View device information","rawContent":"sudo smartctl --info {{/dev/sda}}"},{"id":2243,"programId":482,"title":"Begin a short self-test","rawContent":"sudo smartctl --test short {{/dev/sda}}"},{"id":2244,"programId":482,"title":"View current/last self-test status and other SMART capabilities","rawContent":"sudo smartctl --capabilities {{/dev/sda}}"},{"id":2245,"programId":482,"title":"View SMART self-test log (if supported)","rawContent":"sudo smartctl --log selftest {{/dev/sda}}"},{"id":2246,"programId":483,"title":"Listen to a port, wait for an incoming connection and transfer data to STDIO","rawContent":"socat - TCP-LISTEN:8080,fork"},{"id":2247,"programId":483,"title":"Create a connection to a host and port, transfer data in STDIO to connected host","rawContent":"socat - TCP4:www.domain.com:80"},{"id":2248,"programId":483,"title":"Forward incoming data of a local port to another host and port","rawContent":"socat TCP-LISTEN:80,fork TCP4:www.domain.com:80"},{"id":2249,"programId":484,"title":"Sort a file in ascending order","rawContent":"sort {{filename}}"},{"id":2250,"programId":484,"title":"Sort a file in descending order","rawContent":"sort -r {{filename}}"},{"id":2251,"programId":484,"title":"Sort a file using numeric rather than alphabetic order","rawContent":"sort -n {{filename}}"},{"id":2252,"programId":484,"title":"Sort the passwd file by the 3rd field, numerically","rawContent":"sort -t: -k 3n /etc/passwd"},{"id":2253,"programId":484,"title":"Sort a file preserving only unique lines","rawContent":"sort -u {{filename}}"},{"id":2254,"programId":485,"title":"Merge two audio files into one","rawContent":"sox -m {{input_audiofile1}} {{input_audiofile2}} {{output_audiofile}}"},{"id":2255,"programId":485,"title":"Trim an audio file to the specified times","rawContent":"sox {{input_audiofile}} {{output_audiofile}} trim {{start}} {{end}}"},{"id":2256,"programId":485,"title":"Normalize an audio file (adjust volume to the maximum peak level, without clipping)","rawContent":"sox --norm {{input_audiofile}} {{output_audiofile}}"},{"id":2257,"programId":485,"title":"Reverse and save an audio file","rawContent":"sox {{input_audiofile}} {{output_audiofile}} reverse"},{"id":2258,"programId":485,"title":"Print statistical data of an audio file","rawContent":"sox {{input_audiofile}} -n stat"},{"id":2259,"programId":485,"title":"Increase the volume of an audio file by 2x","rawContent":"sox -v 2.0 {{input_audiofile}} {{output_audiofile}}"},{"id":2260,"programId":486,"title":"Run this when you use a project for the first time","rawContent":"spatial worker build"},{"id":2261,"programId":486,"title":"Build workers for local deployment on Unity on macOS","rawContent":"spatial worker build --target=development --target=Osx"},{"id":2262,"programId":486,"title":"Build workers for local deployment on Unreal on Windows","rawContent":"spatial worker build --target=local --target=Windows"},{"id":2263,"programId":486,"title":"Deploy locally","rawContent":"spatial local launch {{launch_config}} --snapshot={{snapshot_file}}"},{"id":2264,"programId":486,"title":"Launch a local worker to connect to your local deployment","rawContent":"spatial local worker launch {{worker_type}} {{launch_config}}"},{"id":2265,"programId":486,"title":"Upload an assembly to use for cloud deployments","rawContent":"spatial cloud upload {{assembly_name}}"},{"id":2266,"programId":486,"title":"Launch a cloud deployment","rawContent":"spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}"},{"id":2267,"programId":486,"title":"Clean worker directories","rawContent":"spatial worker clean"},{"id":2268,"programId":487,"title":"Run a speed test","rawContent":"speedtest-cli"},{"id":2269,"programId":487,"title":"Run a speed test and generate a shareable result picture","rawContent":"speedtest-cli --share"},{"id":2270,"programId":487,"title":"Print a list of all speedtest.net servers, sorted by distance, to file","rawContent":"speedtest-cli --list > speedtest_servers.txt"},{"id":2271,"programId":487,"title":"Run a speed test to the given speedtest.net server id","rawContent":"speedtest-cli --server {{server_id}}"},{"id":2272,"programId":488,"title":"Create a new project using the default template","rawContent":"spike new {{project_name}}"},{"id":2273,"programId":488,"title":"Compile your project, watch for changes, and auto-reload the browser","rawContent":"spike watch"},{"id":2274,"programId":488,"title":"Compile your project once to the \"public\" folder","rawContent":"spike compile"},{"id":2275,"programId":488,"title":"Remove the output directory","rawContent":"spike clean"},{"id":2276,"programId":489,"title":"Split a file, each split having 10 lines (except the last split)","rawContent":"split -l {{10}} {{filename}}"},{"id":2277,"programId":489,"title":"Split a file into 5 files. File is split such that each split has same size (except the last split)","rawContent":"split -n {{5}} {{filename}}"},{"id":2278,"programId":489,"title":"Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes)","rawContent":"split -b {{512}} {{filename}}"},{"id":2279,"programId":489,"title":"Split a file with at most 512 bytes in each split without breaking lines","rawContent":"split -C {{512}} {{filename}}"},{"id":2280,"programId":490,"title":"Start an interactive shell with a new database","rawContent":"sqlite3"},{"id":2281,"programId":490,"title":"Open an interactive shell against an existing database","rawContent":"sqlite3 {{path/to/database.sqlite3}}"},{"id":2282,"programId":490,"title":"Execute an SQL statement against a database and then exit","rawContent":"sqlite3 {{path/to/database.sqlite3}} '{{SELECT * FROM some_table;}}'"},{"id":2283,"programId":491,"title":"List all queues","rawContent":"sqsc lq {{queue_prefix}}"},{"id":2284,"programId":491,"title":"List all messages in a queue","rawContent":"sqsc ls {{queue_name}}"},{"id":2285,"programId":491,"title":"Copy all messages from one queue to another","rawContent":"sqsc cp {{source_queue}} {{destination_queue}}"},{"id":2286,"programId":491,"title":"Move all messages from one queue to another","rawContent":"sqsc mv {{source_queue}} {{destination_queue}}"},{"id":2287,"programId":491,"title":"Describe a queue","rawContent":"sqsc describe {{queue_name}}"},{"id":2288,"programId":491,"title":"Query a queue with SQL syntax","rawContent":"sqsc query \"SELECT body FROM {{queue_name}} WHERE body LIKE '%user%'\""},{"id":2289,"programId":491,"title":"Pull all messages from a queue into a local sqlite database in your present working directory","rawContent":"sqsc pull {{queue_name}}"},{"id":2290,"programId":492,"title":"Remove a file after a single-pass overwriting with random data","rawContent":"srm -s {{/path/to/file}}"},{"id":2291,"programId":492,"title":"Remove a file after seven passes of overwriting with random data","rawContent":"srm -m {{/path/to/file}}"},{"id":2292,"programId":492,"title":"Recursively remove a directory and its contents overwriting each file with a single-pass of random data","rawContent":"srm -r -s {{/path/to/folder}}"},{"id":2293,"programId":492,"title":"Prompt before every removal","rawContent":"srm -i {{\\*}}"},{"id":2294,"programId":493,"title":"Copy your keys to the remote machine","rawContent":"ssh-copy-id {{username@remote_host}}"},{"id":2295,"programId":493,"title":"Copy the given public key to the remote","rawContent":"ssh-copy-id -i {{path/to/certificate}} {{username}}@{{remote_host}}"},{"id":2296,"programId":493,"title":"Copy the given public key to the remote with specific port","rawContent":"ssh-copy-id -i {{path/to/certificate}} -p {{port}} {{username}}@{{remote_host}}"},{"id":2297,"programId":494,"title":"Generate a key interactively","rawContent":"ssh-keygen"},{"id":2298,"programId":494,"title":"Specify file in which to save the key","rawContent":"ssh-keygen -f ~/.ssh/{{filename}}"},{"id":2299,"programId":494,"title":"Generate an ed25519 key with 100 key derivation function rounds","rawContent":"ssh-keygen -t ed25519 -a 100"},{"id":2300,"programId":494,"title":"Generate an RSA 4096 bit key with your email as a comment","rawContent":"ssh-keygen -t rsa -b 4096 -C \"{{email}}\""},{"id":2301,"programId":494,"title":"Retrieve the key fingerprint from a host (useful for confirming the authenticity of the host when first connecting to it via SSH)","rawContent":"ssh-keygen -l -F {{remote_host}}"},{"id":2302,"programId":494,"title":"Retrieve the fingerprint of a key in MD5 Hex","rawContent":"ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}"},{"id":2303,"programId":494,"title":"Change the password of a key","rawContent":"ssh-keygen -p -f ~/.ssh/{{filename}}"},{"id":2304,"programId":495,"title":"Connect to a remote server","rawContent":"ssh {{username}}@{{remote_host}}"},{"id":2305,"programId":495,"title":"Connect to a remote server with a specific identity (private key)","rawContent":"ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}"},{"id":2306,"programId":495,"title":"Connect to a remote server using a specific port","rawContent":"ssh {{username}}@{{remote_host}} -p {{2222}}"},{"id":2307,"programId":495,"title":"Run a command on a remote server","rawContent":"ssh {{remote_host}} {{command -with -flags}}"},{"id":2308,"programId":495,"title":"SSH tunneling: Dynamic port forwarding (SOCKS proxy on localhost:9999)","rawContent":"ssh -D {{9999}} -C {{username}}@{{remote_host}}"},{"id":2309,"programId":495,"title":"SSH tunneling: Forward a specific port (localhost:9999 to slashdot.org:80) along with disabling pseudo-[t]ty allocation and executio[n] of remote commands","rawContent":"ssh -L {{9999}}:{{slashdot.org}}:{{80}} -N -T {{username}}@{{remote_host}}"},{"id":2310,"programId":495,"title":"SSH jumping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters)","rawContent":"ssh -J {{username}}@{{jump_host}} {{username}}@{{remote_host}}"},{"id":2311,"programId":495,"title":"Agent forwarding: Forward the authentication information to the remote machine (see `man ssh_config` for available options)","rawContent":"ssh -A {{username}}@{{remote_host}}"},{"id":2312,"programId":496,"title":"Mount remote directory","rawContent":"sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}"},{"id":2313,"programId":496,"title":"Unmount remote directory","rawContent":"fusermount -u {{mountpoint}}"},{"id":2314,"programId":496,"title":"Mount remote directory from server with specific port","rawContent":"sshfs {{username}}@{{remote_host}}:{{remote_directory}} -p {{2222}}"},{"id":2315,"programId":496,"title":"Use compression","rawContent":"sshfs {{username}}@{{remote_host}}:{{remote_directory}} -C"},{"id":2316,"programId":497,"title":"Connect to a remote server using a password supplied on a file descriptor (in this case, stdin)","rawContent":"sshpass -d {{0}} ssh {{user}}@{{hostname}}"},{"id":2317,"programId":497,"title":"Connect to a remote server with the password supplied as an option, and automatically accept unknown ssh keys","rawContent":"sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}"},{"id":2318,"programId":497,"title":"Connect to a remote server using the first line of a file as the password, automatically accept unknown ssh keys, and launch a command","rawContent":"sshpass -f {{file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} \"{{command}}\""},{"id":2319,"programId":498,"title":"Read 4096 bytes from the device starting from 0x8000000","rawContent":"st-flash read {{firmware}}.bin {{0x8000000}} {{4096}}"},{"id":2320,"programId":498,"title":"Write firmware to device starting from 0x8000000","rawContent":"st-flash write {{firmware}}.bin {{0x8000000}}"},{"id":2321,"programId":498,"title":"Erase firmware from device","rawContent":"st-flash erase"},{"id":2322,"programId":499,"title":"Display amount of program memory available","rawContent":"st-info --flash"},{"id":2323,"programId":499,"title":"Display amount of sram memory available","rawContent":"st-info --sram"},{"id":2324,"programId":499,"title":"Display summarized information of the device","rawContent":"st-info --probe"},{"id":2325,"programId":500,"title":"Run GDB server on port 4500","rawContent":"st-util -p {{4500}}"},{"id":2326,"programId":500,"title":"Connect to GDB server","rawContent":"(gdb) target extended-remote {{localhost}}:{{4500}}"},{"id":2327,"programId":500,"title":"Write firmware to device","rawContent":"(gdb) load {{firmware.elf}}"},{"id":2328,"programId":501,"title":"Create a new project","rawContent":"stack new {{project_name}}"},{"id":2329,"programId":501,"title":"Install all packages needed by a project","rawContent":"stack install"},{"id":2330,"programId":501,"title":"Compile a project","rawContent":"stack build"},{"id":2331,"programId":501,"title":"Run tests inside a project","rawContent":"stack test"},{"id":2332,"programId":501,"title":"Compile a project and re-compile every time a file changes","rawContent":"stack build --file-watch"},{"id":2333,"programId":501,"title":"Compile a project and execute a command after compilation","rawContent":"stack build --exec \"{{command}}\""},{"id":2334,"programId":501,"title":"Run a program and pass an argument to it","rawContent":"stack exec {{program_name}} -- {{argument}}"},{"id":2335,"programId":502,"title":"Lint all JavaScript source files in the current directory","rawContent":"standard"},{"id":2336,"programId":502,"title":"Lint specific JavaScript file(s)","rawContent":"standard {{path/to/file(s)}}"},{"id":2337,"programId":502,"title":"Apply automatic fixes during linting","rawContent":"standard --fix"},{"id":2338,"programId":502,"title":"Declare any available global variables","rawContent":"standard --global {{variable}}"},{"id":2339,"programId":502,"title":"Use a custom ESLint plugin when linting","rawContent":"standard --plugin {{plugin}}"},{"id":2340,"programId":502,"title":"Use a custom JS parser when linting","rawContent":"standard --parser {{parser}}"},{"id":2341,"programId":502,"title":"Use a custom ESLint environment when linting","rawContent":"standard --env {{environment}}"},{"id":2342,"programId":503,"title":"Symlink all files recursively to a given directory","rawContent":"stow --target={{path/to/target_directory}} {{file1 folder1 file2 folder2}}"},{"id":2343,"programId":503,"title":"Delete symlinks recursively from a given directory","rawContent":"stow --delete --target={{path/to/target_directory}} {{file1 folder1 file2 folder2}}"},{"id":2344,"programId":503,"title":"Simulate to see what the result would be like","rawContent":"stow --simulate --target={{path/to/target_directory}} {{file1 folder1 file2 folder2}}"},{"id":2345,"programId":503,"title":"Delete and resymlink","rawContent":"stow --restow --target={{path/to/target_directory}} {{file1 folder1 file2 folder2}}"},{"id":2346,"programId":503,"title":"Exclude files matching a regular expression","rawContent":"stow --ignore={{regex}} --target={{path/to/target_directory}} {{file1 folder1 file2 folder2}}"},{"id":2347,"programId":504,"title":"Print all strings in a binary","rawContent":"strings {{file}}"},{"id":2348,"programId":504,"title":"Limit results to strings at least *length* characters long","rawContent":"strings -n {{length}} {{file}}"},{"id":2349,"programId":504,"title":"Prefix each result with its offset within the file","rawContent":"strings -t d {{file}}"},{"id":2350,"programId":504,"title":"Prefix each result with its offset within the file in hexadecimal","rawContent":"strings -t x {{file}}"},{"id":2351,"programId":505,"title":"Switch to user {{username}} (password required)","rawContent":"su {{username}}"},{"id":2352,"programId":505,"title":"Switch to superuser (admin password required)","rawContent":"su"},{"id":2353,"programId":505,"title":"Switch to user {{username}} and simulate a full login shell","rawContent":"su - {{username}}"},{"id":2354,"programId":506,"title":"Download English subtitles for a video","rawContent":"subliminal download -l {{en}} {{video.ext}}"},{"id":2355,"programId":507,"title":"List the contents of an unreadable directory","rawContent":"sudo {{ls}} {{/usr/local/scrt}}"},{"id":2356,"programId":507,"title":"Edit a file as the user www","rawContent":"sudo -u {{www}} {{vi}} {{/var/www/index.html}}"},{"id":2357,"programId":507,"title":"Shut down the machine","rawContent":"sudo {{shutdown}} -h +10 {{\"Cya soon!\"}}"},{"id":2358,"programId":507,"title":"Repeat the last command as sudo","rawContent":"sudo !!"},{"id":2359,"programId":507,"title":"Launch the default shell with root privileges","rawContent":"sudo -i"},{"id":2360,"programId":508,"title":"Compute a checksum with BSD-compatible algorithm and 1024-byte blocks","rawContent":"sum {{file}}"},{"id":2361,"programId":508,"title":"Compute a checksum with System V-compatible algorithm and 512-byte blocks","rawContent":"sum --sysv {{file}}"},{"id":2362,"programId":509,"title":"Start/stop/restart a process","rawContent":"supervisorctl {{start|stop|restart}} {{process_name}}"},{"id":2363,"programId":509,"title":"Start/stop/restart all processes in a group","rawContent":"supervisorctl {{start|stop|restart}} {{group_name}}:*"},{"id":2364,"programId":509,"title":"Show last 100 **bytes** of process stderr","rawContent":"supervisorctl tail -100 {{process_name}} stderr"},{"id":2365,"programId":509,"title":"Keep displaying stdout of a process","rawContent":"supervisorctl tail -f {{process_name}} stdout"},{"id":2366,"programId":509,"title":"Reload process config file to add/remove processes as necessary","rawContent":"supervisorctl update"},{"id":2367,"programId":510,"title":"Start supervisord with specified configuration file","rawContent":"supervisord -c {{path/to/file}}"},{"id":2368,"programId":510,"title":"Run supervisord in the foreground","rawContent":"supervisord -n"},{"id":2369,"programId":511,"title":"Upload a new site to surge.sh","rawContent":"surge {{path/to/my_project}}"},{"id":2370,"programId":511,"title":"Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain)","rawContent":"surge {{path/to/my_project}} {{my_custom_domain.com}}"},{"id":2371,"programId":511,"title":"List your surge projects","rawContent":"surge list"},{"id":2372,"programId":511,"title":"Remove a project","rawContent":"surge teardown {{my_custom_domain.com}}"},{"id":2373,"programId":512,"title":"Optimize a file using the default plugins (overwrites the original file)","rawContent":"svgo {{test.svg}}"},{"id":2374,"programId":512,"title":"Optimize a file and save the result to another file","rawContent":"svgo {{test.svg}} {{test.min.svg}}"},{"id":2375,"programId":512,"title":"Optimize all SVG files within a folder (overwrites the original files)","rawContent":"svgo -f {{path/to/folder/with/svg/files}}"},{"id":2376,"programId":512,"title":"Optimize all SVG files within a folder and save the resulting files to another folder","rawContent":"svgo -f {{path/to/input/folder}} -o {{path/to/output/folder}}"},{"id":2377,"programId":512,"title":"Optimize SVG content passed from another command, and save the result to a file","rawContent":"{{cat test.svg}} | svgo -i - -o {{test.min.svg}}"},{"id":2378,"programId":512,"title":"Optimize a file and print out the result","rawContent":"svgo {{test.svg}} -o -"},{"id":2379,"programId":512,"title":"Optimize a file making sure a given plugin is enabled","rawContent":"svgo --enable={{plugin_name}}"},{"id":2380,"programId":512,"title":"Show available plugins","rawContent":"svgo --show-plugins"},{"id":2381,"programId":513,"title":"Check out a working copy from a repository","rawContent":"svn co {{url/to/repository}}"},{"id":2382,"programId":513,"title":"Bring changes from the repository into the working copy","rawContent":"svn up"},{"id":2383,"programId":513,"title":"Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit","rawContent":"svn add PATH..."},{"id":2384,"programId":513,"title":"Send changes from your working copy to the repository","rawContent":"svn ci -m {{commit log message}} {{[PATH...]}}"},{"id":2385,"programId":513,"title":"Show detailed help","rawContent":"svn help"},{"id":2386,"programId":514,"title":"Generate documentation and code from an OpenAPI/swagger file","rawContent":"swagger-codegen generate -i {{swagger_file}} -l {{language}}"},{"id":2387,"programId":514,"title":"Generate java code using the library retrofit2 and the option useRxJava2","rawContent":"swagger-codegen generate -i {{http://petstore.swagger.io/v2/swagger.json}} -l {{java}} --library {{retrofit2}} -D{{useRxJava2}}={{true}}"},{"id":2388,"programId":514,"title":"List available languages","rawContent":"swagger-codegen langs"},{"id":2389,"programId":514,"title":"Display help options for the generate command","rawContent":"swagger-codegen help {{generate}}"},{"id":2390,"programId":515,"title":"Invoke the interactive interpreter (REPL)","rawContent":"swift"},{"id":2391,"programId":515,"title":"Execute a program","rawContent":"swift {{file.swift}}"},{"id":2392,"programId":515,"title":"Start a new project with the package manager","rawContent":"swift package init"},{"id":2393,"programId":515,"title":"Generate an Xcode project file","rawContent":"swift package generate-xcodeproj"},{"id":2394,"programId":515,"title":"Update dependencies","rawContent":"swift package update"},{"id":2395,"programId":515,"title":"Compile project for release","rawContent":"swift build -c release"},{"id":2396,"programId":516,"title":"Flush all pending write operations on all disks","rawContent":"sync"},{"id":2397,"programId":516,"title":"Flush all pending write operations on a single file to disk","rawContent":"sync {{path/to/file}}"},{"id":2398,"programId":517,"title":"Extract all tables from a PDF to a CSV file","rawContent":"tabula -o {{file.csv}} {{file.pdf}}"},{"id":2399,"programId":517,"title":"Extract all tables from a PDF to a JSON file","rawContent":"tabula --format JSON -o {{file.json}} {{file.pdf}}"},{"id":2400,"programId":517,"title":"Extract tables from pages 1, 2, 3, and 6 of a PDF","rawContent":"tabula --pages {{1-3,6}} {{file.pdf}}"},{"id":2401,"programId":517,"title":"Extract tables from page 1 of a PDF, guessing which portion of the page to examine","rawContent":"tabula --guess --pages {{1}} {{file.pdf}}"},{"id":2402,"programId":517,"title":"Extract all tables from a PDF, using ruling lines to determine cell boundaries","rawContent":"tabula --spreadsheet {{file.pdf}}"},{"id":2403,"programId":517,"title":"Extract all tables from a PDF, using blank space to determine cell boundaries","rawContent":"tabula --no-spreadsheet {{file.pdf}}"},{"id":2404,"programId":518,"title":"Print the contents of *file1* reversed to the standard output","rawContent":"tac {{file1}}"},{"id":2405,"programId":518,"title":"Concatenate several files reversed into the target file","rawContent":"tac {{file1}} {{file2}} > {{target_file}}"},{"id":2406,"programId":519,"title":"Show last 'num' lines in file","rawContent":"tail -n {{num}} {{file}}"},{"id":2407,"programId":519,"title":"Show all file since line 'num'","rawContent":"tail -n +{{num}} {{file}}"},{"id":2408,"programId":519,"title":"Show last 'num' bytes in file","rawContent":"tail -c {{num}} {{file}}"},{"id":2409,"programId":519,"title":"Keep reading file until `Ctrl + C`","rawContent":"tail -f {{file}}"},{"id":2410,"programId":519,"title":"Keep reading file until `Ctrl + C`, even if the file is rotated","rawContent":"tail -F {{file}}"},{"id":2411,"programId":520,"title":"Create an archive from files","rawContent":"tar cf {{target.tar}} {{file1 file2 file3}}"},{"id":2412,"programId":520,"title":"Create a gzipped archive","rawContent":"tar czf {{target.tar.gz}} {{file1 file2 file3}}"},{"id":2413,"programId":520,"title":"Extract an archive in a target folder","rawContent":"tar xf {{source.tar}} -C {{folder}}"},{"id":2414,"programId":520,"title":"Extract a gzipped archive in the current directory","rawContent":"tar xzf {{source.tar.gz}}"},{"id":2415,"programId":520,"title":"Extract a bzipped archive in the current directory","rawContent":"tar xjf {{source.tar.bz2}}"},{"id":2416,"programId":520,"title":"Create a compressed archive, using archive suffix to determine the compression program","rawContent":"tar caf {{target.tar.xz}} {{file1 file2 file3}}"},{"id":2417,"programId":520,"title":"List the contents of a tar file","rawContent":"tar tvf {{source.tar}}"},{"id":2418,"programId":520,"title":"Extract files matching a pattern","rawContent":"tar xf {{source.tar}} --wildcards {{\"*.html\"}}"},{"id":2419,"programId":521,"title":"Add new task","rawContent":"task add {{thing_to_do}}"},{"id":2420,"programId":521,"title":"List tasks","rawContent":"task list"},{"id":2421,"programId":521,"title":"Mark task as completed","rawContent":"task {{task_id}} done"},{"id":2422,"programId":521,"title":"Modify task","rawContent":"task {{task_id}} modify {{new_thing_to_do}}"},{"id":2423,"programId":521,"title":"Delete task","rawContent":"task {{task_id}} delete"},{"id":2424,"programId":522,"title":"List available network interfaces","rawContent":"tcpdump -D"},{"id":2425,"programId":522,"title":"Capture the traffic of a specific interface","rawContent":"tcpdump -i {{eth0}}"},{"id":2426,"programId":522,"title":"Capture all TCP traffic showing contents (ASCII) in console","rawContent":"tcpdump -A tcp"},{"id":2427,"programId":522,"title":"Capture the traffic from or to a host","rawContent":"tcpdump host {{www.example.com}}"},{"id":2428,"programId":522,"title":"Capture the traffic from a specific interface, source, destination and destination port","rawContent":"tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}"},{"id":2429,"programId":522,"title":"Capture the traffic of a network","rawContent":"tcpdump net {{192.168.1.0/24}}"},{"id":2430,"programId":522,"title":"Capture all traffic except traffic over port 22 and save to a dump file","rawContent":"tcpdump -w {{dumpfile.pcap}} not port {{22}}"},{"id":2431,"programId":522,"title":"Read from a given dump file","rawContent":"tcpdump -r {{dumpfile.pcap}}"},{"id":2432,"programId":523,"title":"Copy standard input to each FILE, and also to standard output","rawContent":"echo \"example\" | tee {{FILE}}"},{"id":2433,"programId":523,"title":"Append to the given FILEs, do not overwrite","rawContent":"echo \"example\" | tee -a {{FILE}}"},{"id":2434,"programId":523,"title":"Create a folder called \"example\", count the number of characters in \"example\" and write \"example\" to the terminal","rawContent":"echo \"example\" | tee >(xargs mkdir) >(wc -c)"},{"id":2435,"programId":524,"title":"Telnet to the default port of a host","rawContent":"telnet {{host}}"},{"id":2436,"programId":524,"title":"Telnet to a specific port of a host","rawContent":"telnet {{ip_address}} {{port}}"},{"id":2437,"programId":524,"title":"Exit a telnet session","rawContent":"quit"},{"id":2438,"programId":524,"title":"Emit the default escape character combination for terminating the session","rawContent":"Ctrl + ]"},{"id":2439,"programId":524,"title":"Start telnet with \"x\" as the session termination character","rawContent":"telnet -e {{x}} {{ip_address}} {{port}}"},{"id":2440,"programId":525,"title":"Recognize text in an image and save it to `output.txt` (the '.txt' extension is added automatically)","rawContent":"tesseract {{image.png}} {{output}}"},{"id":2441,"programId":525,"title":"Specify a custom language (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German)","rawContent":"tesseract -l deu {{image.png}} {{output}}"},{"id":2442,"programId":525,"title":"List the ISO 639-2 codes of available languages","rawContent":"tesseract --list-langs"},{"id":2443,"programId":525,"title":"Specify a custom page segmentation mode (default is 3)","rawContent":"tesseract -psm {{0_to_10}} {{image.png}} {{output}}"},{"id":2444,"programId":525,"title":"List page segmentation modes and their descriptions","rawContent":"tesseract --help-psm"},{"id":2445,"programId":526,"title":"Test if given variable is equal to given string","rawContent":"test $MY_VAR == '/bin/zsh'"},{"id":2446,"programId":526,"title":"Test if given variable is empty","rawContent":"test -z $GIT_BRANCH"},{"id":2447,"programId":526,"title":"Test if file exists","rawContent":"test -e {{filename}}"},{"id":2448,"programId":526,"title":"Test if directory not exists","rawContent":"test ! -d {{path/to/directory}}"},{"id":2449,"programId":526,"title":"If-else statement","rawContent":"test {{condition}} && echo \"true\" || echo \"false\""},{"id":2450,"programId":527,"title":"Time \"ls\"","rawContent":"time ls"},{"id":2451,"programId":528,"title":"Start a new stopwatch, giving a tag name to the activity being tracked","rawContent":"timew start {{activity_tag}}"},{"id":2452,"programId":528,"title":"View running stopwatches","rawContent":"timew"},{"id":2453,"programId":528,"title":"Stop the stopwatch with a given tag name","rawContent":"timew stop {{activity_tag}}"},{"id":2454,"programId":528,"title":"Stop all running stopwatches","rawContent":"timew stop"},{"id":2455,"programId":528,"title":"View tracked items","rawContent":"timew summary"},{"id":2456,"programId":529,"title":"Get typical usages of a command (hint: this is how you got here!)","rawContent":"tldr {{command}}"},{"id":2457,"programId":529,"title":"Update the local cache of tldr pages","rawContent":"tldr --update"},{"id":2458,"programId":530,"title":"Lint all pages","rawContent":"tldrl {{pages_directory}}"},{"id":2459,"programId":530,"title":"Format a specific page to stdout","rawContent":"tldrl -f {{page.md}}"},{"id":2460,"programId":530,"title":"Format all pages in place","rawContent":"tldrl -fi {{pages_directory}}"},{"id":2461,"programId":531,"title":"Start a new tmux session","rawContent":"tmux"},{"id":2462,"programId":531,"title":"Start a new named tmux session","rawContent":"tmux new -s {{name}}"},{"id":2463,"programId":531,"title":"List sessions","rawContent":"tmux ls"},{"id":2464,"programId":531,"title":"Attach to a session","rawContent":"tmux a"},{"id":2465,"programId":531,"title":"Attach to a named session","rawContent":"tmux a -t {{name}}"},{"id":2466,"programId":531,"title":"Detach from session","rawContent":"Ctrl + B, D"},{"id":2467,"programId":531,"title":"Kill session","rawContent":"tmux kill-session -t {{name}}"},{"id":2468,"programId":531,"title":"Kill session when attached","rawContent":"Ctrl + B, x (then hit 'y' for yes)"},{"id":2469,"programId":532,"title":"Create a new empty file(s) or change the times for existing file(s) to current time","rawContent":"touch {{filename}}"},{"id":2470,"programId":532,"title":"Set the times on a file to a specific date and time","rawContent":"touch -t {{YYYYMMDDHHMM.SS}} {{filename}}"},{"id":2471,"programId":532,"title":"Use the times from a file to set the times on a second file","rawContent":"touch -r {{filename}} {{filename2}}"},{"id":2472,"programId":533,"title":"View a presentation","rawContent":"tpp {{filename}}"},{"id":2473,"programId":533,"title":"Output a presentation","rawContent":"tpp -t {{type}} -o {{outputname}} {{filename}}"},{"id":2474,"programId":534,"title":"Move the cursor to a screen location","rawContent":"tput cup {{y_coordinate}} {{x_coordinate}}"},{"id":2475,"programId":534,"title":"Set foreground (af) or background (ab) color","rawContent":"tput {{setaf|setab}} {{ansi_color_code}}"},{"id":2476,"programId":534,"title":"Show number of columns, lines, or colors","rawContent":"tput {{cols|lines|colors}}"},{"id":2477,"programId":534,"title":"Ring the terminal bell","rawContent":"tput bel"},{"id":2478,"programId":534,"title":"Reset all terminal attributes","rawContent":"tput sgr0"},{"id":2479,"programId":534,"title":"Enable / Disable word wrap","rawContent":"tput {{smam|rmam}}"},{"id":2480,"programId":535,"title":"Replace all occurrences of a character in a file, and print the result","rawContent":"tr {{find_characters}} {{replace_characters}} < {{filename}}"},{"id":2481,"programId":535,"title":"Map each character of the first set to the corresponding character of the second set","rawContent":"tr 'abcd' 'jkmn' < {{filename}}"},{"id":2482,"programId":535,"title":"Delete all occurrences of the specified set of characters from the input","rawContent":"tr -d '{{input_characters}}'"},{"id":2483,"programId":535,"title":"Compress a series of identical characters to a single character","rawContent":"tr -s '{{input_characters}}'"},{"id":2484,"programId":535,"title":"Translate the contents of the file to upper-case and print result","rawContent":"tr \"[:lower:]\" \"[:upper:]\" < {{filename}}"},{"id":2485,"programId":535,"title":"Strip out non-printable characters from the file and print result","rawContent":"tr -cd \"[:print:]\" < {{filename}}"},{"id":2486,"programId":536,"title":"Traceroute to a host","rawContent":"traceroute {{host}}"},{"id":2487,"programId":536,"title":"Disable IP address and host name mapping","rawContent":"traceroute -n {{host}}"},{"id":2488,"programId":536,"title":"Specify wait time for response","rawContent":"traceroute -w {{0.5}} {{host}}"},{"id":2489,"programId":536,"title":"Specify number of queries per hop","rawContent":"traceroute -q {{5}} {{host}}"},{"id":2490,"programId":536,"title":"Specify size in bytes of probing packet","rawContent":"traceroute {{host}} {{42}}"},{"id":2491,"programId":537,"title":"Start server with default config","rawContent":"traefik"},{"id":2492,"programId":537,"title":"Start server with a custom config file","rawContent":"traefik --c {{config_file}}.toml"},{"id":2493,"programId":537,"title":"Start server with cluster mode enabled","rawContent":"traefik --cluster"},{"id":2494,"programId":537,"title":"Start server with web UI enabled","rawContent":"traefik --web"},{"id":2495,"programId":538,"title":"Translate a word (language is detected automatically)","rawContent":"trans \"{{word_or_sentence_to_translate}}\""},{"id":2496,"programId":538,"title":"Get a brief translation","rawContent":"trans --brief \"{{word_or_sentence_to_translate}}\""},{"id":2497,"programId":538,"title":"Translate a word into french","rawContent":"trans :{{fr}} {{word}}"},{"id":2498,"programId":538,"title":"Translate a word from German to English","rawContent":"trans {{de}}:{{en}} {{Schmetterling}}"},{"id":2499,"programId":538,"title":"Behave like a dictionary to get the meaning of a word","rawContent":"trans -d {{word}}"},{"id":2500,"programId":539,"title":"Create stabilisation file to be able to remove camera shakes","rawContent":"transcode -J stabilize -i {{input_file}}"},{"id":2501,"programId":539,"title":"Remove camera shakes after creating stabilisation file, transform video using xvid","rawContent":"transcode -J transform -i {{input_file}} -y xvid -o {{output_file}}"},{"id":2502,"programId":539,"title":"Resize the video to 640x480 pixels and convert to MPEG4 codec using xvid","rawContent":"transcode -Z 640x480 -i {{input_file}} -y xvid -o {{output_file}}"},{"id":2503,"programId":540,"title":"Trash files and directories","rawContent":"trash-put {{file_name}}"},{"id":2504,"programId":540,"title":"Empty the trashcan","rawContent":"trash-empty"},{"id":2505,"programId":540,"title":"List trashed files","rawContent":"trash-list"},{"id":2506,"programId":540,"title":"Restore a trashed file by choosing a number from the list that results from this command","rawContent":"trash-restore"},{"id":2507,"programId":540,"title":"Remove individual files from the trashcan","rawContent":"trash-rm {{file_name}}"},{"id":2508,"programId":541,"title":"Print the file name of this terminal","rawContent":"tty"},{"id":2509,"programId":542,"title":"Simply convert RAW files to jpg","rawContent":"ufraw-batch --out-type=jpg {{input_file(s)}}"},{"id":2510,"programId":542,"title":"Simply convert RAW files to png","rawContent":"ufraw-batch --out-type=png {{input_file(s)}}"},{"id":2511,"programId":542,"title":"Extract the preview image from the raw file","rawContent":"ufraw-batch --embedded-image {{input_file(s)}}"},{"id":2512,"programId":542,"title":"Save the file with size up to the given maximums MAX1 and MAX2","rawContent":"ufraw-batch --size=MAX1,MAX2 {{input_file(s)}}"},{"id":2513,"programId":543,"title":"Unmount a filesystem, by passing the path to the source it is mounted from","rawContent":"umount {{path/to/device_file}}"},{"id":2514,"programId":543,"title":"Unmount a filesystem, by passing the path to the target where it is mounted","rawContent":"umount {{path/to/mounted_directory}}"},{"id":2515,"programId":543,"title":"Unmount all mounted filesystems (except the `proc` filesystem)","rawContent":"umount -a"},{"id":2516,"programId":544,"title":"Extract an archive to the current directory","rawContent":"unar {{archive}}"},{"id":2517,"programId":544,"title":"Extract an archive to the specified directory","rawContent":"unar -o {{path/to/directory}} {{archive}}"},{"id":2518,"programId":544,"title":"Force overwrite if files to be unpacked already exist","rawContent":"unar -f {{archive}}"},{"id":2519,"programId":544,"title":"Force rename if files to be unpacked already exist","rawContent":"unar -r {{archive}}"},{"id":2520,"programId":544,"title":"Force skip if files to be unpacked already exist","rawContent":"unar -s {{archive}}"},{"id":2521,"programId":545,"title":"Display each line once","rawContent":"sort {{file}} | uniq"},{"id":2522,"programId":545,"title":"Display only unique lines","rawContent":"sort {{file}} | uniq -u"},{"id":2523,"programId":545,"title":"Display only duplicate lines","rawContent":"sort {{file}} | uniq -d"},{"id":2524,"programId":545,"title":"Display number of occurrences of each line along with that line","rawContent":"sort {{file}} | uniq -c"},{"id":2525,"programId":545,"title":"Display number of occurrences of each line, sorted by the most frequent","rawContent":"sort {{file}} | uniq -c | sort -nr"},{"id":2526,"programId":546,"title":"Extract files with original directory structure","rawContent":"unrar x {{compressed.rar}}"},{"id":2527,"programId":546,"title":"Extract files into current directory, losing directory structure in the archive","rawContent":"unrar e {{compressed.rar}}"},{"id":2528,"programId":546,"title":"Test integrity of each file inside the archive file","rawContent":"unrar t {{compressed.rar}}"},{"id":2529,"programId":546,"title":"List files inside the archive file without decompressing it","rawContent":"unrar l {{compressed.rar}}"},{"id":2530,"programId":547,"title":"Extract zip file(s) (for multiple files, separate file paths by spaces)","rawContent":"unzip {{file(s)}}"},{"id":2531,"programId":547,"title":"Extract zip files(s) to given path","rawContent":"unzip {{compressed_file(s)}} -d {{/path/to/put/extracted_file(s)}}"},{"id":2532,"programId":547,"title":"List the contents of a zip file without extracting","rawContent":"unzip -l {{file.zip}}"},{"id":2533,"programId":547,"title":"Extract the contents of the file(s) to stdout alongside the extracted file names","rawContent":"unzip -c {{file.zip}}"},{"id":2534,"programId":547,"title":"Extract a zip file created in windows, containing files with non-ascii (chinese) filenames","rawContent":"unzip -O {{gbk}} {{file.zip}}"},{"id":2535,"programId":548,"title":"Print current time, uptime, number of logged-in users and other information","rawContent":"uptime"},{"id":2536,"programId":549,"title":"Compress executable","rawContent":"upx {{file}}"},{"id":2537,"programId":549,"title":"Decompress executable","rawContent":"upx -d {{file}}"},{"id":2538,"programId":549,"title":"Detailed help","rawContent":"upx --help"},{"id":2539,"programId":550,"title":"Create Vagrantfile in current folder with the base Vagrant box","rawContent":"vagrant init"},{"id":2540,"programId":550,"title":"Create Vagrantfile with the Ubuntu 14.04 (Trusty Tahr) box from HashiCorp Atlas","rawContent":"vagrant init ubuntu/trusty32"},{"id":2541,"programId":550,"title":"Start and provision the vagrant environment","rawContent":"vagrant up"},{"id":2542,"programId":550,"title":"Suspend the machine","rawContent":"vagrant suspend"},{"id":2543,"programId":550,"title":"Connect to machine via SSH","rawContent":"vagrant ssh"},{"id":2544,"programId":551,"title":"Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`","rawContent":"valgrind {{program}}"},{"id":2545,"programId":551,"title":"Use Memcheck to report all possible memory leaks of `program` in full detail","rawContent":"valgrind --leak-check=full --show-leak-kinds=all {{program}}"},{"id":2546,"programId":551,"title":"Use the Cachegrind tool to profile and log CPU cache operations of `program`","rawContent":"valgrind --tool=cachegrind {{program}}"},{"id":2547,"programId":551,"title":"Use the Massif tool to profile and log heap memory and stack usage of `program`","rawContent":"valgrind --tool=massif --stacks=yes {{program}}"},{"id":2548,"programId":552,"title":"Connect to a Vault server and initialize a new encrypted data store","rawContent":"vault init"},{"id":2549,"programId":552,"title":"Unseal (unlock) the vault, by providing one of the key shares needed to access the encrypted data store","rawContent":"vault unseal {{key-share-x}}"},{"id":2550,"programId":552,"title":"Authenticate the CLI client against the Vault server, using an authentication token","rawContent":"vault auth {{authentication-token}}"},{"id":2551,"programId":552,"title":"Store a new secret in the vault, using the generic back-end called \"secret\"","rawContent":"vault write secret/{{hello}} value={{world}}"},{"id":2552,"programId":552,"title":"Read a value from the vault, using the generic back-end called \"secret\"","rawContent":"vault read secret/{{hello}}"},{"id":2553,"programId":552,"title":"Seal (lock) the Vault server, by removing the encryption key of the data store from memory","rawContent":"vault seal"},{"id":2554,"programId":553,"title":"Open a file","rawContent":"view {{file}}"},{"id":2555,"programId":554,"title":"Open a file","rawContent":"vim {{file}}"},{"id":2556,"programId":554,"title":"Enter text editing mode (insert mode)","rawContent":"<Esc>i"},{"id":2557,"programId":554,"title":"Copy (\"yank\") or cut (\"delete\") the current line (paste it with `P`)","rawContent":"<Esc>{{yy|dd}}"},{"id":2558,"programId":554,"title":"Undo the last operation","rawContent":"<Esc>u"},{"id":2559,"programId":554,"title":"Search for a pattern in the file (press `n`/`N` to go to next/previous match)","rawContent":"<Esc>/{{search_pattern}}<Enter>"},{"id":2560,"programId":554,"title":"Perform a regex substitution in the whole file","rawContent":"<Esc>:%s/{{pattern}}/{{replacement}}/g<Enter>"},{"id":2561,"programId":554,"title":"Save (write) the file, and quit","rawContent":"<Esc>:wq<Enter>"},{"id":2562,"programId":554,"title":"Quit without saving","rawContent":"<Esc>:q!<Enter>"},{"id":2563,"programId":555,"title":"Open two files and show the differences (up to four files can be compared)","rawContent":"vimdiff {{file1}} {{file2}}"},{"id":2564,"programId":555,"title":"Open two files using a horizontal window split instead of the default vertical split","rawContent":"vimdiff -o {{file1}} {{file2}}"},{"id":2565,"programId":555,"title":"Move the cursor to the window on the left|right|up|down","rawContent":"Ctrl + w {{h|l|k|j}}"},{"id":2566,"programId":556,"title":"Launch the vim tutor using the given language (en, fr, de, ...)","rawContent":"vimtutor {{language}}"},{"id":2567,"programId":556,"title":"Exit the tutor","rawContent":"<Esc> :q <Enter>"},{"id":2568,"programId":557,"title":"Create a new environment","rawContent":"virtualenv {{path/to/venv}}"},{"id":2569,"programId":557,"title":"Start (select) the environment","rawContent":"source {{path/to/venv}}/bin/activate"},{"id":2570,"programId":557,"title":"Stop the environment","rawContent":"deactivate"},{"id":2571,"programId":558,"title":"Edit sudoers file","rawContent":"sudo visudo"},{"id":2572,"programId":558,"title":"Check sudoers file for errors","rawContent":"sudo visudo -c"},{"id":2573,"programId":559,"title":"Create a new vue project","rawContent":"vue init {{template}} {{project_name}}"},{"id":2574,"programId":559,"title":"Create a new project with a local template","rawContent":"vue init {{path/to/template_folder}} {{project_name}}"},{"id":2575,"programId":559,"title":"Create project using template on GitHub","rawContent":"vue init {{username}}/{{repo}} {{project_name}}"},{"id":2576,"programId":560,"title":"Show logged-in users info","rawContent":"w"},{"id":2577,"programId":560,"title":"Show logged-in users info without a header","rawContent":"w -h"},{"id":2578,"programId":561,"title":"Open an URL","rawContent":"w3m {{http://example.com}}"},{"id":2579,"programId":561,"title":"Quit w3m","rawContent":"'q' then 'y'"},{"id":2580,"programId":562,"title":"Wait for a process to finish given its process ID (PID) and return its exit status","rawContent":"wait {{pid}}"},{"id":2581,"programId":562,"title":"Wait for all processes known to the invoking shell to finish","rawContent":"wait"},{"id":2582,"programId":563,"title":"Repeatedly run a command and show the result","rawContent":"watch {{command}}"},{"id":2583,"programId":563,"title":"Re-run a command every 60 seconds","rawContent":"watch -n {{60}} {{command}}"},{"id":2584,"programId":563,"title":"Monitor the contents of a directory, highlighting differences as they appear","rawContent":"watch -d {{ls -l}}"},{"id":2585,"programId":564,"title":"Count lines in file","rawContent":"wc -l {{file}}"},{"id":2586,"programId":564,"title":"Count words in file","rawContent":"wc -w {{file}}"},{"id":2587,"programId":564,"title":"Count characters (bytes) in file","rawContent":"wc -c {{file}}"},{"id":2588,"programId":564,"title":"Count characters in file (taking multi-byte character sets into account)","rawContent":"wc -m {{file}}"},{"id":2589,"programId":565,"title":"Create a single output file from an entry point file","rawContent":"webpack {{app.js}} {{bundle.js}}"},{"id":2590,"programId":565,"title":"Load css files too from the js file (this uses the css loader for .css files)","rawContent":"webpack {{app.js}} {{bundle.js}} --module-bind 'css=css'"},{"id":2591,"programId":565,"title":"Pass a config file (with eg. the entry script and the output filename) and show compilation progress","rawContent":"webpack --config {{webpack.config.js}} --progress"},{"id":2592,"programId":565,"title":"Automatically recompile on changes to project files","rawContent":"webpack --watch {{app.js}} {{bundle.js}}"},{"id":2593,"programId":566,"title":"Download the contents of an URL to a file (named \"foo\" in this case)","rawContent":"wget {{https://example.com/foo}}"},{"id":2594,"programId":566,"title":"Download the contents of an URL to a file (named \"bar\" in this case)","rawContent":"wget -O {{bar}} {{https://example.com/foo}}"},{"id":2595,"programId":566,"title":"Download a single web page and all its resources (scripts, stylesheets, images, etc.)","rawContent":"wget --page-requisites --convert-links {{https://example.com/somepage.html}}"},{"id":2596,"programId":566,"title":"Download a full website, with 3-second intervals between requests","rawContent":"wget --mirror --page-requisites --convert-links --wait=3 {{https://example.com}}"},{"id":2597,"programId":566,"title":"Download all listed files within a directory and its sub-directories (does not download embedded page elements)","rawContent":"wget --mirror --no-parent {{https://example.com/somepath/}}"},{"id":2598,"programId":566,"title":"Download the contents of an URL via authenticated FTP","rawContent":"wget --ftp-user={{username}} --ftp-password={{password}} {{ftp://example.com}}"},{"id":2599,"programId":566,"title":"Continue an incomplete download","rawContent":"wget -c {{https://example.com}}"},{"id":2600,"programId":566,"title":"Enable quiet mode to suppress output","rawContent":"wget -q {{https://example.com}}"},{"id":2601,"programId":567,"title":"Find all instances of a command","rawContent":"where {{command}}"},{"id":2602,"programId":568,"title":"Search the PATH environment variable and display the location of any matching executables","rawContent":"which {{executable}}"},{"id":2603,"programId":568,"title":"If there are multiple executables which match, display all","rawContent":"which -a {{executable}}"},{"id":2604,"programId":569,"title":"Read stdin and perform an action on every line","rawContent":"while read line; do echo \"$line\"; done"},{"id":2605,"programId":569,"title":"Execute a command forever once every second","rawContent":"while :; do {{command}}; sleep 1; done"},{"id":2606,"programId":570,"title":"Display the username, line, and time of all currently logged-in sessions","rawContent":"who"},{"id":2607,"programId":570,"title":"Display information only for the current terminal session","rawContent":"who am i"},{"id":2608,"programId":570,"title":"Display all available information","rawContent":"who -a"},{"id":2609,"programId":570,"title":"Display all available information with table headers","rawContent":"who -a -H"},{"id":2610,"programId":571,"title":"Display currently logged user name","rawContent":"whoami"},{"id":2611,"programId":572,"title":"Start wordgrinder (loads a blank document by default)","rawContent":"wordgrinder"},{"id":2612,"programId":572,"title":"Open a given file","rawContent":"wordgrinder {{filename}}"},{"id":2613,"programId":572,"title":"Show the menu","rawContent":"Alt + M"},{"id":2614,"programId":573,"title":"Start wuzz","rawContent":"wuzz"},{"id":2615,"programId":573,"title":"Display help information","rawContent":"F1"},{"id":2616,"programId":573,"title":"Send an HTTP request","rawContent":"Ctrl + R"},{"id":2617,"programId":573,"title":"Switch to the next view","rawContent":"Ctrl + J, Tab"},{"id":2618,"programId":573,"title":"Switch to the previous view","rawContent":"Ctrl + K, Shift + Tab"},{"id":2619,"programId":574,"title":"View an XLSX or CSV file","rawContent":"x_x {{file.xlsx|file.csv}}"},{"id":2620,"programId":574,"title":"View an XLSX or CSV file, using the first row as table headers","rawContent":"x_x -h {{0}} {{file.xlsx|file.csv}}"},{"id":2621,"programId":574,"title":"View a CSV file with unconventional delimiters","rawContent":"x_x --delimiter={{';'}} --quotechar={{'|'}} {{file.csv}}"},{"id":2622,"programId":575,"title":"Main usage pattern","rawContent":"{{arguments_source}} | xargs {{command}}"},{"id":2623,"programId":575,"title":"Delete all files with a `.backup` extension. `-print0` on find uses a null character to split the files, and `-0` changes the delimiter to the null character (useful if there's whitespace in filenames)","rawContent":"find . -name {{'*.backup'}} -print0 | xargs -0 rm -v"},{"id":2624,"programId":575,"title":"Execute the command once for each input line, replacing any occurrences of the placeholder (here marked as `_`) with the input line","rawContent":"{{arguments_source}} | xargs -I _ {{command}} _ {{optional_extra_arguments}}"},{"id":2625,"programId":576,"title":"Cut a file","rawContent":"xcv x {{input_file}}"},{"id":2626,"programId":576,"title":"Copy a file","rawContent":"xcv c {{input_file}}"},{"id":2627,"programId":576,"title":"Paste a file","rawContent":"xcv v {{output_file}}"},{"id":2628,"programId":576,"title":"List files available for pasting","rawContent":"xcv l"},{"id":2629,"programId":577,"title":"Return all nodes (tags) named \"foo\"","rawContent":"xmllint --xpath \"//{{foo}}\" {{source_file.xml}}"},{"id":2630,"programId":577,"title":"Return the contents of the first node named \"foo\" as a string","rawContent":"xmllint --xpath \"string(//{{foo}})\" {{source_file.xml}}"},{"id":2631,"programId":577,"title":"Return the href attribute of the second anchor element in an html file","rawContent":"xmllint --html --xpath \"string(//a[2]/@href)\" webpage.xhtml"},{"id":2632,"programId":577,"title":"Return human-readable (indented) XML from file","rawContent":"xmllint --format {{source_file.xml}}"},{"id":2633,"programId":577,"title":"Check that a XML file meets the requirements of its DOCTYPE declaration","rawContent":"xmllint --valid {{source_file.xml}}"},{"id":2634,"programId":577,"title":"Validate XML against DTD schema hosted online","rawContent":"xmllint --dtdvalid {{URL}} {{source_file.xml}}"},{"id":2635,"programId":578,"title":"Generate a hexdump from a binary file and display the output","rawContent":"xxd {{input_file}}"},{"id":2636,"programId":578,"title":"Generate a hexdump from a binary file and save it as a text file","rawContent":"xxd {{input_file}} {{output_file}}"},{"id":2637,"programId":578,"title":"Display the output with 10 columns of one octet (byte) each","rawContent":"xxd -c {{10}} {{input_file}}"},{"id":2638,"programId":578,"title":"Display output only upto a length of 32 bytes","rawContent":"xxd -l {{32}} {{input_file}}"},{"id":2639,"programId":578,"title":"Display the output in plain mode, without any gaps between the columns","rawContent":"xxd -p {{input_file}}"},{"id":2640,"programId":578,"title":"Revert a plaintext hexdump back into binary, and save it as a binary file","rawContent":"xxd -r -p {{input_file}} {{output_file}}"},{"id":2641,"programId":579,"title":"Compress a file","rawContent":"xz {{file}}"},{"id":2642,"programId":579,"title":"Decompress a file","rawContent":"xz -d {{file.xz}}"},{"id":2643,"programId":579,"title":"Decompress a file and write to stdout","rawContent":"xz -dc {{file.xz}}"},{"id":2644,"programId":579,"title":"Compress a file, but don't delete the original","rawContent":"xz -k {{file}}"},{"id":2645,"programId":579,"title":"Compress a file using the fastest compression","rawContent":"xz -0 {{file}}"},{"id":2646,"programId":579,"title":"Compress a file using the best compression","rawContent":"xz -9 {{file}}"},{"id":2647,"programId":580,"title":"Install a module globally","rawContent":"yarn global add {{module_name}}"},{"id":2648,"programId":580,"title":"Install all dependencies referenced in the package.json file","rawContent":"yarn"},{"id":2649,"programId":580,"title":"Install a module and save it as a dependency to the package.json file (add --dev to save as a dev dependency)","rawContent":"yarn add {{module_name}}@{{version}}"},{"id":2650,"programId":580,"title":"Uninstall a module and remove it from the package.json file","rawContent":"yarn remove {{module_name}}"},{"id":2651,"programId":580,"title":"Interactively create a package.json file","rawContent":"yarn init"},{"id":2652,"programId":580,"title":"Identify whether a module is a dependency and list other modules that depend upon it","rawContent":"yarn why {{module_name}}"},{"id":2653,"programId":581,"title":"Repeatedly output \"message\"","rawContent":"yes {{message}}"},{"id":2654,"programId":581,"title":"Repeatedly output \"y\"","rawContent":"yes"},{"id":2655,"programId":582,"title":"Create a new scaffolded site, with sqlite as backend, in the \"my-project\" directory","rawContent":"stack new {{my-project}} {{yesod-sqlite}}"},{"id":2656,"programId":582,"title":"Install the Yesod CLI tool within a Yesod scaffolded site","rawContent":"stack build yesod-bin cabal-install --install-ghc"},{"id":2657,"programId":582,"title":"Start development server","rawContent":"stack exec -- yesod devel"},{"id":2658,"programId":582,"title":"Touch files with altered Template Haskell dependencies","rawContent":"stack exec -- yesod touch"},{"id":2659,"programId":582,"title":"Deploy application using Keter (Yesod's deployment manager)","rawContent":"stack exec -- yesod keter"},{"id":2660,"programId":583,"title":"Download a video or playlist","rawContent":"youtube-dl {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"},{"id":2661,"programId":583,"title":"Download the audio from a video and convert it to an MP3","rawContent":"youtube-dl -x --audio-format {{mp3}} {{url}}"},{"id":2662,"programId":583,"title":"Download video(s) as MP4 files with custom filenames","rawContent":"youtube-dl --format {{mp4}} --output {{\"%(title) by %(uploader) on %(upload_date) in %(playlist).%(ext)\"}} {{url}}"},{"id":2663,"programId":583,"title":"Download a video and save its description, metadata, annotations, subtitles, and thumbnail","rawContent":"youtube-dl --write-description --write-info-json --write-annotations --write-sub --write-thumbnail {{url}}"},{"id":2664,"programId":583,"title":"From a playlist, download all \"Let's Play\" videos that aren't marked \"NSFW\" or age-restricted for 7 year-olds","rawContent":"youtube-dl --match-title {{\"let's play\"}} --age-limit {{7}} --reject-title {{\"nsfw\"}} {{playlist_url}}"},{"id":2665,"programId":584,"title":"Go to a directory that contains \"foo\" in the name","rawContent":"z {{foo}}"},{"id":2666,"programId":584,"title":"Go to a directory that contains \"foo\" and then \"bar\"","rawContent":"z {{foo}} {{bar}}"},{"id":2667,"programId":584,"title":"Go to the highest-ranked directory matching \"foo\"","rawContent":"z -r {{foo}}"},{"id":2668,"programId":584,"title":"Go to the most recently accessed directory matching \"foo\"","rawContent":"z -t {{foo}}"},{"id":2669,"programId":584,"title":"List all directories in `z`'s database matching \"foo\"","rawContent":"z -l {{foo}}"},{"id":2670,"programId":584,"title":"Remove the current directory from `z`'s database","rawContent":"z -x ."},{"id":2671,"programId":585,"title":"Process an image file","rawContent":"zbarimg {{image_file}}"},{"id":2672,"programId":586,"title":"Print the uncompressed contents of a gzipped file to the standard output","rawContent":"zcat {{file.txt.gz}}"},{"id":2673,"programId":587,"title":"Show detailed configuration of all mounted ZFS zpools","rawContent":"zdb"},{"id":2674,"programId":587,"title":"Show detailed configuration for a specific ZFS pool","rawContent":"zdb -C {{poolname}}"},{"id":2675,"programId":587,"title":"Show statistics about number, size and deduplication of blocks","rawContent":"zdb -b {{poolname}}"},{"id":2676,"programId":588,"title":"List all available zfs filesystems","rawContent":"zfs list"},{"id":2677,"programId":588,"title":"Create a new ZFS filesystem","rawContent":"zfs create {{pool_name/filesystem_name}}"},{"id":2678,"programId":588,"title":"Delete a ZFS filesystem","rawContent":"zfs destroy {{pool_name/filesystem_name}}"},{"id":2679,"programId":588,"title":"Create a Snapshot of a ZFS filesystem","rawContent":"zfs snapshot {{pool_name/filesystem_name}}@{{snapshot_name}}"},{"id":2680,"programId":588,"title":"Enable compression on a filesystem","rawContent":"zfs set compression=on {{pool_name/filesystem_name}}"},{"id":2681,"programId":588,"title":"Change mountpoint for a filesystem","rawContent":"zfs set mountpoint={{/my/mount/path}} {{pool_name/filesystem_name}}"},{"id":2682,"programId":589,"title":"Package and compress a directory and its contents, [r]ecursively","rawContent":"zip -r {{compressed.zip}} {{/path/to/dir}}"},{"id":2683,"programId":589,"title":"E[x]clude unwanted files from being added to the compressed archive","rawContent":"zip -r {{compressed.zip}} {{path/to/dir}} -x {{path/to/exclude}}"},{"id":2684,"programId":589,"title":"Archive a directory and its contents with the highest level [9] of compression","rawContent":"zip -r -{{9}} {{compressed.zip}} {{/path/to/dir}}"},{"id":2685,"programId":589,"title":"Package and compress multiple directories and files","rawContent":"zip -r {{compressed.zip}} {{/path/to/dir1 /path/to/dir2 /path/to/file}}"},{"id":2686,"programId":589,"title":"Create an encrypted archive (user will be prompted for a password)","rawContent":"zip -e -r {{compressed.zip}} {{path/to/dir}}"},{"id":2687,"programId":589,"title":"Add files to an existing zip file","rawContent":"zip {{compressed.zip}} {{path/to/file}}"},{"id":2688,"programId":589,"title":"Delete files from an existing zip file","rawContent":"zip -d {{compressed.zip}} \"{{foo/*.tmp}}\""},{"id":2689,"programId":589,"title":"Archive a directory and its contents to a multi-part [s]plit zip file (e.g. 3GB parts)","rawContent":"zip -r -s {{3g}} {{compressed.zip}} {{path/to/dir}}"},{"id":2690,"programId":590,"title":"Page through a compressed archive with `less`","rawContent":"zless {{file.txt.gz}}"},{"id":2691,"programId":591,"title":"Show the configuration and status of all ZFS zpools","rawContent":"zpool status"},{"id":2692,"programId":591,"title":"Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive","rawContent":"zpool scrub {{pool_name}}"},{"id":2693,"programId":591,"title":"List zpools available for import","rawContent":"zpool import"},{"id":2694,"programId":591,"title":"Import a zpool","rawContent":"zpool import {{pool_name}}"},{"id":2695,"programId":591,"title":"Export a zpool (unmount all filesystems)","rawContent":"zpool export {{pool_name}}"},{"id":2696,"programId":591,"title":"Show the history of all pool operations","rawContent":"zpool history {{pool_name}}"},{"id":2697,"programId":591,"title":"Create a mirrored pool","rawContent":"zpool create {{pool_name}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}"},{"id":2698,"programId":592,"title":"Start interactive command line interpreter","rawContent":"zsh"},{"id":2699,"programId":592,"title":"Execute command passed as parameter","rawContent":"zsh -c {{command}}"},{"id":2700,"programId":592,"title":"Run commands from file (script)","rawContent":"zsh {{file}}"},{"id":2701,"programId":592,"title":"Run commands from file and print them as they are executed","rawContent":"zsh -x {{file}}"},{"id":2702,"programId":593,"title":"Create a new user with a default home directory and prompt the user to set a password","rawContent":"adduser {{username}}"},{"id":2703,"programId":593,"title":"Create a new user without a home directory","rawContent":"adduser --no-create-home {{username}}"},{"id":2704,"programId":593,"title":"Create a new user with a home directory at the specified path","rawContent":"adduser --home {{path/to/home}} {{username}}"},{"id":2705,"programId":593,"title":"Create a new user with the specified shell set as the login shell","rawContent":"adduser --shell {{path/to/shell}} {{username}}"},{"id":2706,"programId":593,"title":"Create a new user belonging to the specified group","rawContent":"adduser --ingroup {{group}} {{username}}"},{"id":2707,"programId":594,"title":"Open alpine normally","rawContent":"alpine"},{"id":2708,"programId":594,"title":"Open alpine directly to the message composition screen to send an email to a given email address","rawContent":"alpine {{email@example.net}}"},{"id":2709,"programId":594,"title":"Quit alpine","rawContent":"'q' then 'y'"},{"id":2710,"programId":595,"title":"Start the Apache daemon. Throw a message if it is already running","rawContent":"sudo apache2ctl start"},{"id":2711,"programId":595,"title":"Stop the Apache daemon","rawContent":"sudo apache2ctl stop"},{"id":2712,"programId":595,"title":"Restart the Apache daemon","rawContent":"sudo apache2ctl restart"},{"id":2713,"programId":595,"title":"Test syntax of the configuration file","rawContent":"sudo apache2ctl -t"},{"id":2714,"programId":595,"title":"List loaded modules","rawContent":"sudo apache2ctl -M"},{"id":2715,"programId":596,"title":"Update repository indexes from all remote repositories","rawContent":"apk update"},{"id":2716,"programId":596,"title":"Install a new package","rawContent":"apk add {{package}}"},{"id":2717,"programId":596,"title":"Remove a package","rawContent":"apk del {{package}}"},{"id":2718,"programId":596,"title":"Repair package or upgrade it without modifying main dependencies","rawContent":"apk fix {{package}}"},{"id":2719,"programId":596,"title":"Search package via keyword","rawContent":"apk search {{keyword}}"},{"id":2720,"programId":596,"title":"Get info about a specific package","rawContent":"apk info {{package}}"},{"id":2721,"programId":597,"title":"Search for a package in your current sources","rawContent":"apt-cache search {{query}}"},{"id":2722,"programId":597,"title":"Show information about a package","rawContent":"apt-cache show {{package}}"},{"id":2723,"programId":597,"title":"Show whether a package is installed and up to date","rawContent":"apt-cache policy {{package}}"},{"id":2724,"programId":597,"title":"Show dependencies for a package","rawContent":"apt-cache depends {{package}}"},{"id":2725,"programId":597,"title":"Show packages that depend on a particular package","rawContent":"apt-cache rdepends {{package}}"},{"id":2726,"programId":598,"title":"Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands)","rawContent":"apt-get update"},{"id":2727,"programId":598,"title":"Install a package, or update it to the latest available version","rawContent":"apt-get install {{package}}"},{"id":2728,"programId":598,"title":"Remove a package","rawContent":"apt-get remove {{package}}"},{"id":2729,"programId":598,"title":"Upgrade all installed packages to their newest available versions","rawContent":"apt-get upgrade"},{"id":2730,"programId":598,"title":"Remove all packages that are no longer needed","rawContent":"apt-get autoremove"},{"id":2731,"programId":598,"title":"Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies","rawContent":"apt-get dist-upgrade"},{"id":2732,"programId":599,"title":"List trusted keys","rawContent":"apt-key list"},{"id":2733,"programId":599,"title":"Add a key to the trusted keystore","rawContent":"apt-key add {{public_key_file.asc}}"},{"id":2734,"programId":599,"title":"Delete a key from the trusted keystore","rawContent":"apt-key del {{key_id}}"},{"id":2735,"programId":599,"title":"Add a remote key to the trusted keystore","rawContent":"wget -qO - {{https://host.tld/filename.key}} | apt-key add -"},{"id":2736,"programId":599,"title":"Add a key from keyserver with only key id","rawContent":"apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}"},{"id":2737,"programId":600,"title":"Update the list of available packages and versions (it's recommended to run this before other `apt` commands)","rawContent":"sudo apt update"},{"id":2738,"programId":600,"title":"Search for a given package","rawContent":"apt search {{package}}"},{"id":2739,"programId":600,"title":"Show information for a package","rawContent":"apt show {{package}}"},{"id":2740,"programId":600,"title":"Install a package, or update it to the latest available version","rawContent":"sudo apt install {{package}}"},{"id":2741,"programId":600,"title":"Remove a package (using `purge` instead also removes its configuration files)","rawContent":"sudo apt remove {{package}}"},{"id":2742,"programId":600,"title":"Upgrade all installed packages to their newest available versions","rawContent":"sudo apt upgrade"},{"id":2743,"programId":601,"title":"Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands","rawContent":"aptitude update"},{"id":2744,"programId":601,"title":"Install a new package and its dependencies","rawContent":"aptitude install {{package}}"},{"id":2745,"programId":601,"title":"Search for a package","rawContent":"aptitude search {{package}}"},{"id":2746,"programId":601,"title":"Remove a package and all packages depending on it","rawContent":"aptitude remove {{package}}"},{"id":2747,"programId":601,"title":"Upgrade installed packages to newest available versions","rawContent":"aptitude upgrade"},{"id":2748,"programId":601,"title":"Upgrade installed packages (like `aptitude upgrade`) including removing obsolete packages and installing additional packages to meet new package dependencies","rawContent":"aptitude full-upgrade"},{"id":2749,"programId":602,"title":"Show system information","rawContent":"archey"},{"id":2750,"programId":603,"title":"Scan the current local network","rawContent":"arp-scan --localnet"},{"id":2751,"programId":603,"title":"Scan an IP network with a custom bitmask","rawContent":"arp-scan {{192.168.1.1}}/{{24}}"},{"id":2752,"programId":603,"title":"Scan an IP network within a custom range","rawContent":"arp-scan {{127.0.0.0}}-{{127.0.0.31}}"},{"id":2753,"programId":603,"title":"Scan an IP network with a custom net mask","rawContent":"arp-scan {{10.0.0.0}}:{{255.255.255.0}}"},{"id":2754,"programId":604,"title":"Assemble a file, writing the output to a.out","rawContent":"as {{file.s}}"},{"id":2755,"programId":604,"title":"Assemble the output to a given file","rawContent":"as {{file.s}} -o {{out.o}}"},{"id":2756,"programId":604,"title":"Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers)","rawContent":"as -f {{file.s}}"},{"id":2757,"programId":604,"title":"Include a given path to the list of directories to search for files specified in .include directives","rawContent":"as -I {{path/to/directory}} {{file.s}}"},{"id":2758,"programId":605,"title":"Open an `at` prompt to create a new set of scheduled commands, press `Ctrl + D` to save and exit","rawContent":"at {{hh:mm:ss}}"},{"id":2759,"programId":605,"title":"Execute the commands and email the result using a local mailing program such as sendmail","rawContent":"at {{hh:mm:ss}} -m"},{"id":2760,"programId":605,"title":"Execute a script at the given time","rawContent":"at {{hh:mm:ss}} -f {{path/to/file}}"},{"id":2761,"programId":606,"title":"Display the current configuration (or dry run)","rawContent":"authconfig --test"},{"id":2762,"programId":606,"title":"Configure the server to use a different password hashing algorithm","rawContent":"authconfig --update --passalgo={{algorithm}}"},{"id":2763,"programId":606,"title":"Enable LDAP authentication","rawContent":"authconfig --update --enableldapauth"},{"id":2764,"programId":606,"title":"Disable LDAP authentication","rawContent":"authconfig --update --disableldapauth"},{"id":2765,"programId":606,"title":"Enable Network Information Service (NIS)","rawContent":"authconfig --update --enablenis"},{"id":2766,"programId":606,"title":"Enable Kerberos","rawContent":"authconfig --update --enablekrb5"},{"id":2767,"programId":606,"title":"Enable Winbind (Active Directory) authentication","rawContent":"authconfig --update --enablewinbindauth"},{"id":2768,"programId":606,"title":"Enable local authorization","rawContent":"authconfig --update --enablelocauthorize"},{"id":2769,"programId":607,"title":"Play a beep","rawContent":"beep"},{"id":2770,"programId":607,"title":"Play a beep that repeats","rawContent":"beep -r {{repetitions}}"},{"id":2771,"programId":607,"title":"Play a beep at a specified frequency (Hz) and duration (milliseconds)","rawContent":"beep -f {{frequency}} -l {{duration}}"},{"id":2772,"programId":607,"title":"Play each new frequency and duration as a distinct beep","rawContent":"beep -f {{frequency}} -l {{duration}} -n -f {{frequency} -l {{duration}}"},{"id":2773,"programId":607,"title":"Play the C major scale","rawContent":"beep -f 262 -n -f 294 -n -f 330 -n -f 349 -n -f 392 -n -f 440 -n -f 494 -n -f 523"},{"id":2774,"programId":608,"title":"Display the list of all the interfaces","rawContent":"bmon -a"},{"id":2775,"programId":608,"title":"Display data transfer rates in bits per second","rawContent":"bmon -b"},{"id":2776,"programId":608,"title":"Set policy to define which network interface(s) is/are displayed","rawContent":"bmon -p {{interface_1,interface_2,interface_3}}"},{"id":2777,"programId":608,"title":"Set interval (in seconds) in which rate per counter is calculated","rawContent":"bmon -R {{2.0}}"},{"id":2778,"programId":609,"title":"Search for available formulas","rawContent":"brew search {{text}}"},{"id":2779,"programId":609,"title":"Install the latest stable version of a formula (use `--devel` for development versions)","rawContent":"brew install {{formula}}"},{"id":2780,"programId":609,"title":"List all installed formulae","rawContent":"brew list"},{"id":2781,"programId":609,"title":"Update an installed formula (if no formula name is given, all installed formulae are updated)","rawContent":"brew upgrade {{formula}}"},{"id":2782,"programId":609,"title":"Fetch the newest version of Linuxbrew and all formulae from GitHub","rawContent":"brew update"},{"id":2783,"programId":609,"title":"Show formulae that have a more recent version available","rawContent":"brew outdated"},{"id":2784,"programId":609,"title":"Display information about a formula (version, installation path, dependencies, etc.)","rawContent":"brew info {{formula}}"},{"id":2785,"programId":609,"title":"Check your Linuxbrew installation for potential problems","rawContent":"brew doctor"},{"id":2786,"programId":610,"title":"Compress file","rawContent":"bzip2 {{path/to/file_to_compress}}"},{"id":2787,"programId":610,"title":"Decompress file","rawContent":"bzip2 -d {{path/to/compressed_file.bz2}}"},{"id":2788,"programId":610,"title":"Decompress to console","rawContent":"bzip2 -dc {{path/to/compressed_file.bz2}}"},{"id":2789,"programId":611,"title":"Display a calendar for the current month","rawContent":"cal"},{"id":2790,"programId":611,"title":"Display previous, current and next month","rawContent":"cal --three"},{"id":2791,"programId":611,"title":"Use monday as the first day of the week","rawContent":"cal --monday"},{"id":2792,"programId":611,"title":"Display a calendar for a specific year (4 digits)","rawContent":"cal {{year}}"},{"id":2793,"programId":611,"title":"Display a calendar for a specific month and year","rawContent":"cal {{month}} {{year}}"},{"id":2794,"programId":612,"title":"Start calc in interactive mode","rawContent":"calc"},{"id":2795,"programId":612,"title":"Perform a calculation in non-interactive mode","rawContent":"calc -p '{{85 * (36 / 4)}}'"},{"id":2796,"programId":613,"title":"Obtain a new certificate via webroot authorization, but do not install it automatically","rawContent":"sudo certbot certonly --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}}"},{"id":2797,"programId":613,"title":"Obtain a new certificate via nginx authorization, installing the new certificate automatically","rawContent":"sudo certbot --nginx --domain {{subdomain.example.com}}"},{"id":2798,"programId":613,"title":"Obtain a new certificate via apache authorization, installing the new certificate automatically","rawContent":"sudo certbot --apache --domain {{subdomain.example.com}}"},{"id":2799,"programId":613,"title":"Renew all Let's Encrypt certificates that expire in 30 days or less (don't forget to restart any servers that use them afterwards)","rawContent":"sudo certbot renew"},{"id":2800,"programId":613,"title":"Simulate the obtaining of a new certificate, but don't actually save any new certificates to disk","rawContent":"sudo certbot --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}} --dry-run"},{"id":2801,"programId":613,"title":"Obtain an untrusted test certificate instead","rawContent":"sudo certbot --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}} --test-cert"},{"id":2802,"programId":614,"title":"List password information for the user","rawContent":"chage -l {{user_name}}"},{"id":2803,"programId":614,"title":"Enable password expiration in 10 days","rawContent":"sudo chage -M {{10}} {{user_name}}"},{"id":2804,"programId":614,"title":"Disable password expiration","rawContent":"sudo chage -M -1 {{user_name}}"},{"id":2805,"programId":614,"title":"Set account expiration date","rawContent":"sudo chage -E {{YYYY-MM-DD}}"},{"id":2806,"programId":614,"title":"Force user to change password on next log in","rawContent":"sudo chage -d 0"},{"id":2807,"programId":615,"title":"Make a file or folder immutable to changes and deletion, even by superuser","rawContent":"chattr +i {{path}}"},{"id":2808,"programId":615,"title":"Make a file or folder mutable","rawContent":"chattr -i {{path}}"},{"id":2809,"programId":615,"title":"Recursively make an entire folder and contents immutable","rawContent":"chattr -R +i {{folder}}"},{"id":2810,"programId":616,"title":"Run command as new root directory","rawContent":"chroot {{/path/to/new/root}} {{command}}"},{"id":2811,"programId":616,"title":"Specify user and group (ID or name) to use","rawContent":"chroot --userspec={{user:group}}"},{"id":2812,"programId":617,"title":"Clear the screen (equivalent to typing Control-L when using the bash shell)","rawContent":"clear"},{"id":2813,"programId":618,"title":"Open cmus from specified directory","rawContent":"cmus {{path/to/directory}}"},{"id":2814,"programId":618,"title":"Add file/directory to library","rawContent":":add {{path/to/file_or_directory}}"},{"id":2815,"programId":618,"title":"Pause/unpause current song","rawContent":"c"},{"id":2816,"programId":618,"title":"Toggle shuffle mode on/off","rawContent":"s"},{"id":2817,"programId":618,"title":"Quit cmus","rawContent":"q"},{"id":2818,"programId":619,"title":"List all commands that you could run","rawContent":"compgen -c"},{"id":2819,"programId":619,"title":"List all aliases","rawContent":"compgen -a"},{"id":2820,"programId":619,"title":"List all functions that you could run","rawContent":"compgen -A function"},{"id":2821,"programId":619,"title":"Show shell reserved key words","rawContent":"compgen -k"},{"id":2822,"programId":619,"title":"See all available commands/aliases starting with 'ls'","rawContent":"compgen -ac {{ls}}"},{"id":2823,"programId":620,"title":"Compose action can be used to compose any existing file or new on default mailcap edit tool","rawContent":"compose {{filename}}"},{"id":2824,"programId":620,"title":"With `run-mailcap`","rawContent":"run-mailcap --action=compose {{filename}}"},{"id":2825,"programId":621,"title":"Launch with default, built-in config","rawContent":"conky"},{"id":2826,"programId":621,"title":"Create a new default config","rawContent":"conky -C > ~/.conkyrc"},{"id":2827,"programId":621,"title":"Launch conky with a given config file","rawContent":"conky -c {{path/to/config}}"},{"id":2828,"programId":621,"title":"Start in the background (daemonize)","rawContent":"conky -d"},{"id":2829,"programId":621,"title":"Align conky on the desktop","rawContent":"conky -a {{{top,bottom,middle}_{left,right,middle}}}"},{"id":2830,"programId":621,"title":"Pause for 5 seconds at startup before launching","rawContent":"conky -p {{5}}"},{"id":2831,"programId":622,"title":"Start calculating, defaulting to all CPU cores and 1 second refresh interval","rawContent":"sudo cpufreq-aperf"},{"id":2832,"programId":622,"title":"Start calculating for CPU 1 only","rawContent":"sudo cpufreq-aperf -c {{1}}"},{"id":2833,"programId":622,"title":"Start calculating with a 3 seconds refresh interval for all CPU cores","rawContent":"sudo cpufreq-aperf -i {{3}}"},{"id":2834,"programId":622,"title":"Calculate only once","rawContent":"sudo cpufreq-aperf -o"},{"id":2835,"programId":623,"title":"Show CPU frequency information for all CPUs","rawContent":"cpufreq-info"},{"id":2836,"programId":623,"title":"Show CPU frequency information for the specified CPU","rawContent":"cpufreq-info -c {{cpu_number}}"},{"id":2837,"programId":623,"title":"Show the allowed minimum and maximum CPU frequency","rawContent":"cpufreq-info -l"},{"id":2838,"programId":623,"title":"Show the current minimum and maximum CPU frequency and policy in table format","rawContent":"cpufreq-info -o"},{"id":2839,"programId":623,"title":"Show available CPU frequency policies","rawContent":"cpufreq-info -g"},{"id":2840,"programId":623,"title":"Show current CPU work frequency in a human-readable format, according to the cpufreq kernel module","rawContent":"cpufreq-info -f -m"},{"id":2841,"programId":623,"title":"Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root)","rawContent":"sudo cpufreq-info -w -m"},{"id":2842,"programId":624,"title":"Set the CPU frequency policy of CPU 1 to \"userspace\"","rawContent":"sudo cpufreq-set -c {{1}} -g {{userspace}}"},{"id":2843,"programId":624,"title":"Set the current minimum CPU frequency of CPU 1","rawContent":"sudo cpufreq-set -c {{1}} --min {{min_frequency}}"},{"id":2844,"programId":624,"title":"Set the current maximum CPU frequency of CPU 1","rawContent":"sudo cpufreq-set -c {{1}} --max {{max_frequency}}"},{"id":2845,"programId":624,"title":"Set the current work frequency of CPU 1","rawContent":"sudo cpufreq-set -c {{1}} -f {{work_frequency}}"},{"id":2846,"programId":625,"title":"Display information for all CPUs","rawContent":"cpuid"},{"id":2847,"programId":625,"title":"Display information only for the current CPU","rawContent":"cpuid -1"},{"id":2848,"programId":625,"title":"Display raw hex information with no decoding","rawContent":"cpuid -r"},{"id":2849,"programId":626,"title":"Initialize a LUKS volume (overwrites all data on the partition)","rawContent":"cryptsetup luksFormat {{/dev/sda1}}"},{"id":2850,"programId":626,"title":"Open a LUKS volume and create a decrypted mapping at /dev/mapper/{{target}}","rawContent":"cryptsetup luksOpen {{/dev/sda1}} {{target}}"},{"id":2851,"programId":626,"title":"Remove an existing mapping","rawContent":"cryptsetup luksClose {{target}}"},{"id":2852,"programId":626,"title":"Change the LUKS volume's passphrase","rawContent":"cryptsetup luksChangeKey {{/dev/sda1}}"},{"id":2853,"programId":627,"title":"Start interactive shell","rawContent":"dash"},{"id":2854,"programId":627,"title":"Execute a command","rawContent":"dash -c \"{{command}}\""},{"id":2855,"programId":627,"title":"Run commands from a file","rawContent":"dash {{file.sh}}"},{"id":2856,"programId":627,"title":"Run commands from a file, logging all commands executed to the terminal","rawContent":"dash -x {{file.sh}}"},{"id":2857,"programId":628,"title":"Get max, min, mean and median of a single column of numbers","rawContent":"seq 3 | datamash max 1 min 1 mean 1 median 1"},{"id":2858,"programId":628,"title":"Get the mean of a single column of float numbers (floats must use \",\" and not \".\")","rawContent":"echo -e '1.0\\n2.5\\n3.1\\n4.3\\n5.6\\n5.7' | tr '.' ',' | datamash mean 1"},{"id":2859,"programId":628,"title":"Get the mean of a single column of numbers with a given decimal precision","rawContent":"echo -e '1\\n2\\n3\\n4\\n5\\n5' | datamash -R {{number_of_decimals_wanted}} mean 1"},{"id":2860,"programId":628,"title":"Get the mean of a single column of numbers ignoring \"Na\" and \"NaN\" (literal) strings","rawContent":"echo -e '1\\n2\\nNa\\n3\\nNaN' | datamash --narm mean 1"},{"id":2861,"programId":629,"title":"Display the current date using the default locale's format","rawContent":"date +\"%c\""},{"id":2862,"programId":629,"title":"Display the current date in UTC and ISO 8601 format","rawContent":"date -u +\"%Y-%m-%dT%H:%M:%SZ\""},{"id":2863,"programId":629,"title":"Display the current date as a Unix timestamp (seconds since the Unix epoch)","rawContent":"date +%s"},{"id":2864,"programId":629,"title":"Display a specific date (represented as a Unix timestamp) using the default format","rawContent":"date -d @1473305798"},{"id":2865,"programId":630,"title":"Run the daemon with a configuration file","rawContent":"dbus-daemon --config-file {{path/to/file}}"},{"id":2866,"programId":630,"title":"Run the daemon with the standard per-login-session message bus configuration","rawContent":"dbus-daemon --session"},{"id":2867,"programId":630,"title":"Run the daemon with the standard systemwide message bus configuration","rawContent":"dbus-daemon --system"},{"id":2868,"programId":630,"title":"Set the address to listen on and override the configuration value for it","rawContent":"dbus-daemon --address {{address}}"},{"id":2869,"programId":630,"title":"Output the process id to stdout","rawContent":"dbus-daemon --print-pid"},{"id":2870,"programId":630,"title":"Force the message bus to write to the system log for messages","rawContent":"dbus-daemon --syslog"},{"id":2871,"programId":631,"title":"Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso) and show the progress","rawContent":"dd if={{file.iso}} of=/dev/{{usb_drive}} status=progress"},{"id":2872,"programId":631,"title":"Clone a drive to another drive with 4MB block, ignore error and show progress","rawContent":"dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4M conv=noerror status=progress"},{"id":2873,"programId":631,"title":"Generate a file of 100 random bytes by using kernel random driver","rawContent":"dd if=/dev/urandom of={{random_file}} bs=100 count=1"},{"id":2874,"programId":631,"title":"Benchmark the write performance of a disk","rawContent":"dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000"},{"id":2875,"programId":631,"title":"Check progress of an ongoing dd operation (Run this command from another shell)","rawContent":"kill -USR1 $(pgrep ^dd)"},{"id":2876,"programId":632,"title":"Show kernel messages","rawContent":"dmesg"},{"id":2877,"programId":632,"title":"Show kernel error messages","rawContent":"dmesg --level err"},{"id":2878,"programId":632,"title":"Show kernel messages and keep reading new ones, similar to `tail -f` (available in kernels 3.5.0 and newer)","rawContent":"dmesg -w"},{"id":2879,"programId":632,"title":"Show how much physical memory is available on this system","rawContent":"dmesg | grep -i memory"},{"id":2880,"programId":632,"title":"Show kernel messages 1 page at a time","rawContent":"dmesg | less"},{"id":2881,"programId":633,"title":"Show all DMI table contents","rawContent":"sudo dmidecode"},{"id":2882,"programId":633,"title":"Show the BIOS version","rawContent":"sudo dmidecode -s bios-version"},{"id":2883,"programId":633,"title":"Show the system's serial number","rawContent":"sudo dmidecode -s system-serial-number"},{"id":2884,"programId":633,"title":"Show BIOS information","rawContent":"sudo dmidecode -t bios"},{"id":2885,"programId":633,"title":"Show CPU information","rawContent":"sudo dmidecode -t processor"},{"id":2886,"programId":633,"title":"Show memory information","rawContent":"sudo dmidecode -t memory"},{"id":2887,"programId":634,"title":"Synchronize list of packages and versions available. This should be run first, before running subsequent dnf commands","rawContent":"dnf update"},{"id":2888,"programId":634,"title":"Install a new package","rawContent":"dnf install {{package}}"},{"id":2889,"programId":634,"title":"Install a new package and assume yes to all questions","rawContent":"dnf -y install {{package}}"},{"id":2890,"programId":634,"title":"Remove a package","rawContent":"dnf remove {{package}}"},{"id":2891,"programId":634,"title":"Upgrade installed packages to newest available versions","rawContent":"dnf upgrade"},{"id":2892,"programId":635,"title":"List all installed packages","rawContent":"dpkg-query -l"},{"id":2893,"programId":635,"title":"List installed packages matching a pattern","rawContent":"dpkg-query -l '{{pattern}}'"},{"id":2894,"programId":635,"title":"List all files installed by a package","rawContent":"dpkg-query -L {{package_name}}"},{"id":2895,"programId":635,"title":"Show information about a package","rawContent":"dpkg-query -s {{package_name}}"},{"id":2896,"programId":636,"title":"Install a package","rawContent":"dpkg -i {{/path/to/file}}"},{"id":2897,"programId":636,"title":"Remove a package","rawContent":"dpkg -r {{package_name}}"},{"id":2898,"programId":636,"title":"List installed packages","rawContent":"dpkg -l {{pattern}}"},{"id":2899,"programId":636,"title":"List package contents","rawContent":"dpkg -L {{package_name}}"},{"id":2900,"programId":636,"title":"Find out which package owns a file","rawContent":"dpkg -S {{file_name}}"},{"id":2901,"programId":637,"title":"List the sizes of a folder and any subfolders, in the given unit (B/KB/MB)","rawContent":"du -{{b|k|m}} {{path/to/folder}}"},{"id":2902,"programId":637,"title":"List the sizes of a folder and any subfolders, in human-readable form (i.e. auto-selecting the appropriate unit for each size)","rawContent":"du -h {{path/to/folder}}"},{"id":2903,"programId":637,"title":"Show the size of a single folder, in human readable units","rawContent":"du -sh {{path/to/folder}}"},{"id":2904,"programId":637,"title":"List the human-readable sizes of a folder and of all the files and folders within it","rawContent":"du -ah {{path/to/folder}}"},{"id":2905,"programId":637,"title":"List the human-readable sizes of a folder and any subfolders, up to N levels deep","rawContent":"du -h --max-depth=N {{path/to/folder}}"},{"id":2906,"programId":637,"title":"List the human-readable size of all .jpg files in subfolders of the current folder, and show a cumulative total at the end","rawContent":"du -ch */*.jpg"},{"id":2907,"programId":638,"title":"Create or update the package manifest","rawContent":"ebuild {{path/to/file.ebuild}} manifest"},{"id":2908,"programId":638,"title":"Clean the temporary build directories for the build file","rawContent":"ebuild {{path/to/file.ebuild}} clean"},{"id":2909,"programId":638,"title":"Fetch sources if they do not exist","rawContent":"ebuild {{path/to/file.ebuild}} fetch"},{"id":2910,"programId":638,"title":"Extract the sources to a temporary build directory","rawContent":"ebuild {{path/to/file.ebuild}} unpack"},{"id":2911,"programId":638,"title":"Compile the extracted sources","rawContent":"ebuild {{path/to/file.ebuild}} compile"},{"id":2912,"programId":638,"title":"Install the package to a temporary install directory","rawContent":"ebuild {{path/to/file.ebuild}} install"},{"id":2913,"programId":638,"title":"Install the temporary files to the live filesystem","rawContent":"ebuild {{path/to/file.ebuild}} qmerge"},{"id":2914,"programId":638,"title":"Fetch, unpack, compile, install and qmerge the specified ebuild file","rawContent":"ebuild {{path/to/file.ebuild}} merge"},{"id":2915,"programId":639,"title":"Edit action can be used to view any file on default mailcap explorer","rawContent":"edit {{filename}}"},{"id":2916,"programId":639,"title":"With `run-mailcap`","rawContent":"run-mailcap --action=edit {{filename}}"},{"id":2917,"programId":640,"title":"Edit quota of the current user","rawContent":"edquota --user $(whoami)"},{"id":2918,"programId":640,"title":"Edit quota of a specific user","rawContent":"sudo edquota --user {{username}}"},{"id":2919,"programId":640,"title":"Edit quota for a group","rawContent":"sudo edquota --group {{group}}"},{"id":2920,"programId":640,"title":"Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas)","rawContent":"sudo edquota --file-system {{filesystem}}"},{"id":2921,"programId":640,"title":"Edit the default grace period","rawContent":"sudo edquota -t"},{"id":2922,"programId":640,"title":"Duplicate a quota to other users","rawContent":"sudo edquota -p {{reference_user}} {{destination_user1}} {{destination_user2}}"},{"id":2923,"programId":641,"title":"Synchronize all packages","rawContent":"emerge --sync"},{"id":2924,"programId":641,"title":"Update all packages, including dependencies","rawContent":"emerge -uDNav @world"},{"id":2925,"programId":641,"title":"Resume a failed updated, skipping the failing package","rawContent":"emerge --resume --skipfirst"},{"id":2926,"programId":641,"title":"Install a new package, with confirmation","rawContent":"emerge -av {{package_name}}"},{"id":2927,"programId":641,"title":"Remove a package, with confirmation","rawContent":"emerge -Cav {{package_name}}"},{"id":2928,"programId":641,"title":"Remove orphaned packages (that were installed only as dependencies)","rawContent":"emerge -avc"},{"id":2929,"programId":641,"title":"Search the package database for a keyword","rawContent":"emerge -S {{keyword}}"},{"id":2930,"programId":642,"title":"Replace environment variables in stdin and output to stdout","rawContent":"echo '{{$HOME}}' | envsubst"},{"id":2931,"programId":642,"title":"Replace environment variables in an input file and output to stdout","rawContent":"envsubst < {{path/to/input}}"},{"id":2932,"programId":642,"title":"Replace environment variables in an input file and output to a file","rawContent":"envsubst < {{path/to/input}} > {{path/to/output}}"},{"id":2933,"programId":642,"title":"Replace environment variables in input from a space-separated list","rawContent":"envsubst {{variables}} < {{path/to/input}}"},{"id":2934,"programId":643,"title":"List all installed packages","rawContent":"equery list '*'"},{"id":2935,"programId":643,"title":"Search for installed packages in the Portage tree and in overlays","rawContent":"equery list -po {{package_name}}"},{"id":2936,"programId":643,"title":"List all packages that depend on a given package","rawContent":"equery depends {{package_name}}"},{"id":2937,"programId":643,"title":"List all packages that a given package depends on","rawContent":"equery depgraph {{package_name}}"},{"id":2938,"programId":643,"title":"List all files installed by a package","rawContent":"equery files --tree {{package_name}}"},{"id":2939,"programId":644,"title":"Call `echo` with the \"foo\" argument","rawContent":"eval \"{{echo foo}}\""},{"id":2940,"programId":644,"title":"Set a variable in the current shell","rawContent":"eval \"{{foo=bar}}\""},{"id":2941,"programId":645,"title":"Convert tabs in each file to spaces, writing to standard output","rawContent":"expand {{file}}"},{"id":2942,"programId":645,"title":"Convert tabs to spaces, reading from standard input","rawContent":"expand"},{"id":2943,"programId":645,"title":"Do not convert tabs after non blanks","rawContent":"expand -i {{file}}"},{"id":2944,"programId":645,"title":"Have tabs a certain number of characters apart, not 8","rawContent":"expand -t={{number}} {{file}}"},{"id":2945,"programId":645,"title":"Use comma separated list of explicit tab positions","rawContent":"expand -t={{list}}"},{"id":2946,"programId":646,"title":"Set a new environment variable","rawContent":"export {{VARIABLE}}={{value}}"},{"id":2947,"programId":646,"title":"Remove an environment variable","rawContent":"export -n {{VARIABLE}}"},{"id":2948,"programId":646,"title":"Append something to the PATH variable","rawContent":"export PATH=$PATH:{{path/to/append}}"},{"id":2949,"programId":647,"title":"Get string length","rawContent":"expr length {{string}}"},{"id":2950,"programId":647,"title":"Evaluate logical or math expression with an operator ('+', '-', '*', '&', '|', etc.). Special symbols should be escaped","rawContent":"expr {{first_argument}} {{operator}} {{second_argument}}"},{"id":2951,"programId":647,"title":"Get position of the first character in 'string' that matches 'substring'","rawContent":"echo $(expr index {{string}} {{substring}})"},{"id":2952,"programId":647,"title":"Extract part of the string","rawContent":"echo $(expr substr {{string}} {{position_to_start}} {{number_of_characters}}"},{"id":2953,"programId":647,"title":"Extract part of the string which matches a regular expression","rawContent":"echo $(expr {{string}} : '\\({{regular_expression}}\\)')"},{"id":2954,"programId":648,"title":"View information about an MP3 file","rawContent":"eyeD3 {{filename.mp3}}"},{"id":2955,"programId":648,"title":"Set the title of an MP3 file","rawContent":"eyeD3 --title {{\"A Title\"}} {{filename.mp3}}"},{"id":2956,"programId":648,"title":"Set the album of all the MP3 files in a directory","rawContent":"eyeD3 --album {{\"Album Name\"}} {{*.mp3}}"},{"id":2957,"programId":648,"title":"Set the front cover art for an MP3 file","rawContent":"eyeD3 --add-image {{front_cover.jpeg}}:FRONT_COVER: {{filename.mp3}}"},{"id":2958,"programId":649,"title":"Open a new VPN connection","rawContent":"f5fpc --start"},{"id":2959,"programId":649,"title":"Open a new VPN connection to a specific host","rawContent":"f5fpc --start --host {{host.example.com}}"},{"id":2960,"programId":649,"title":"Specify a username (user will be prompted for a password)","rawContent":"f5fpc --start --host {{host.example.com}} --username {{user}}"},{"id":2961,"programId":649,"title":"Show the current VPN status","rawContent":"f5fpc --info"},{"id":2962,"programId":649,"title":"Shutdown the VPN connection","rawContent":"f5fpc --stop"},{"id":2963,"programId":650,"title":"Reserve a file taking up 700MB of disk space","rawContent":"fallocate --length {{700M}} {{path/to/file}}"},{"id":2964,"programId":650,"title":"Shrink an already allocated file by 200MB","rawContent":"fallocate --collapse-range --length {{200M}} {{path/to/file}}"},{"id":2965,"programId":650,"title":"Shrink 20MB of space after 100MB in a file","rawContent":"fallocate --collapse-range --offset {{100M}} --length {{20M}} {{path/to/file}}"},{"id":2966,"programId":651,"title":"Get the label of a FAT32 partition","rawContent":"fatlabel {{/dev/sda1}}"},{"id":2967,"programId":651,"title":"Set the label of a FAT32 partition","rawContent":"fatlabel {{/dev/sdc3}} \"{{new_label}}\""},{"id":2968,"programId":652,"title":"Return a list of installed fonts with given name","rawContent":"fc-list | grep '{{DejaVu Serif}}'"},{"id":2969,"programId":653,"title":"Return a sorted list of best matching fonts","rawContent":"fc-match -s '{{DejaVu Serif}}'"},{"id":2970,"programId":654,"title":"Display default information about a font","rawContent":"fc-pattern -d '{{DejaVu Serif}}'"},{"id":2971,"programId":655,"title":"List partitions","rawContent":"fdisk -l"},{"id":2972,"programId":655,"title":"Start the partition manipulator","rawContent":"fdisk {{/dev/sda}}"},{"id":2973,"programId":656,"title":"View images locally or using a URL","rawContent":"feh {{path/to/images}}"},{"id":2974,"programId":656,"title":"View images recursively","rawContent":"feh --recursive {{path/to/images}}"},{"id":2975,"programId":656,"title":"View images without window borders","rawContent":"feh --borderless {{path/to/images}}"},{"id":2976,"programId":656,"title":"Exit after the last image","rawContent":"feh --cycle-once {{path/to/images}}"},{"id":2977,"programId":656,"title":"Set the slideshow cycle delay","rawContent":"feh --slideshow-delay {{seconds}} {{path/to/images}}"},{"id":2978,"programId":656,"title":"Set your wallpaper (centered, filled, maximized, scaled or tiled)","rawContent":"feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}"},{"id":2979,"programId":657,"title":"Generate by directly inputting text","rawContent":"figlet {{input_text}}"},{"id":2980,"programId":657,"title":"Use a custom font file","rawContent":"figlet {{input_text}} -f {{font_file_name}}"},{"id":2981,"programId":657,"title":"Pipe command output through figlet","rawContent":"{{command}} | figlet"},{"id":2982,"programId":657,"title":"Show available figlet fonts","rawContent":"showfigfonts {{optional_string_to_display}}"},{"id":2983,"programId":658,"title":"Give a description of the type of the specified file. Works fine for files with no file extension","rawContent":"file {{filename}}"},{"id":2984,"programId":658,"title":"Look inside a zipped file and determine the file type(s) inside","rawContent":"file -z {{foo.zip}}"},{"id":2985,"programId":658,"title":"Allow file to work with special or device files","rawContent":"file -s {{filename}}"},{"id":2986,"programId":658,"title":"Don't stop at first file type match; keep going until the end of the file","rawContent":"file -k {{filename}}"},{"id":2987,"programId":658,"title":"Determine the mime encoding type of a file","rawContent":"file -i {{filename}}"},{"id":2988,"programId":659,"title":"List all mounted filesystems","rawContent":"findmnt"},{"id":2989,"programId":659,"title":"Search for a device","rawContent":"findmnt {{/dev/sdb1}}"},{"id":2990,"programId":659,"title":"Search for a mountpoint","rawContent":"findmnt {{/}}"},{"id":2991,"programId":659,"title":"Find filesystems in specific type","rawContent":"findmnt -t {{ext4}}"},{"id":2992,"programId":659,"title":"Find filesystems with specific label","rawContent":"findmnt LABEL={{BigStorage}}"},{"id":2993,"programId":660,"title":"View the available firewall zones","rawContent":"firewall-cmd --get-active-zones"},{"id":2994,"programId":660,"title":"View the rules which are currently applied","rawContent":"firewall-cmd --list-all"},{"id":2995,"programId":660,"title":"Permanently open the port for a service in the specified zone (like port `443` when in the `public` zone)","rawContent":"firewall-cmd --permanent --zone={{public}} --add-service={{https}}"},{"id":2996,"programId":660,"title":"Permanently close the port for a service in the specified zone (like port `80` when in the `public` zone)","rawContent":"firewall-cmd --permanent --zone={{public}} --remove-service={{http}}"},{"id":2997,"programId":660,"title":"Reload firewalld to force rule changes to take effect","rawContent":"firewall-cmd --reload"},{"id":2998,"programId":661,"title":"Start an application with the Procfile in the current directory","rawContent":"foreman start"},{"id":2999,"programId":661,"title":"Start an application with a specified Procfile","rawContent":"foreman start -f {{Procfile}}"},{"id":3000,"programId":661,"title":"Start a specific application","rawContent":"foreman start {{process}}"},{"id":3001,"programId":661,"title":"Validate Procfile format","rawContent":"foreman check"},{"id":3002,"programId":661,"title":"Run one-off commands with the process's environment","rawContent":"foreman run {{command}}"},{"id":3003,"programId":661,"title":"Start all processes except the one named \"worker\"","rawContent":"foreman start -m all=1,{{worker}}=0"},{"id":3004,"programId":662,"title":"Display system memory","rawContent":"free"},{"id":3005,"programId":662,"title":"Display memory in Bytes/KB/MB/GB","rawContent":"free -{{b|k|m|g}}"},{"id":3006,"programId":662,"title":"Display memory in human readable units","rawContent":"free -h"},{"id":3007,"programId":662,"title":"Refresh the output every 2 seconds","rawContent":"free -s {{2}}"},{"id":3008,"programId":663,"title":"Check filesystem /dev/sda, reporting any damaged blocks","rawContent":"fsck {{/dev/sda}}"},{"id":3009,"programId":663,"title":"Check filesystem /dev/sda, reporting any damaged blocks and interactively letting the user choose to repair each one","rawContent":"fsck -r {{/dev/sda}}"},{"id":3010,"programId":663,"title":"Check filesystem /dev/sda, reporting any damaged blocks and automatically repairing them","rawContent":"fsck -a {{/dev/sda}}"},{"id":3011,"programId":664,"title":"Identify process using a TCP socket","rawContent":"fuser -n tcp {{port}}"},{"id":3012,"programId":665,"title":"Automatically compile and install a generic kernel","rawContent":"sudo genkernel all"},{"id":3013,"programId":665,"title":"Build and install the bzImage|initramfs|kernel|ramdisk only","rawContent":"sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}"},{"id":3014,"programId":665,"title":"Apply changes to the kernel configuration before compiling and installing","rawContent":"sudo genkernel --menuconfig all"},{"id":3015,"programId":665,"title":"Generate a kernel with a custom name","rawContent":"sudo genkernel --kernname={{custom_name}} all"},{"id":3016,"programId":665,"title":"Use a kernel source outside of the default directory /usr/src/linux","rawContent":"sudo genkernel --kerneldir={{path/to/directory}} all"},{"id":3017,"programId":666,"title":"Get list of all groups","rawContent":"getent group"},{"id":3018,"programId":666,"title":"See the members of a group","rawContent":"getenet group {{group_name}}"},{"id":3019,"programId":666,"title":"Get list of all services","rawContent":"getent services"},{"id":3020,"programId":666,"title":"Find a username by UID","rawContent":"getent passwd 1000"},{"id":3021,"programId":666,"title":"Perform a reverse DNS lookup","rawContent":"getent hosts {{host}}"},{"id":3022,"programId":667,"title":"Display the file access control list","rawContent":"getfacl {{path/to/file_or_folder}}"},{"id":3023,"programId":667,"title":"Display the file access control list with numeric user and group IDs","rawContent":"getfacl -n {{path/to/file_or_folder}}"},{"id":3024,"programId":667,"title":"Display the file access control list with tabular output format","rawContent":"getfacl -t {{path/to/file_or_folder}}"},{"id":3025,"programId":668,"title":"Create a new Linux group","rawContent":"groupadd {{group_name}}"},{"id":3026,"programId":668,"title":"Create new group with a specific groupid","rawContent":"groupadd {{group_name}} -g {{group_id}}"},{"id":3027,"programId":669,"title":"Delete an existing group","rawContent":"groupdel {{group_name}}"},{"id":3028,"programId":670,"title":"Change the group name","rawContent":"groupmod -n {{new_group_name}} {{old_group_name}}"},{"id":3029,"programId":670,"title":"Change the group id","rawContent":"groupmod -g {{new_group_id}} {{old_group_name}}"},{"id":3030,"programId":671,"title":"Power the machine off","rawContent":"halt"},{"id":3031,"programId":671,"title":"Reboot the machine","rawContent":"halt --reboot"},{"id":3032,"programId":672,"title":"Start hardinfo","rawContent":"hardinfo"},{"id":3033,"programId":672,"title":"Print report to standard output","rawContent":"hardinfo -r"},{"id":3034,"programId":672,"title":"Save report to HTML file","rawContent":"hardinfo -r -f html > hardinfo.html"},{"id":3035,"programId":673,"title":"Output the first few lines of a file","rawContent":"head -n {{count_of_lines}} {{filename}}"},{"id":3036,"programId":673,"title":"Output the first few bytes of a file","rawContent":"head -c {{size_in_bytes}} {{filename}}"},{"id":3037,"programId":673,"title":"Output everything but the last few lines of a file","rawContent":"head -n -{{count_of_lines}} {{filename}}"},{"id":3038,"programId":673,"title":"Output everything but the last few bytes of a file","rawContent":"head -c -{{size_in_bytes}} {{filename}}"},{"id":3039,"programId":674,"title":"Print the hexadecimal representation of a file","rawContent":"hexdump {{file}}"},{"id":3040,"programId":674,"title":"Display the input offset in hexadecimal and its ASCII representation in two columns","rawContent":"hexdump -C {{file}}"},{"id":3041,"programId":674,"title":"Display the hexadecimal representation of a file, but interpret only n bytes of the input","rawContent":"hexdump -C -n{{number_of_bytes}} {{file}}"},{"id":3042,"programId":675,"title":"Show current host name","rawContent":"hostname"},{"id":3043,"programId":675,"title":"Show the network address of the host name","rawContent":"hostname -i"},{"id":3044,"programId":675,"title":"Show all network addresses of the host","rawContent":"hostname -I"},{"id":3045,"programId":675,"title":"Show the FQDN (Fully Qualified Domain Name)","rawContent":"hostname --fqdn"},{"id":3046,"programId":675,"title":"Set current host name","rawContent":"hostname {{new_hostname}}"},{"id":3047,"programId":676,"title":"Get the hostname of the computer","rawContent":"hostnamectl"},{"id":3048,"programId":676,"title":"Set the hostname of the computer","rawContent":"sudo hostnamectl set-hostname \"{{some_hostname}}\""},{"id":3049,"programId":677,"title":"Start htop","rawContent":"htop"},{"id":3050,"programId":677,"title":"Start htop displaying only processes owned by given user","rawContent":"htop -u {{user_name}}"},{"id":3051,"programId":677,"title":"Get help about interactive commands","rawContent":"?"},{"id":3052,"programId":678,"title":"Launch a session targeting the default url of http://localhost:8000 or the previous session","rawContent":"http-prompt"},{"id":3053,"programId":678,"title":"Launch a session with a given url","rawContent":"http-prompt {{http://example.com}}"},{"id":3054,"programId":678,"title":"Launch a session with some initial options","rawContent":"http-prompt {{localhost:8000/api}} --auth {{username:password}}"},{"id":3055,"programId":679,"title":"Send a GET request (default method with no request data)","rawContent":"http {{https://example.com}}"},{"id":3056,"programId":679,"title":"Send a POST request (default method with request data)","rawContent":"http {{https://example.com}} {{hello=World}}"},{"id":3057,"programId":679,"title":"Send a POST request with redirected input","rawContent":"http {{https://example.com}} < {{file.json}}"},{"id":3058,"programId":679,"title":"Send a PUT request with a given json body","rawContent":"http PUT {{https://example.com/todos/7}} {{hello=world}}"},{"id":3059,"programId":679,"title":"Send a DELETE request with a given request header","rawContent":"http DELETE {{https://example.com/todos/7}} {{API-Key:foo}}"},{"id":3060,"programId":679,"title":"Show the whole HTTP exchange (both request and response)","rawContent":"http -v {{https://example.com}}"},{"id":3061,"programId":679,"title":"Download a file","rawContent":"http --download {{https://example.com}}"},{"id":3062,"programId":680,"title":"Display the current time as reported by the hardware clock","rawContent":"hwclock"},{"id":3063,"programId":680,"title":"Write the current software clock time to the hardware clock (sometimes used during system setup)","rawContent":"hwclock --systohc"},{"id":3064,"programId":680,"title":"Write the current hardware clock time to the software clock","rawContent":"hwclock --hctosys"},{"id":3065,"programId":681,"title":"Start i7z (needs to be run in super user mode)","rawContent":"sudo i7z"},{"id":3066,"programId":682,"title":"Disable interface eth0","rawContent":"ifdown {{eth0}}"},{"id":3067,"programId":682,"title":"Disable all interfaces which are enabled","rawContent":"ifdown -a"},{"id":3068,"programId":683,"title":"Enable interface eth0","rawContent":"ifup {{eth0}}"},{"id":3069,"programId":683,"title":"Enable all the interfaces defined with \"auto\" in /etc/network/interfaces","rawContent":"ifup -a"},{"id":3070,"programId":684,"title":"Convert single images and/or whole directories containing valid image formats","rawContent":"imgp -x {{1366x1000}} {{path/to/dir}} {{path/to/file}}"},{"id":3071,"programId":684,"title":"Scale an image by 75% and overwrite the source image to a target resolution","rawContent":"imgp -x {{75}} -w {{path/to/file}}"},{"id":3072,"programId":684,"title":"Rotate an image clockwise by 90 degrees","rawContent":"imgp -o {{90}} {{path/to/file}}"},{"id":3073,"programId":685,"title":"Print a short summary of CPU, memory, hard drive and kernel information","rawContent":"inxi"},{"id":3074,"programId":685,"title":"Print a full description of CPU, memory, disk, network and process information","rawContent":"inxi -Fz"},{"id":3075,"programId":686,"title":"Display a report of CPU and disk statistics since system startup","rawContent":"iostat"},{"id":3076,"programId":686,"title":"Display a report of CPU and disk statistics with units converted to megabytes","rawContent":"iostat -m"},{"id":3077,"programId":686,"title":"Display CPU statistics","rawContent":"iostat -c"},{"id":3078,"programId":686,"title":"Display disk statistics with disk names (including LVM)","rawContent":"iostat -N"},{"id":3079,"programId":686,"title":"Display extended disk statistics with disk names for device \"sda\"","rawContent":"iostat -xN {{sda}}"},{"id":3080,"programId":686,"title":"Display incremental reports of CPU and disk statistics every 2 seconds","rawContent":"iostat {{2}}"},{"id":3081,"programId":687,"title":"List interfaces with detailed info","rawContent":"ip a"},{"id":3082,"programId":687,"title":"Display the routing table","rawContent":"ip r"},{"id":3083,"programId":687,"title":"Make an interface up/down","rawContent":"ip link set {{interface}} up/down"},{"id":3084,"programId":687,"title":"Add/Delete an ip address to an interface","rawContent":"ip addr add/del {{ip}}/{{mask}} dev {{interface}}"},{"id":3085,"programId":687,"title":"Add a default route","rawContent":"ip route add default via {{ip}} dev {{interface}}"},{"id":3086,"programId":688,"title":"See chains and rules for specific table","rawContent":"sudo iptables -t {{table_name}} -vnL"},{"id":3087,"programId":688,"title":"Set chain policy rule","rawContent":"sudo iptables -P {{chain}} {{rule}}"},{"id":3088,"programId":688,"title":"Append rule to chain policy for IP","rawContent":"sudo iptables -A {{chain}} -s {{ip}} -j {{rule}}"},{"id":3089,"programId":688,"title":"Append rule to chain policy for IP considering protocol and port","rawContent":"sudo iptables -A {{chain}} -s {{ip}} -p {{protocol}} --dport {{port}} -j {{rule}}"},{"id":3090,"programId":688,"title":"Delete chain rule","rawContent":"sudo iptables -D {{chain}} {{rule_line_number}}"},{"id":3091,"programId":688,"title":"Save iptables configuration","rawContent":"sudo iptables-save > {{path/to/iptables_file}}"},{"id":3092,"programId":689,"title":"List all the files included in an ISO image","rawContent":"isoinfo -f -i {{path/to/image.iso}}"},{"id":3093,"programId":689,"title":"E[x]tract a specific file from an ISO image and send it out stdout","rawContent":"isoinfo -i {{path/to/image.iso}} -x {{/PATH/TO/FILE/INSIDE/ISO.EXT}}"},{"id":3094,"programId":689,"title":"Show header information for an ISO disk image","rawContent":"isoinfo -d -i {{path/to/image.iso}}"},{"id":3095,"programId":690,"title":"View jobs spawned by the current shell","rawContent":"jobs"},{"id":3096,"programId":690,"title":"List jobs and their process ids","rawContent":"jobs -l"},{"id":3097,"programId":690,"title":"Display information about jobs with changed status","rawContent":"jobs -n"},{"id":3098,"programId":690,"title":"Display process id of process group leader","rawContent":"jobs -p"},{"id":3099,"programId":690,"title":"Display running processes","rawContent":"jobs -r"},{"id":3100,"programId":690,"title":"Display stopped processes","rawContent":"jobs -s"},{"id":3101,"programId":691,"title":"Show all messages from this boot","rawContent":"journalctl -b"},{"id":3102,"programId":691,"title":"Show all messages from last boot","rawContent":"journalctl -b -1"},{"id":3103,"programId":691,"title":"Follow new messages (like `tail -f` for traditional syslog)","rawContent":"journalctl -f"},{"id":3104,"programId":691,"title":"Show all messages by a specific unit","rawContent":"journalctl -u {{unit}}"},{"id":3105,"programId":691,"title":"Show all messages by a specific process","rawContent":"journalctl _PID={{pid}}"},{"id":3106,"programId":691,"title":"Show all messages by a specific executable","rawContent":"journalctl {{path/to/executable}}"},{"id":3107,"programId":692,"title":"Load a new kernel","rawContent":"kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --command-line={{arguments}}"},{"id":3108,"programId":692,"title":"Load a new kernel with current boot parameters","rawContent":"kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --reuse-cmdline"},{"id":3109,"programId":692,"title":"Execute a currently loaded kernel","rawContent":"kexec -e"},{"id":3110,"programId":692,"title":"Unload current kexec target kernel","rawContent":"kexec -u"},{"id":3111,"programId":693,"title":"Display the most recent login of all users","rawContent":"lastlog"},{"id":3112,"programId":693,"title":"Display lastlog record of the specified user","rawContent":"lastlog -u {{username}}"},{"id":3113,"programId":693,"title":"Display records before than 7 days","rawContent":"lastlog -b {{7}}"},{"id":3114,"programId":693,"title":"Display records more recent than 3 days","rawContent":"lastlog -t {{3}}"},{"id":3115,"programId":694,"title":"Update symlinks and rebuild the cache (usually run when a new library is installed)","rawContent":"sudo ldconfig"},{"id":3116,"programId":694,"title":"Update the symlinks for a given directory","rawContent":"sudo ldconfig -n {{path/to/directory}}"},{"id":3117,"programId":694,"title":"Print the libraries in the cache and check whether a given library is present","rawContent":"ldconfig -p | grep {{library_name}}"},{"id":3118,"programId":695,"title":"Display shared library dependencies of a binary","rawContent":"ldd {{path/to/binary}}"},{"id":3119,"programId":695,"title":"Display unused direct dependencies","rawContent":"ldd -u {{path/to/binary}}"},{"id":3120,"programId":696,"title":"Get the current backlight value in percent","rawContent":"light"},{"id":3121,"programId":696,"title":"Set the backlight value to 50 percent","rawContent":"light -S {{50}}"},{"id":3122,"programId":696,"title":"Reduce 20 percent from the current backlight value","rawContent":"light -U {{20}}"},{"id":3123,"programId":696,"title":"Add 20 percent to the current backlight value","rawContent":"light -A {{20}}"},{"id":3124,"programId":697,"title":"Debug an executable","rawContent":"lldb {{executable}}"},{"id":3125,"programId":697,"title":"Attach `lldb` to a running process with a given PID","rawContent":"lldb -p {{pid}}"},{"id":3126,"programId":697,"title":"Wait for a new process to launch with a given name, and attach to it","rawContent":"lldb -w -n {{process_name}}"},{"id":3127,"programId":698,"title":"Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily)","rawContent":"locate {{pattern}}"},{"id":3128,"programId":698,"title":"Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`)","rawContent":"locate */{{filename}}"},{"id":3129,"programId":698,"title":"Recompute the database. You need to do it if you want to find recently added files","rawContent":"sudo updatedb"},{"id":3130,"programId":699,"title":"Log a message to syslog","rawContent":"logger {{message}}"},{"id":3131,"programId":699,"title":"Take input from stdin and log to syslog","rawContent":"echo {{log_entry}} | logger"},{"id":3132,"programId":699,"title":"Send the output to a remote syslog server running at a given port. Default port is 514","rawContent":"echo {{log_entry}} | logger --server {{hostname}} --port {{port}}"},{"id":3133,"programId":699,"title":"Use a specific tag for every line logged. Default is the name of logged in user","rawContent":"echo {{log_entry}} | logger --tag {{tag}}"},{"id":3134,"programId":699,"title":"Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options","rawContent":"echo {{log_entry}} | logger --priority {{user.warning}}"},{"id":3135,"programId":700,"title":"Analyze logs for a range of dates at certain level of detail","rawContent":"logwatch --range {{yesterday|today|all|help}} --detail {{low|medium|others}}'"},{"id":3136,"programId":700,"title":"Restrict report to only include information for a selected service","rawContent":"logwatch --range {{all}} --service {{apache|pam_unix|etc}}"},{"id":3137,"programId":701,"title":"List loop devices with detailed info","rawContent":"losetup -a"},{"id":3138,"programId":701,"title":"Attach a file to a given loop device","rawContent":"sudo losetup /dev/{{loop}} /{{path/to/file}}"},{"id":3139,"programId":701,"title":"Detach all loop devices","rawContent":"sudo losetup -D"},{"id":3140,"programId":701,"title":"Detach a given loop device","rawContent":"sudo losetup -d /dev/{{loop}}"},{"id":3141,"programId":702,"title":"Display the attributes of the files in the current directory","rawContent":"lsattr"},{"id":3142,"programId":702,"title":"List the attributes of files in a particular path","rawContent":"lsattr {{path}}"},{"id":3143,"programId":702,"title":"List file attributes recursively in the current and subsequent directories","rawContent":"lsattr -R"},{"id":3144,"programId":702,"title":"Show attributes of all the files in the current directory, including hidden ones","rawContent":"lsattr -a"},{"id":3145,"programId":702,"title":"Display attributes of directories in the current directory","rawContent":"lsattr -d"},{"id":3146,"programId":703,"title":"Print all available information","rawContent":"lsb_release -a"},{"id":3147,"programId":703,"title":"Print a description (usually the full name) of the operating system","rawContent":"lsb_release -d"},{"id":3148,"programId":703,"title":"Print only the operating system name (ID), suppressing the field name","rawContent":"lsb_release -i -s"},{"id":3149,"programId":703,"title":"Print the release number and codename of the distribution, suppressing the field names","rawContent":"lsb_release -rcs"},{"id":3150,"programId":704,"title":"List all storage devices in a tree-like format","rawContent":"lsblk"},{"id":3151,"programId":704,"title":"Also list empty devices","rawContent":"lsblk -a"},{"id":3152,"programId":704,"title":"Print the SIZE column in bytes rather than in a human-readable format","rawContent":"lsblk -b"},{"id":3153,"programId":704,"title":"Output info about filesystems","rawContent":"lsblk -f"},{"id":3154,"programId":704,"title":"Use ASCII characters for tree formatting","rawContent":"lsblk -i"},{"id":3155,"programId":704,"title":"Output info about block-device topology","rawContent":"lsblk -t"},{"id":3156,"programId":705,"title":"Display information about all CPUs","rawContent":"lscpu"},{"id":3157,"programId":705,"title":"Display information in a table","rawContent":"lscpu --extended"},{"id":3158,"programId":705,"title":"Display only information about offline CPUs in a table","rawContent":"lscpu --extended --offline"},{"id":3159,"programId":706,"title":"Launch the GUI","rawContent":"sudo lshw -X"},{"id":3160,"programId":706,"title":"List all hardwares in tabular format","rawContent":"sudo lshw -short"},{"id":3161,"programId":706,"title":"List all disks and storage controllers in tabular format","rawContent":"sudo lshw -class disk -class storage -short"},{"id":3162,"programId":706,"title":"Save all network interfaces to an HTML file","rawContent":"sudo lshw -class network -html > {{interfaces.html}}"},{"id":3163,"programId":707,"title":"List all currently loaded kernel modules","rawContent":"lsmod"},{"id":3164,"programId":708,"title":"Show a brief list of devices","rawContent":"lspci"},{"id":3165,"programId":708,"title":"Display additional info","rawContent":"lspci -v"},{"id":3166,"programId":708,"title":"Display drivers and modules handling each device","rawContent":"lspci -k"},{"id":3167,"programId":708,"title":"Show a specific device","rawContent":"lspci -s {{00:18.3}}"},{"id":3168,"programId":708,"title":"Dump info in a readable form","rawContent":"lspci -vm"},{"id":3169,"programId":709,"title":"List all SCSI devices","rawContent":"lsscsi"},{"id":3170,"programId":709,"title":"List all SCSI devices with detailed attributes","rawContent":"lsscsi -L"},{"id":3171,"programId":709,"title":"List all SCSI devices with human readable disk capacity","rawContent":"lsscsi -s"},{"id":3172,"programId":710,"title":"Print (trace) library calls of a program binary","rawContent":"ltrace ./{{program}}"},{"id":3173,"programId":710,"title":"Count library calls. Print a handy summary at the bottom","rawContent":"ltrace -c {{/path/to/program}}"},{"id":3174,"programId":710,"title":"Trace calls to malloc and free, omit those done by libc","rawContent":"ltrace -e malloc+free-@libc.so* {{/path/to/program}}"},{"id":3175,"programId":710,"title":"Write to file instead of terminal","rawContent":"ltrace -o {{file}} {{/path/to/program}}"},{"id":3176,"programId":711,"title":"Create a logical volume of 10 gigabytes in the volume group vg1","rawContent":"lvcreate -L {{10G}} {{vg1}}"},{"id":3177,"programId":711,"title":"Create a 1500 megabyte linear logical volume named mylv in the volume group vg1","rawContent":"lvcreate -L {{1500}} -n {{mylv}} {{vg1}}"},{"id":3178,"programId":711,"title":"Create a logical volume called mylv that uses 60% of the total space in volume group vg1","rawContent":"lvcreate -l {{60%VG}} -n {{mylv}} {{vg1}}"},{"id":3179,"programId":711,"title":"Create a logical volume called mylv that uses all of the unallocated space in the volume group vg1","rawContent":"lvcreate -l {{100%FREE}} -n {{mylv}} {{vg1}}"},{"id":3180,"programId":712,"title":"List local containers matching a string. Omit the string to list all local containers","rawContent":"lxc list {{match_string}}"},{"id":3181,"programId":712,"title":"List images matching a string. Omit the string to list all images","rawContent":"lxc image list [{{remote}}:]{{match_string}}"},{"id":3182,"programId":712,"title":"Create a new container from an image","rawContent":"lxc launch [{{remote}}:]{{image}} {{container}}"},{"id":3183,"programId":712,"title":"Start a container","rawContent":"lxc start [{{remote}}:]{{container}}"},{"id":3184,"programId":712,"title":"Stop a container","rawContent":"lxc stop [{{remote}}:]{{container}}"},{"id":3185,"programId":712,"title":"Show detailed info about a container","rawContent":"lxc info [{{remote}}:]{{container}}"},{"id":3186,"programId":712,"title":"Take a snapshot of a container","rawContent":"lxc snapshot [{{remote}}:]{{container}} {{snapshot}}"},{"id":3187,"programId":713,"title":"Calculate the MD5 checksum for a file","rawContent":"md5sum {{filename1}}"},{"id":3188,"programId":713,"title":"Calculate MD5 checksums for multiple files","rawContent":"md5sum {{filename1}} {{filename2}}"},{"id":3189,"programId":713,"title":"Read a file of MD5SUMs and verify all files have matching checksums","rawContent":"md5sum -c {{filename.md5}}"},{"id":3190,"programId":714,"title":"Create array","rawContent":"mdadm --create {{/path/to/raid_device_file}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/path/to/disk_device_file}}"},{"id":3191,"programId":714,"title":"Stop array","rawContent":"mdadm -S {{/path/to/raid_device_file}}"},{"id":3192,"programId":714,"title":"Mark disk as failed","rawContent":"mdadm {{/path/to/raid_device_file}} -f {{/path/to/disk_device_file}}"},{"id":3193,"programId":714,"title":"Remove disk","rawContent":"mdadm {{/path/to/raid_device_file}} -r {{/path/to/disk_device_file}}"},{"id":3194,"programId":714,"title":"Add disk to array","rawContent":"mdadm {{/path/to/raid_device_file}} -a {{/path/to/disk_device_file}}"},{"id":3195,"programId":714,"title":"Show RAID info","rawContent":"mdadm -D {{/path/to/raid_device_file}}"},{"id":3196,"programId":715,"title":"Open a serial port using the specified baud rate","rawContent":"microcom --port {{path/to/serial_port}} --speed {{baud_rate}}"},{"id":3197,"programId":715,"title":"Establish a telnet connection to the specified host","rawContent":"microcom --telnet {{hostname}}:{{port}}"},{"id":3198,"programId":716,"title":"Create an ext2 filesystem in partition 1 of device b (`sdb1`)","rawContent":"mkfs.ext2 {{/dev/sdb1}}"},{"id":3199,"programId":716,"title":"Create an ext3 filesystem in partition 1 of device b (`sdb1`)","rawContent":"mkfs.ext3 {{/dev/sdb1}}"},{"id":3200,"programId":716,"title":"Create an ext3 filesystem in partition 1 of device b (`sdb1`)","rawContent":"mkfs.ext3 {{/dev/sdb1}}"},{"id":3201,"programId":717,"title":"Create a ROM filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.cramfs {{/dev/sdb1}}"},{"id":3202,"programId":717,"title":"Create a ROM filesystem with a volume-name","rawContent":"mkfs.cramfs -n {{volume_name}} {{/dev/sdb1}}"},{"id":3203,"programId":718,"title":"Create an exfat filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.exfat {{/dev/sdb1}}"},{"id":3204,"programId":718,"title":"Create filesystem with a volume-name","rawContent":"mkfs.exfat -n {{volume_name}} {{/dev/sdb1}}"},{"id":3205,"programId":718,"title":"Create filesystem with a volume-id","rawContent":"mkfs.exfat -i {{volume_id}} {{/dev/sdb1}}"},{"id":3206,"programId":719,"title":"Create a fat filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.fat {{/dev/sdb1}}"},{"id":3207,"programId":719,"title":"Create filesystem with a volume-name","rawContent":"mkfs.fat -n {{volume_name}} {{/dev/sdb1}}"},{"id":3208,"programId":719,"title":"Create filesystem with a volume-id","rawContent":"mkfs.fat -i {{volume_id}} {{/dev/sdb1}}"},{"id":3209,"programId":719,"title":"Use 5 instead of 2 file allocation tables","rawContent":"mkfs.fat -f 5 {{/dev/sdb1}}"},{"id":3210,"programId":720,"title":"Create a Minix filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.minix {{/dev/sdb1}}"},{"id":3211,"programId":721,"title":"Create a NTFS filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.ntfs {{/dev/sdb1}}"},{"id":3212,"programId":721,"title":"Create filesystem with a volume-label","rawContent":"mkfs.ntfs -L {{volume_label}} {{/dev/sdb1}}"},{"id":3213,"programId":721,"title":"Create filesystem with specific UUID","rawContent":"mkfs.ntfs -U {{UUID}} {{/dev/sdb1}}"},{"id":3214,"programId":722,"title":"Create a.vfat filesystem inside partition 1 on device b (`sdb1`)","rawContent":"mkfs.vfat {{/dev/sdb1}}"},{"id":3215,"programId":722,"title":"Create filesystem with a volume-name","rawContent":"mkfs.vfat -n {{volume_name}} {{/dev/sdb1}}"},{"id":3216,"programId":722,"title":"Create filesystem with a volume-id","rawContent":"mkfs.vfat -i {{volume_id}} {{/dev/sdb1}}"},{"id":3217,"programId":722,"title":"Use 5 instead of 2 file allocation tables","rawContent":"mkfs.vfat -f 5 {{/dev/sdb1}}"},{"id":3218,"programId":723,"title":"Create an ISO from a folder","rawContent":"mkisofs -o {{filename.iso}} {{path/to/source_folder}}"},{"id":3219,"programId":723,"title":"Set the disc label when creating an ISO","rawContent":"mkisofs -o {{filename.iso}} -V {{\"label_name\"}} {{path/to/source_folder}}"},{"id":3220,"programId":724,"title":"Setup a given partition as swap area","rawContent":"sudo mkswap {{/dev/sdb7}}"},{"id":3221,"programId":724,"title":"Use a given file as swap area","rawContent":"sudo mkswap {{path/to/file}}"},{"id":3222,"programId":724,"title":"Check a partition for bad blocks before creating the swap area","rawContent":"sudo mkswap -c {{/dev/sdb7}}"},{"id":3223,"programId":724,"title":"Specify a label for the file (to allow `swapon` to use the label)","rawContent":"sudo mkswap -L {{swap1}} {{path/to/file}}"},{"id":3224,"programId":725,"title":"List all attributes of a kernel module","rawContent":"modinfo {{kernel_module}}"},{"id":3225,"programId":725,"title":"List the specified attribute only","rawContent":"modinfo -F {{author|description|license|parm|filename}} {{kernel_module}}"},{"id":3226,"programId":726,"title":"Display CPU statistics every 2 seconds","rawContent":"mpstat {{2}}"},{"id":3227,"programId":726,"title":"Display 5 reports, one by one, at 2 second intervals","rawContent":"mpstat {{2}} {{5}}"},{"id":3228,"programId":726,"title":"Display 5 reports, one by one, from a given processor, at 2 second intervals","rawContent":"mpstat -P {{0}} {{2}} {{5}}"},{"id":3229,"programId":727,"title":"Connect to a database with the currently logged in user","rawContent":"mycli {{database_name}}"},{"id":3230,"programId":727,"title":"Connect to a database with the specified user","rawContent":"mycli -u {{user}} {{database_name}}"},{"id":3231,"programId":727,"title":"Connect to a database on the specified host with the specified user","rawContent":"mycli -u {{user}} -h {{host}} {{database_name}}"},{"id":3232,"programId":728,"title":"Install a given version of node. If the version is already installed, it will be activated","rawContent":"n {{version}}"},{"id":3233,"programId":728,"title":"Display installed versions and interactively activate one of them","rawContent":"n"},{"id":3234,"programId":728,"title":"Remove a version","rawContent":"n rm {{version}}"},{"id":3235,"programId":728,"title":"Execute a file with a given version","rawContent":"n use {{version}} {{file.js}}"},{"id":3236,"programId":728,"title":"Output binary path for a version","rawContent":"n bin {{version}}"},{"id":3237,"programId":729,"title":"Listen for input on the specified port and write it to the specified file","rawContent":"ncat -l {{port}} > {{path/to/file}}"},{"id":3238,"programId":729,"title":"Accept multiple connections and keep ncat open after they have been closed","rawContent":"ncat -lk {{port}}"},{"id":3239,"programId":729,"title":"Write output of specified file to the specified host on the specified port","rawContent":"ncat {{address}} {{port}} < {{path/to/file}}"},{"id":3240,"programId":730,"title":"Start nethogs as root (default device is eth0)","rawContent":"sudo nethogs"},{"id":3241,"programId":730,"title":"Monitor bandwidth on specific device","rawContent":"sudo nethogs {{device}}"},{"id":3242,"programId":730,"title":"Monitor bandwidth on multiple devices","rawContent":"sudo nethogs {{device1}} {{device2}}"},{"id":3243,"programId":730,"title":"Specify refresh rate","rawContent":"sudo nethogs -t {{seconds}}"},{"id":3244,"programId":731,"title":"List all ports","rawContent":"netstat -a"},{"id":3245,"programId":731,"title":"List all listening ports","rawContent":"netstat -l"},{"id":3246,"programId":731,"title":"List listening TCP ports","rawContent":"netstat -t"},{"id":3247,"programId":731,"title":"Display PID and program names","rawContent":"netstat -p"},{"id":3248,"programId":731,"title":"List information continuously","rawContent":"netstat -c"},{"id":3249,"programId":731,"title":"List routes and do not resolve IP to hostname","rawContent":"netstat -rn"},{"id":3250,"programId":731,"title":"List listening TCP and UDP ports (+ user and process if you're root)","rawContent":"netstat -lepunt"},{"id":3251,"programId":732,"title":"View current configuration","rawContent":"sudo nft list ruleset"},{"id":3252,"programId":732,"title":"Add a new table with family \"inet\" and table \"filter\"","rawContent":"sudo nft add table {{inet}} {{filter}}"},{"id":3253,"programId":732,"title":"Add a new chain to accept all inbound traffic","rawContent":"sudo nft add chain {{inet}} {{filter}} {{input}} \\{ type {{filter}} hook {{input}} priority {{0}} \\; policy {{accept}} \\}"},{"id":3254,"programId":732,"title":"Add a new rule to accept several TCP ports","rawContent":"sudo nft add rule {{inet}} {{filter}} {{input}} {{tcp}} {{dport \\{ telnet, ssh, http, https \\} accept}}"},{"id":3255,"programId":732,"title":"Show rule handles","rawContent":"sudo nft --handle --numeric list chain {{family}} {{table}} {{chain}}"},{"id":3256,"programId":732,"title":"Delete a rule","rawContent":"sudo nft delete rule {{inet}} {{filter}} {{input}} handle {{3}}"},{"id":3257,"programId":732,"title":"Save current configuration","rawContent":"sudo nft list ruleset > {{/etc/nftables.conf}}"},{"id":3258,"programId":733,"title":"Number non-blank lines in a file","rawContent":"nl {{file}}"},{"id":3259,"programId":733,"title":"Read from standard output","rawContent":"cat {{file}} | nl {{options}} -"},{"id":3260,"programId":733,"title":"Number only the lines with printable text","rawContent":"nl -t {{file}}"},{"id":3261,"programId":733,"title":"Number all lines including blank lines","rawContent":"nl -b a {{file}}"},{"id":3262,"programId":733,"title":"Number only the body lines that match a basic regular expression (BRE) pattern","rawContent":"nl -b p'FooBar[0-9]' {{file}}"},{"id":3263,"programId":734,"title":"List global (extern) functions in a file (prefixed with T)","rawContent":"nm -g {{file.o}}"},{"id":3264,"programId":734,"title":"Demangle C++ symbols (make them readable)","rawContent":"nm --demangle {{file.o}}"},{"id":3265,"programId":734,"title":"List only undefined symbols in a file","rawContent":"nm -u {{file.o}}"},{"id":3266,"programId":734,"title":"List all symbols, even debugging symbols","rawContent":"nm -a {{file.o}}"},{"id":3267,"programId":735,"title":"List all NetworkManager connections (shows name, uuid, type and device)","rawContent":"nmcli connection"},{"id":3268,"programId":735,"title":"Activate a connection by specifying an uuid","rawContent":"nmcli connection up uuid {{uuid}}"},{"id":3269,"programId":735,"title":"Deactivate a connection","rawContent":"nmcli connection down uuid {{uuid}}"},{"id":3270,"programId":735,"title":"Print statuses of network interfaces","rawContent":"nmcli device status"},{"id":3271,"programId":736,"title":"Start nmon","rawContent":"nmon"},{"id":3272,"programId":736,"title":"Save records to file (\"-s 300 -c 288\" by default)","rawContent":"nmon -f"},{"id":3273,"programId":736,"title":"Save records to file with a total of 240 measurements, by taking 30 seconds between each measurement","rawContent":"nmon -f -s {{30}} -c {{240}}"},{"id":3274,"programId":737,"title":"Open the user interface","rawContent":"nmtui"},{"id":3275,"programId":737,"title":"Show a list of available connections, with the option to activate or deactivate them","rawContent":"nmtui connect"},{"id":3276,"programId":737,"title":"Connect to a given network","rawContent":"nmtui connect {{name|uuid|device|SSID}}"},{"id":3277,"programId":737,"title":"Edit/Add/Delete a given network","rawContent":"nmtui edit {{name|id}}"},{"id":3278,"programId":737,"title":"Set the system hostname","rawContent":"nmtui hostname"},{"id":3279,"programId":738,"title":"Show a notification with the title \"Test\" and the content \"This is a test\"","rawContent":"notify-send {{\"Test\"}} {{\"This is a test\"}}"},{"id":3280,"programId":738,"title":"Show a notification with a custom icon","rawContent":"notify-send -i {{icon.png}} {{\"Test\"}} {{\"This is a test\"}}"},{"id":3281,"programId":738,"title":"Show a notification for 5 seconds","rawContent":"notify-send -t 5000 {{\"Test\"}} {{\"This is a test\"}}"},{"id":3282,"programId":739,"title":"Fix a given NTFS partition","rawContent":"sudo ntfsfix {{/dev/sdb2}}"},{"id":3283,"programId":740,"title":"Display the file header information","rawContent":"objdump -f {{binary}}"},{"id":3284,"programId":740,"title":"Display the dis-assembled output of executable sections","rawContent":"objdump -d {{binary}}"},{"id":3285,"programId":740,"title":"Display a complete binary hex dump of all sections","rawContent":"objdump -s {{binary}}"},{"id":3286,"programId":741,"title":"Install a package","rawContent":"opkg install {{package}}"},{"id":3287,"programId":741,"title":"Remove a package","rawContent":"opkg remove {{package}}"},{"id":3288,"programId":741,"title":"Update the list of available packages","rawContent":"opkg update"},{"id":3289,"programId":741,"title":"Upgrade all the installed packages","rawContent":"opkg upgrade"},{"id":3290,"programId":741,"title":"Upgrade one or more specific package(s)","rawContent":"opkg upgrade {{package(s)}}"},{"id":3291,"programId":741,"title":"Display informations for a specific package","rawContent":"opkg info {{package}}"},{"id":3292,"programId":741,"title":"List all the available packages","rawContent":"opkg list"},{"id":3293,"programId":742,"title":"Synchronize and update all packages (includes AUR)","rawContent":"pacaur -Syu"},{"id":3294,"programId":742,"title":"Synchronize and update only AUR packages","rawContent":"pacaur -Syua"},{"id":3295,"programId":742,"title":"Install a new package (includes AUR)","rawContent":"pacaur -S {{package_name}}"},{"id":3296,"programId":742,"title":"Remove a package and its dependencies (includes AUR packages)","rawContent":"pacaur -Rs {{package_name}}"},{"id":3297,"programId":742,"title":"Search the package database for a keyword (includes AUR)","rawContent":"pacaur -Ss {{keyword}}"},{"id":3298,"programId":742,"title":"List all currently installed packages (includes AUR packages)","rawContent":"pacaur -Qs"},{"id":3299,"programId":743,"title":"Synchronize and update all packages","rawContent":"pacman -Syu"},{"id":3300,"programId":743,"title":"Install a new package","rawContent":"pacman -S {{package_name}}"},{"id":3301,"programId":743,"title":"Remove a package and its dependencies","rawContent":"pacman -Rs {{package_name}}"},{"id":3302,"programId":743,"title":"Search the package database for a regular expression or keyword","rawContent":"pacman -Ss \"{{search_pattern}}\""},{"id":3303,"programId":743,"title":"List installed packages and versions","rawContent":"pacman -Q"},{"id":3304,"programId":743,"title":"List only the explicitly installed packages and versions","rawContent":"pacman -Qe"},{"id":3305,"programId":743,"title":"Find which package owns a certain file","rawContent":"pacman -Qo {{filename}}"},{"id":3306,"programId":743,"title":"Empty package cache to free up space","rawContent":"pacman -Scc"},{"id":3307,"programId":744,"title":"Suspend pulseaudio while running `jackd`","rawContent":"pasuspender -- {{jackd -d alsa --device hw:0}}"},{"id":3308,"programId":745,"title":"Find lines that match pattern in a PDF","rawContent":"pdfgrep {{pattern}} {{file.pdf}}"},{"id":3309,"programId":745,"title":"Include file name and page number for each matched line","rawContent":"pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}"},{"id":3310,"programId":745,"title":"Do a case insensitive search for lines that begin with \"foo\" and return the first 3 matches","rawContent":"pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}"},{"id":3311,"programId":745,"title":"Find pattern in files with a .pdf extension in the current directory recursively","rawContent":"pdfgrep --recursive {{pattern}}"},{"id":3312,"programId":745,"title":"Find pattern on files that match a specific glob in the current directory recursively","rawContent":"pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}"},{"id":3313,"programId":746,"title":"Display basic performance counter stats for a command","rawContent":"perf stat {{gcc hello.c}}"},{"id":3314,"programId":746,"title":"Display system-wide real time performance counter profile","rawContent":"sudo perf top"},{"id":3315,"programId":746,"title":"Run a command and record its profile into \"perf.data\"","rawContent":"sudo perf record {{command}}"},{"id":3316,"programId":746,"title":"Read \"perf.data\" (created by `perf record`) and display the profile","rawContent":"sudo perf report"},{"id":3317,"programId":747,"title":"Add space-separated files or directories to a Phar file","rawContent":"phar add -f {{path/to/phar_file}} {{files_or_directories}}"},{"id":3318,"programId":747,"title":"Display the contents of a Phar file","rawContent":"phar list -f {{path/to/phar_file}}"},{"id":3319,"programId":747,"title":"Delete the specified file or directory from a Phar file","rawContent":"phar delete -f {{path/to/phar_file}} -e {{file_or_directory}}"},{"id":3320,"programId":747,"title":"Display full usage information and available hashing/compression algorithms","rawContent":"phar help"},{"id":3321,"programId":747,"title":"Compress or uncompress files and directories in a Phar file","rawContent":"phar compress -f {{path/to/phar_file}} -c {{algorithm}}"},{"id":3322,"programId":747,"title":"Get information about a Phar file","rawContent":"phar info -f {{path/to/phar_file}}"},{"id":3323,"programId":747,"title":"Sign a Phar file with a specific hash algorithm","rawContent":"phar sign -f {{path/to/phar_file}} -h {{algorithm}}"},{"id":3324,"programId":747,"title":"Sign a Phar file with an OpenSSL private key","rawContent":"phar sign -f {{path/to/phar_file}} -h openssl -y {{path/to/private_key}}"},{"id":3325,"programId":748,"title":"Install a local software package","rawContent":"pkgadd {{package_name}}"},{"id":3326,"programId":748,"title":"Update an already installed package from a local package","rawContent":"pkgadd -u {{package_name}}"},{"id":3327,"programId":749,"title":"List installed packages and their versions","rawContent":"pkginfo -i"},{"id":3328,"programId":749,"title":"List files owned by a package","rawContent":"pkginfo -l {{package_name}}"},{"id":3329,"programId":749,"title":"List the owner(s) of files matching a pattern","rawContent":"pkginfo -o {{pattern}}"},{"id":3330,"programId":749,"title":"Print the footprint of a file","rawContent":"pkginfo -f {{file}}"},{"id":3331,"programId":750,"title":"Make and download a package","rawContent":"pkgmk -d"},{"id":3332,"programId":750,"title":"Install the package after making it","rawContent":"pkgmk -d -i"},{"id":3333,"programId":750,"title":"Upgrade the package after making it","rawContent":"pkgmk -d -u"},{"id":3334,"programId":750,"title":"Ignore the footprint when making a package","rawContent":"pkgmk -d -if"},{"id":3335,"programId":750,"title":"Ignore the MD5 sum when making a package","rawContent":"pkgmk -d -im"},{"id":3336,"programId":750,"title":"Update the package's footprint","rawContent":"pkgmk -uf"},{"id":3337,"programId":751,"title":"Remove an installed package","rawContent":"pkgrm {{package_name}}"},{"id":3338,"programId":752,"title":"Toggle play","rawContent":"playerctl play-pause"},{"id":3339,"programId":752,"title":"Next media","rawContent":"playerctl next"},{"id":3340,"programId":752,"title":"Previous media","rawContent":"playerctl previous"},{"id":3341,"programId":752,"title":"List all players","rawContent":"playerctl --list-all"},{"id":3342,"programId":752,"title":"Send a command to a specific player","rawContent":"playerctl --player={{player_name}} {{command}}"},{"id":3343,"programId":752,"title":"Send a command to all players","rawContent":"playerctl --all-players {{command}}"},{"id":3344,"programId":753,"title":"Remove the top directory from the stack and cd to it","rawContent":"popd"},{"id":3345,"programId":753,"title":"Remove the Nth directory (starting from zero to the left from the list printed with `dirs`)","rawContent":"popd +N"},{"id":3346,"programId":753,"title":"Remove the Nth directory (starting from zero to the right from the list printed with `dirs`)","rawContent":"popd -N"},{"id":3347,"programId":754,"title":"Update the ports tree","rawContent":"ports -u"},{"id":3348,"programId":754,"title":"List the ports in the current tree","rawContent":"ports -l"},{"id":3349,"programId":754,"title":"Check the differences between installed packages and the ports tree","rawContent":"ports -d"},{"id":3350,"programId":755,"title":"Print action can be used to print any file on default run-mailcap tool","rawContent":"print {{filename}}"},{"id":3351,"programId":755,"title":"With `run-mailcap`","rawContent":"run-mailcap --action=print {{filename}}"},{"id":3352,"programId":756,"title":"Install a package","rawContent":"prt-get install {{package_name}}"},{"id":3353,"programId":756,"title":"Install a package with dependency handling","rawContent":"prt-get depinst {{package_name}}"},{"id":3354,"programId":756,"title":"Update a package manually","rawContent":"prt-get upgrade {{package_name}}"},{"id":3355,"programId":756,"title":"Remove a package","rawContent":"prt-get remove {{package_name}}"},{"id":3356,"programId":756,"title":"Upgrade the system from the local ports tree","rawContent":"prt-get sysup"},{"id":3357,"programId":756,"title":"Search the ports tree","rawContent":"prt-get search {{package_name}}"},{"id":3358,"programId":756,"title":"Search for a file in a package","rawContent":"prt-get fsearch {{file}}"},{"id":3359,"programId":757,"title":"Display a tree of processes","rawContent":"pstree"},{"id":3360,"programId":757,"title":"Display a tree of processes with PIDs","rawContent":"pstree -p"},{"id":3361,"programId":757,"title":"Display all process trees rooted at processes owned by specified user","rawContent":"pstree {{user}}"},{"id":3362,"programId":758,"title":"Check if pulseaudio is running (a non-zero exit code means it is not running)","rawContent":"pulseaudio --check"},{"id":3363,"programId":758,"title":"Start the pulseaudio daemon in the background","rawContent":"pulseaudio --start"},{"id":3364,"programId":758,"title":"Kill the running pulseaudio daemon","rawContent":"pulseaudio --kill"},{"id":3365,"programId":758,"title":"List available modules","rawContent":"pulseaudio --dump-modules"},{"id":3366,"programId":758,"title":"Load a module into the currently running daemon with the specified arguments","rawContent":"pulseaudio --load=\"{{module_name}} {{arguments}}\""},{"id":3367,"programId":759,"title":"Switch to directory and push it on the stack","rawContent":"pushd < {{directory}}"},{"id":3368,"programId":759,"title":"Switch first and second directories on the stack","rawContent":"pushd"},{"id":3369,"programId":759,"title":"Rotate stack by making the 5th element the top of the stack","rawContent":"pushd +4"},{"id":3370,"programId":760,"title":"Initialize the `/dev/sda1` volume for use by LVM","rawContent":"pvcreate {{/dev/sda1}}"},{"id":3371,"programId":760,"title":"Force the creation without any confirmation prompts","rawContent":"pvcreate --force {{/dev/sda1}}"},{"id":3372,"programId":761,"title":"Generate random password with s[y]mbols","rawContent":"pwgen -y {{length}}"},{"id":3373,"programId":761,"title":"Generate secure, hard-to-memorize passwords","rawContent":"pwgen -s {{length}}"},{"id":3374,"programId":761,"title":"Generate password with at least one capital letter in them","rawContent":"pwgen -c {{length}}"},{"id":3375,"programId":762,"title":"Submit a script with default settings (depends on TORQUE settings)","rawContent":"qsub {{script.sh}}"},{"id":3376,"programId":762,"title":"Submit a script with a specified wallclock runtime limit of 1 hour, 2 minutes and 3 seconds","rawContent":"qsub -l walltime={{1}}:{{2}}:{{3}} {{script.sh}}"},{"id":3377,"programId":762,"title":"Submit a script that is executed on 2 nodes using 4 cores per node","rawContent":"qsub -l nodes={{2}}:ppn={{4}} {{script.sh}}"},{"id":3378,"programId":762,"title":"Submit a script to a specific queue. Note that different queues can have different maximum and minimum runtime limits","rawContent":"qsub -q {{queue_name}} {{script.sh}}"},{"id":3379,"programId":763,"title":"Check quotas on all mounted non-NFS filesystems","rawContent":"sudo quotacheck --all"},{"id":3380,"programId":763,"title":"Force check even if quotas are enabled (this can cause damage or loss to quota files)","rawContent":"sudo quotacheck --force {{mountpoint}}"},{"id":3381,"programId":763,"title":"Check quotas on a given filesystem in debug mode","rawContent":"sudo quotacheck --debug {{mountpoint}}"},{"id":3382,"programId":763,"title":"Check quotas on a given filesystem, displaying the progress","rawContent":"sudo quotacheck --verbose {{mountpoint}}"},{"id":3383,"programId":763,"title":"Check user quotas","rawContent":"sudo quotacheck --user {{user}} {{mountpoint}}"},{"id":3384,"programId":763,"title":"Check group quotas","rawContent":"sudo quotacheck --group {{group}} {{mountpoint}}"},{"id":3385,"programId":764,"title":"Connect to a remote computer (default port is 3389)","rawContent":"rdesktop -u {{username}} -p {{password}} {{host:port}}"},{"id":3386,"programId":764,"title":"Simple Examples","rawContent":"rdesktop -u Administrator -p passwd123 192.168.1.111:3389"},{"id":3387,"programId":764,"title":"Connect to a remote computer with full screen (press `Ctrl + Alt + Enter` to exist)","rawContent":"rdesktop -u {{username}} -p {{password}} -f {{host:port}}"},{"id":3388,"programId":764,"title":"Use the customed resolution (use the letter 'x' between the number)","rawContent":"rdesktop -u {{username}} -p {{password}} -g 1366x768 {{host:port}}"},{"id":3389,"programId":764,"title":"Connect to a remote computer using domain user","rawContent":"rdesktop -u {{username}} -p {{password}} -d {{domainname}} {{host:port}}"},{"id":3390,"programId":764,"title":"Use the 16 bit color (speed up)","rawContent":"rdesktop -u {{username}} -p {{password}} -a 16 {{host:port}}"},{"id":3391,"programId":765,"title":"Reboot immediately","rawContent":"reboot"},{"id":3392,"programId":765,"title":"Reboot immediately without gracefully shutdown","rawContent":"reboot -f"},{"id":3393,"programId":766,"title":"Report stats for all quotas in use","rawContent":"sudo repquota -all"},{"id":3394,"programId":766,"title":"Report quota stats for all users, even those who aren't using any of their quota","rawContent":"sudo repquota -v {{filesystem}}"},{"id":3395,"programId":766,"title":"Report on quotas for users only","rawContent":"repquota --user {{filesystem}}"},{"id":3396,"programId":766,"title":"Report on quotas for groups only","rawContent":"sudo repquota --group {{filesystem}}"},{"id":3397,"programId":766,"title":"Report on used quota and limits in a human-readable format","rawContent":"sudo repquota --human-readable {{filesystem}}"},{"id":3398,"programId":766,"title":"Report on all quotas for users and groups in a human-readable format","rawContent":"sudo repquota -augs"},{"id":3399,"programId":767,"title":"Show the list of apps","rawContent":"rofi -show drun"},{"id":3400,"programId":767,"title":"Show the list of all commands","rawContent":"rofi -show run"},{"id":3401,"programId":767,"title":"Switch between windows","rawContent":"rofi -show window"},{"id":3402,"programId":768,"title":"Show version of httpd package","rawContent":"rpm -q {{httpd}}"},{"id":3403,"programId":768,"title":"List versions of all matching packages","rawContent":"rpm -qa '{{mariadb*}}'"},{"id":3404,"programId":768,"title":"Identify owner of a file and show version of the package","rawContent":"rpm -qf {{/etc/postfix/main.cf}}"},{"id":3405,"programId":768,"title":"List package-owned files","rawContent":"rpm -ql {{kernel}}"},{"id":3406,"programId":768,"title":"Show scriptlets from an RPM file","rawContent":"rpm -qp --scripts {{some.rpm}}"},{"id":3407,"programId":768,"title":"Show changed, missing and/or incorrectly installed files of matching packages","rawContent":"rpm -Va '{{php-*}}'"},{"id":3408,"programId":769,"title":"Train the bayesian filter to recognise an email as spam","rawContent":"rspamc learn_spam {{path/to/email_file}}"},{"id":3409,"programId":769,"title":"Train the bayesian filter to recognise an email as ham","rawContent":"rspamc learn_ham {{path/to/email_file}}"},{"id":3410,"programId":769,"title":"Generate a manual report on an email","rawContent":"rspamc symbols {{path/to/email_file}}"},{"id":3411,"programId":769,"title":"Show server statistics","rawContent":"rspamc stat"},{"id":3412,"programId":770,"title":"Show whether an alarm is set or not","rawContent":"sudo rtcwake -m show -v"},{"id":3413,"programId":770,"title":"Suspend to ram and wakeup after 10 seconds","rawContent":"sudo rtcwake -m mem -s {{10}}"},{"id":3414,"programId":770,"title":"Suspend to disk (higher power saving) and wakeup 15 minutes later","rawContent":"sudo rtcwake -m disk --date +{{15}}min"},{"id":3415,"programId":770,"title":"Freeze the system (more efficent than suspend-to-ram but linux > 3.9 required) and wakeup at a given date and time","rawContent":"sudo rtcwake -m freeze --date {{YYYYMMDDhhmm}}"},{"id":3416,"programId":770,"title":"Disable a previously set alarm","rawContent":"sudo rtc -m disable"},{"id":3417,"programId":770,"title":"Perform a dry run to wakup the computer at a given time. (Press Ctrl + C to abort)","rawContent":"sudo rtcwake -m on --date {{hh:ss}}"},{"id":3418,"programId":771,"title":"Add a torrent file or magnet to be downloaded","rawContent":"rtorrent {{torrent_or_magnet}}"},{"id":3419,"programId":771,"title":"Start the download","rawContent":"<Ctrl>S"},{"id":3420,"programId":771,"title":"View details about downloading torrent","rawContent":"->"},{"id":3421,"programId":771,"title":"Close rtorrent safely","rawContent":"<Ctrl>Q"},{"id":3422,"programId":772,"title":"Individual actions/programs on run-mailcap can be invoked with action flag","rawContent":"run-mailcap --action=ACTION [--option[=value]]"},{"id":3423,"programId":772,"title":"In simple language","rawContent":"run-mailcap --action=ACTION {{filename}}"},{"id":3424,"programId":772,"title":"Turn on extra information","rawContent":"run-mailcap --action=ACTION --debug {{filename}}"},{"id":3425,"programId":772,"title":"Ignore any \"copiousoutput\" directive and forward output to STD‐OUT","rawContent":"run-mailcap --action=ACTION --nopager {{filename}}"},{"id":3426,"programId":772,"title":"Display the found command without actually executing it","rawContent":"run-mailcap --action=ACTION --norun {{filename}}"},{"id":3427,"programId":773,"title":"Start runit's 3-stage init scheme","rawContent":"runit"},{"id":3428,"programId":773,"title":"Shut down runit","rawContent":"kill --CONT {{runit_pid}}"},{"id":3429,"programId":774,"title":"Start a runit service as the current user","rawContent":"runsv {{path/to/service}}"},{"id":3430,"programId":774,"title":"Start a runit service as root","rawContent":"sudo runsv {{path/to/service}}"},{"id":3431,"programId":775,"title":"Switch `runsvdir` directories","rawContent":"sudo runsvchdir {{/path/to/directory}}"},{"id":3432,"programId":776,"title":"Start and manage all services in a directory as the current user","rawContent":"runsvdir {{path/to/services}}"},{"id":3433,"programId":776,"title":"Start and manage all services in a directory as root","rawContent":"sudo runsvdir {{path/to/services}}"},{"id":3434,"programId":776,"title":"Start services in separate sessions","rawContent":"runsvdir -P {{path/to/services}}"},{"id":3435,"programId":777,"title":"Report I/O and transfer rate issued to physical devices, one per second (press CTRL+C to quit)","rawContent":"sar -b {{1}}"},{"id":3436,"programId":777,"title":"Report a total of 10 network device statistics, one per 2 seconds","rawContent":"sar -n DEV {{2}} {{10}}"},{"id":3437,"programId":777,"title":"Report CPU utilization, one per 2 seconds","rawContent":"sar -u ALL {{2}}"},{"id":3438,"programId":777,"title":"Report a total of 20 memory utilization statistics, one per second","rawContent":"sar -r ALL {{1}} {{20}}"},{"id":3439,"programId":777,"title":"Report the run queue length and load averages, one per second","rawContent":"sar -q {{1}}"},{"id":3440,"programId":777,"title":"Report paging statistics, one per 5 seconds","rawContent":"sar -B {{5}}"},{"id":3441,"programId":778,"title":"See action can be used to view any file (usually image) on default mailcap explorer","rawContent":"see {{filename}}"},{"id":3442,"programId":778,"title":"Using with `run-mailcap`","rawContent":"run-mailcap --action=view {{filename}}"},{"id":3443,"programId":779,"title":"Open a new window of the default browser","rawContent":"sensible-browser"},{"id":3444,"programId":779,"title":"Open a url in the default browser","rawContent":"sensible-browser {{url}}"},{"id":3445,"programId":780,"title":"Start/Stop/Restart/Reload service (start/stop should always be available)","rawContent":"service {{init_script}} {{start|stop|restart|reload}}"},{"id":3446,"programId":780,"title":"Do a full restart (runs script twice with start and stop)","rawContent":"service {{init_script}} --full-restart"},{"id":3447,"programId":780,"title":"Show the current status of a service","rawContent":"service {{init_script}} status"},{"id":3448,"programId":780,"title":"List the status of all services","rawContent":"service --status-all"},{"id":3449,"programId":781,"title":"Modify ACL of a file for user with read and write access","rawContent":"setfacl -m u:{{username}}:rw {{file}}"},{"id":3450,"programId":781,"title":"Modify default ACL of a file for all users","rawContent":"setfacl -d -m u::rw {{file}}"},{"id":3451,"programId":781,"title":"Remove ACL of a file for an user","rawContent":"setfacl -x u:{{username}} {{file}}"},{"id":3452,"programId":781,"title":"Remove all ACL entries of a file","rawContent":"setfacl -b {{file}}"},{"id":3453,"programId":782,"title":"Calculate the SHA1 checksum for a file","rawContent":"sha1sum {{filename1}}"},{"id":3454,"programId":782,"title":"Calculate SHA1 checksums for multiple files","rawContent":"sha1sum {{filename1}} {{filename2}}"},{"id":3455,"programId":782,"title":"Read a file of SHA1 sums and verify all files have matching checksums","rawContent":"sha1sum -c {{filename.sha1}}"},{"id":3456,"programId":783,"title":"Calculate the SHA224 checksum for a file","rawContent":"sha224sum {{filename1}}"},{"id":3457,"programId":783,"title":"Calculate SHA224 checksums for multiple files","rawContent":"sha224sum {{filename1}} {{filename2}}"},{"id":3458,"programId":783,"title":"Read a file of SHA224 sums and verify all files have matching checksums","rawContent":"sha224sum -c {{filename.sha224}}"},{"id":3459,"programId":784,"title":"Calculate the SHA256 checksum for a file","rawContent":"sha256sum {{filename1}}"},{"id":3460,"programId":784,"title":"Calculate SHA256 checksums for multiple files","rawContent":"sha256sum {{filename1}} {{filename2}}"},{"id":3461,"programId":784,"title":"Read a file of SHA256 sums and verify all files have matching checksums","rawContent":"sha256sum -c {{filename.sha256}}"},{"id":3462,"programId":785,"title":"Calculate the SHA384 checksum for a file","rawContent":"sha384sum {{filename1}}"},{"id":3463,"programId":785,"title":"Calculate SHA384 checksums for multiple files","rawContent":"sha384sum {{filename1}} {{filename2}}"},{"id":3464,"programId":785,"title":"Read a file of SHA384 sums and verify all files have matching checksums","rawContent":"sha384sum -c {{filename.sha384}}"},{"id":3465,"programId":786,"title":"Calculate the SHA512 checksum for a file","rawContent":"sha512sum {{filename1}}"},{"id":3466,"programId":786,"title":"Calculate SHA512 checksums for multiple files","rawContent":"sha512sum {{filename1}} {{filename2}}"},{"id":3467,"programId":786,"title":"Read a file of SHA512 sums and verify all files have matching checksums","rawContent":"sha512sum -c {{filename.sha512}}"},{"id":3468,"programId":787,"title":"Calculate the SHA1 checksum for a file","rawContent":"shasum {{filename}}"},{"id":3469,"programId":787,"title":"Calculate the SHA256 checksum for a file","rawContent":"shasum --algorithm 256 {{filename}}"},{"id":3470,"programId":787,"title":"Calculate the SHA512 checksum for multiple files","rawContent":"shasum --algorithm 512 {{filename1}} {{filename2}}"},{"id":3471,"programId":787,"title":"Check a file with a list of sums against the directory's files","rawContent":"shasum --check {{list_file}}"},{"id":3472,"programId":787,"title":"Calculate the SHA1 checksum from stdin","rawContent":"{{somecommand}} | shasum"},{"id":3473,"programId":788,"title":"Randomize the order of lines in a file and output the result","rawContent":"shuf {{filename}}"},{"id":3474,"programId":788,"title":"Only output the first n entries of the result","rawContent":"shuf -n {{n}} {{filename}}"},{"id":3475,"programId":788,"title":"Write output to another file","rawContent":"shuf -o {{another_filename}} {{filename}}"},{"id":3476,"programId":788,"title":"Generate random numbers in range","rawContent":"shuf -i {{low}}-{{high}}"},{"id":3477,"programId":789,"title":"Power off (halt) immediately","rawContent":"shutdown -h now"},{"id":3478,"programId":789,"title":"Reboot immediately","rawContent":"shutdown -r now"},{"id":3479,"programId":789,"title":"Reboot in 5 minutes","rawContent":"shutdown -r +{{5}} &"},{"id":3480,"programId":789,"title":"Shutdown at 1:00 pm (Uses 24h clock)","rawContent":"shutdown -h 13:00"},{"id":3481,"programId":789,"title":"Cancel a pending shutdown/reboot operation","rawContent":"shutdown -c"},{"id":3482,"programId":790,"title":"Connect to a share (user will be prompted for password; `exit` to quit the session)","rawContent":"smbclient {{//server/share}}"},{"id":3483,"programId":790,"title":"Connect with a different username","rawContent":"smbclient {{//server/share}} --user {{username}}"},{"id":3484,"programId":790,"title":"Connect with a username and password","rawContent":"smbclient {{//server/share}} --user {{username%password}}"},{"id":3485,"programId":790,"title":"Download a file from the server","rawContent":"smbclient {{//server/share}} --directory {{path/to/folder}} --command \"get {{file.txt}}\""},{"id":3486,"programId":790,"title":"Upload a file to the server","rawContent":"smbclient {{//server/share}} --directory {{path/to/folder}} --command \"put {{file.txt}}\""},{"id":3487,"programId":791,"title":"Search for a package","rawContent":"snap find {{package_name}}"},{"id":3488,"programId":791,"title":"Install a package","rawContent":"snap install {{package_name}}"},{"id":3489,"programId":791,"title":"Display basic information about installed snap software","rawContent":"snap list"},{"id":3490,"programId":791,"title":"Uninstall a package","rawContent":"snap remove {{package_name}}"},{"id":3491,"programId":791,"title":"Check for recent snap changes in the system","rawContent":"snap changes"},{"id":3492,"programId":792,"title":"Sort a file in ascending order","rawContent":"sort {{filename}}"},{"id":3493,"programId":792,"title":"Sort a file in descending order","rawContent":"sort -r {{filename}}"},{"id":3494,"programId":792,"title":"Sort a file using numeric rather than alphabetic order","rawContent":"sort -n {{filename}}"},{"id":3495,"programId":792,"title":"Sort the passwd file by the 3rd field, numerically","rawContent":"sort -t: -k 3n /etc/passwd"},{"id":3496,"programId":792,"title":"Sort human-readable numbers (in this case the 5th field of `ls -lh`)","rawContent":"ls -lh | sort -h -k 5"},{"id":3497,"programId":793,"title":"Show all TCP/UDP/RAW/UNIX sockets","rawContent":"ss -a {{-t|-u|-w|-x}}"},{"id":3498,"programId":793,"title":"Filter TCP sockets by states, only/exclude","rawContent":"ss {{state/exclude}} {{bucket/big/connected/synchronized/...}}"},{"id":3499,"programId":793,"title":"Show all TCP sockets connected to the local HTTPS port (443)","rawContent":"ss -t src :{{443}}"},{"id":3500,"programId":793,"title":"Show all TCP sockets along with processes connected to a remote ssh port","rawContent":"ss -pt dst :{{ssh}}"},{"id":3501,"programId":793,"title":"Show all UDP sockets connected on specific source and destination ports","rawContent":"ss -u 'sport == :{{source_port}} and dport == :{{destination_port}}'"},{"id":3502,"programId":793,"title":"Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16","rawContent":"ss -4t src {{192.168/16}}"},{"id":3503,"programId":794,"title":"Add the default ssh keys in \"~/.ssh\" to the ssh-agent","rawContent":"ssh-add"},{"id":3504,"programId":794,"title":"Add a specific key to the ssh-agent","rawContent":"ssh-add {{path/to/private_key}}"},{"id":3505,"programId":794,"title":"List fingerprints of currently loaded keys","rawContent":"ssh-add -l"},{"id":3506,"programId":794,"title":"Delete a key from the ssh-agent","rawContent":"ssh-add -d {{path/to/private_key}}"},{"id":3507,"programId":794,"title":"Delete all currently loaded keys from the ssh-agent","rawContent":"ssh-add -D"},{"id":3508,"programId":795,"title":"Forward all IPv4 TCP traffic via a remote SSH server","rawContent":"sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}"},{"id":3509,"programId":795,"title":"Forward all IPv4 TCP and DNS traffic","rawContent":"sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}"},{"id":3510,"programId":795,"title":"Use the tproxy method to forward all IPv4 and IPv6 traffic","rawContent":"sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}"},{"id":3511,"programId":796,"title":"Show file properties such as size, permissions, creation and access dates among others","rawContent":"stat {{file}}"},{"id":3512,"programId":796,"title":"Same as above but in a more concise way","rawContent":"stat -t {{file}}"},{"id":3513,"programId":796,"title":"Show filesystem information","rawContent":"stat -f {{file}}"},{"id":3514,"programId":796,"title":"Show only octal file permissions","rawContent":"stat -c \"%a %n\" {{file}}"},{"id":3515,"programId":796,"title":"Show owner and group of the file","rawContent":"stat -c \"%U %G\" {{file}}"},{"id":3516,"programId":796,"title":"Show the size of the file in bytes","rawContent":"stat -c \"%s %n\" {{file}}"},{"id":3517,"programId":797,"title":"Start tracing a specific process by its PID","rawContent":"strace -p {{pid}}"},{"id":3518,"programId":797,"title":"Trace a process and filter output by system call","rawContent":"strace -p {{pid}} -e {{system call name}}"},{"id":3519,"programId":797,"title":"Count time, calls, and errors for each system call and report a summary on program exit","rawContent":"strace -p {{pid}} -c"},{"id":3520,"programId":797,"title":"Show the time spent in every system call","rawContent":"strace -p {{pid}} -T"},{"id":3521,"programId":797,"title":"Start tracing a program by executing it","rawContent":"strace {{program}}"},{"id":3522,"programId":797,"title":"Start tracing file operations of a program","rawContent":"strace -e trace=file {{program}}"},{"id":3523,"programId":798,"title":"Start a service","rawContent":"sudo sv up {{path/to/service}}"},{"id":3524,"programId":798,"title":"Stop a service","rawContent":"sudo sv down {{path/to/service}}"},{"id":3525,"programId":798,"title":"Get service status","rawContent":"sudo sv status {{path/to/service}}"},{"id":3526,"programId":799,"title":"Disable a given swap partition","rawContent":"swapoff {{/dev/sdb7}}"},{"id":3527,"programId":799,"title":"Disable a given swap file","rawContent":"swapoff {{path/to/file}}"},{"id":3528,"programId":799,"title":"Disable all swap areas","rawContent":"swapoff -a"},{"id":3529,"programId":799,"title":"Disable swap by label of a device or file","rawContent":"swapoff -L {{swap1}}"},{"id":3530,"programId":800,"title":"Get swap information","rawContent":"swapon -s"},{"id":3531,"programId":800,"title":"Enable a given swap partition","rawContent":"swapon {{/dev/sdb7}}"},{"id":3532,"programId":800,"title":"Enable a given swap file","rawContent":"swapon {{path/to/file}}"},{"id":3533,"programId":800,"title":"Enable all swap areas","rawContent":"swapon -a"},{"id":3534,"programId":800,"title":"Enable swap by label of a device or file","rawContent":"swapon -L {{swap1}}"},{"id":3535,"programId":801,"title":"Show all available variables and their values","rawContent":"sysctl -a"},{"id":3536,"programId":801,"title":"Set a changeable kernel state variable","rawContent":"sysctl -w {{section.tunable}}={{value}}"},{"id":3537,"programId":801,"title":"Get currently open file handlers","rawContent":"sysctl fs.file-nr"},{"id":3538,"programId":801,"title":"Get limit for simultaneous open files","rawContent":"sysctl fs.file-max"},{"id":3539,"programId":801,"title":"Apply changes from /etc/sysctl.conf","rawContent":"sysctl -p"},{"id":3540,"programId":802,"title":"List failed units","rawContent":"systemctl --failed"},{"id":3541,"programId":802,"title":"Start/Stop/Restart/Reload a service","rawContent":"systemctl start/stop/restart/reload {{unit}}"},{"id":3542,"programId":802,"title":"Show the status of a unit","rawContent":"systemctl status {{unit}}"},{"id":3543,"programId":802,"title":"Enable/Disable a unit to be started on bootup","rawContent":"systemctl enable/disable {{unit}}"},{"id":3544,"programId":802,"title":"Mask/Unmask a unit, prevent it to be started on bootup","rawContent":"systemctl mask/unmask {{unit}}"},{"id":3545,"programId":802,"title":"Reload systemd, scanning for new or changed units","rawContent":"systemctl daemon-reload"},{"id":3546,"programId":803,"title":"List time of each unit to start up","rawContent":"systemd-analyze blame"},{"id":3547,"programId":803,"title":"Print a tree of the time critical chain of units","rawContent":"systemd-analyze critical-chain"},{"id":3548,"programId":804,"title":"Show all data on the given interface and port","rawContent":"tcpflow -c -i {{eth0}} port {{80}}"},{"id":3549,"programId":805,"title":"Start terminator window","rawContent":"terminator"},{"id":3550,"programId":805,"title":"Start with a fullscreen window","rawContent":"terminator -f"},{"id":3551,"programId":805,"title":"Split terminals horizontally","rawContent":"Ctrl + Shift + O"},{"id":3552,"programId":805,"title":"Split terminals vertically","rawContent":"Ctrl + Shift + E"},{"id":3553,"programId":805,"title":"Open new tab","rawContent":"Ctrl + Shift + T"},{"id":3554,"programId":806,"title":"To check the current system clock time","rawContent":"timedatectl"},{"id":3555,"programId":806,"title":"To set the local time of the system clock directly","rawContent":"timedatectl set-time {{\"yyyy-MM-dd hh:mm:ss\"}}"},{"id":3556,"programId":806,"title":"To list available timezones","rawContent":"timedatectl list-timezones"},{"id":3557,"programId":806,"title":"To change timezones","rawContent":"timedatectl set-timezone {{timezone}}"},{"id":3558,"programId":806,"title":"To enable Network Time Protocol (NTP) syncing","rawContent":"timedatectl set-ntp on"},{"id":3559,"programId":807,"title":"Run `sleep 10` and kill it, if it's running after 3 seconds","rawContent":"timeout {{3s}} {{sleep 10}}"},{"id":3560,"programId":807,"title":"Specify the signal to be sent to the command after the time limit expires. (By default, TERM is sent)","rawContent":"timeout --signal {{INT}} {{5s}} {{sleep 10}}"},{"id":3561,"programId":808,"title":"Create a new tomb with an initial size of 100MB","rawContent":"tomb dig -s {{100}} {{encrypted_folder.tomb}}"},{"id":3562,"programId":808,"title":"Create a new key file that can be used to lock a tomb; user will be prompted for a password for the key","rawContent":"tomb forge {{encrypted_folder.tomb.key}}"},{"id":3563,"programId":808,"title":"Initialize and lock an empty tomb using a key made with `forge`","rawContent":"tomb lock {{encrypted_folder.tomb}} -k {{encrypted_folder.tomb.key}}"},{"id":3564,"programId":808,"title":"Mount a tomb (by default in /media) using its key, making it usable as a regular filesystem folder","rawContent":"tomb open {{encrypted_folder.tomb}} -k {{encrypted_folder.tomb.key}}"},{"id":3565,"programId":808,"title":"Close a tomb (fails if the tomb is being used by a process)","rawContent":"tomb close {{encrypted_folder.tomb}}"},{"id":3566,"programId":808,"title":"Forcefully close all open tombs, killing any applications using them","rawContent":"tomb slam all"},{"id":3567,"programId":808,"title":"List all open tombs","rawContent":"tomb list"},{"id":3568,"programId":809,"title":"Start top","rawContent":"top"},{"id":3569,"programId":809,"title":"Do not show any idle or zombie processes","rawContent":"top -i"},{"id":3570,"programId":809,"title":"Show only processes owned by given user","rawContent":"top -u {{user_name}}"},{"id":3571,"programId":809,"title":"Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name)","rawContent":"top -p $(pgrep -d ',' {{process_name}})"},{"id":3572,"programId":809,"title":"Get help about interactive commands","rawContent":"?"},{"id":3573,"programId":810,"title":"List available signals to set traps for","rawContent":"trap -l"},{"id":3574,"programId":810,"title":"List active traps for the current shell","rawContent":"trap -p"},{"id":3575,"programId":810,"title":"Set a trap to execute commands when one or more signals are detected","rawContent":"trap 'echo \"Caught signal {{SIGHUP}}\"' {{SIGHUP}}"},{"id":3576,"programId":810,"title":"Remove active traps","rawContent":"trap - {{SIGHUP}} {{SIGINT}}"},{"id":3577,"programId":811,"title":"Show files and directories up to 'num' levels of depth (where 1 means the current directory)","rawContent":"tree -L {{num}}"},{"id":3578,"programId":811,"title":"Show directories only","rawContent":"tree -d"},{"id":3579,"programId":811,"title":"Show hidden files too","rawContent":"tree -a"},{"id":3580,"programId":811,"title":"Print the tree without indentation lines, showing the full path instead (use `-N` to not escape whitespace and special characters)","rawContent":"tree -i -f"},{"id":3581,"programId":811,"title":"Print the size of each node next to it, in human-readable format","rawContent":"tree -s -h"},{"id":3582,"programId":811,"title":"Filter the tree using a wildcard (glob) pattern","rawContent":"tree -P {{*.txt}}"},{"id":3583,"programId":811,"title":"Ignore entries that match a wildcard (glob) pattern","rawContent":"tree -I {{*.txt}}"},{"id":3584,"programId":812,"title":"Synchronize and update all AUR packages","rawContent":"trizen -Syua"},{"id":3585,"programId":812,"title":"Install a new package","rawContent":"trizen -S {{package}}"},{"id":3586,"programId":812,"title":"Remove a package and its dependencies","rawContent":"trizen -Rs {{package}}"},{"id":3587,"programId":812,"title":"Search the package database for a keyword","rawContent":"trizen -Ss {{keyword}}"},{"id":3588,"programId":812,"title":"Show information about a package","rawContent":"trizen -Si {{package}}"},{"id":3589,"programId":812,"title":"List installed packages and versions","rawContent":"trizen -Qe"},{"id":3590,"programId":813,"title":"Enable ufw","rawContent":"ufw enable"},{"id":3591,"programId":813,"title":"Disable ufw","rawContent":"ufw disable"},{"id":3592,"programId":813,"title":"Show ufw rules, along with their numbers","rawContent":"ufw status numbered"},{"id":3593,"programId":813,"title":"Allow incoming traffic on port 5432 on this host with a comment identifying the service","rawContent":"ufw allow {{5432}} comment {{\"Service\"}}"},{"id":3594,"programId":813,"title":"Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22","rawContent":"ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}"},{"id":3595,"programId":813,"title":"Deny traffic on port 80 on this host","rawContent":"ufw deny {{80}}"},{"id":3596,"programId":813,"title":"Deny all UDP traffic to port 22","rawContent":"ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}"},{"id":3597,"programId":813,"title":"Delete a particular rule. The rule number can be retrieved from the `ufw status numbered` command","rawContent":"ufw delete {{rule_number}}"},{"id":3598,"programId":814,"title":"Get the properties of all the user limits","rawContent":"ulimit -a"},{"id":3599,"programId":814,"title":"Get hard limit for the number of simultaneously opened files","rawContent":"ulimit -H -n"},{"id":3600,"programId":814,"title":"Get soft limit for the number of simultaneously opened files","rawContent":"ulimit -S -n"},{"id":3601,"programId":814,"title":"Set max per-user process limit","rawContent":"ulimit -u 30"},{"id":3602,"programId":815,"title":"Display the current mask in octal notation","rawContent":"umask"},{"id":3603,"programId":815,"title":"Display the current mask in symbolic (human-readable) mode","rawContent":"umask -S"},{"id":3604,"programId":815,"title":"Change the mask symbolically to allow read permission for all users (the rest of the mask bits are unchanged)","rawContent":"umask {{a+r}}"},{"id":3605,"programId":815,"title":"Set the mask (using octal) to restrict no permissions for the file's owner, and restrict all permissions for everyone else","rawContent":"umask {{077}}"},{"id":3606,"programId":816,"title":"Print hardware-related information: machine and processor","rawContent":"uname -mp"},{"id":3607,"programId":816,"title":"Print software-related information: operating system, release number, and version","rawContent":"uname -srv"},{"id":3608,"programId":816,"title":"Print the nodename (hostname) of the system","rawContent":"uname -n"},{"id":3609,"programId":816,"title":"Print all available system information (hardware, software, nodename)","rawContent":"uname -a"},{"id":3610,"programId":817,"title":"Convert blanks in each file to tabs, writing to standard output","rawContent":"unexpand {{file}}"},{"id":3611,"programId":817,"title":"Convert blanks to tabs, reading from standard output","rawContent":"unexpand"},{"id":3612,"programId":817,"title":"Convert all blanks, instead of just initial blanks","rawContent":"unexpand -a {{file}}"},{"id":3613,"programId":817,"title":"Convert only leading sequences of blanks (overrides -a)","rawContent":"unexpand --first-only {{file}}"},{"id":3614,"programId":817,"title":"Have tabs a certain number of characters apart, not 8 (enables -a)","rawContent":"unexpand -t {{number}} {{file}}"},{"id":3615,"programId":818,"title":"Run in interactive mode","rawContent":"units"},{"id":3616,"programId":818,"title":"Show the conversion between two simple units","rawContent":"units {{quarts}} {{tablespoons}}"},{"id":3617,"programId":818,"title":"Convert between units with quantities","rawContent":"units {{15 pounds}} {{kilograms}}"},{"id":3618,"programId":818,"title":"Show the conversion between two compound units","rawContent":"units {{\"meters / second\"}} {{\"inches / hour\"}}"},{"id":3619,"programId":818,"title":"Show the conversion between units with different dimensions","rawContent":"units {{\"acres\"}} {{\"ft^2\"}}"},{"id":3620,"programId":819,"title":"Add a symbolic link","rawContent":"sudo update-alternatives --install {{path/to/symlink}} {{command_name}} {{path/to/command_binary}} {{priority}}"},{"id":3621,"programId":819,"title":"Configure a symbolic link for \"java\"","rawContent":"sudo update-alternatives --config {{java}}"},{"id":3622,"programId":819,"title":"Remove a symbolic link","rawContent":"sudo update-alternatives --remove {{java}} {{/opt/java/jdk1.8.0_102/bin/java}}"},{"id":3623,"programId":819,"title":"Display information about a specified command","rawContent":"update-alternatives --display {{java}}"},{"id":3624,"programId":820,"title":"Install a service","rawContent":"update-rc.d {{mysql}} defaults"},{"id":3625,"programId":820,"title":"Enable a service","rawContent":"update-rc.d {{mysql}} enable"},{"id":3626,"programId":820,"title":"Disable a service","rawContent":"update-rc.d {{mysql}} disable"},{"id":3627,"programId":820,"title":"Forcibly remove a service","rawContent":"update-rc.d -f {{mysql}} remove"},{"id":3628,"programId":821,"title":"Create new user","rawContent":"useradd {{name}}"},{"id":3629,"programId":821,"title":"Create new user with a default home directory","rawContent":"useradd --create-home {{name}}"},{"id":3630,"programId":821,"title":"Create new user with specified shell","rawContent":"useradd --shell {{/path/to/shell}} {{name}}"},{"id":3631,"programId":821,"title":"Create new user belonging to additional groups (mind the lack of whitespace)","rawContent":"useradd --groups {{group1,group2}} {{name}}"},{"id":3632,"programId":821,"title":"Create new system user without a home directory","rawContent":"useradd --no-create-home --system {{name}}"},{"id":3633,"programId":822,"title":"Remove a user and their home directory","rawContent":"userdel -r {{name}}"},{"id":3634,"programId":823,"title":"Change a user's name","rawContent":"usermod -l {{newname}} {{user}}"},{"id":3635,"programId":823,"title":"Add user to supplementary groups (mind the whitespace)","rawContent":"usermod -a -G {{group1,group2}} {{user}}"},{"id":3636,"programId":823,"title":"Create a new home directory for a user and move their files to it","rawContent":"usermod -m -d {{/path/to/home}} {{user}}"},{"id":3637,"programId":824,"title":"Create a new volume group called vg1 using the `/dev/sda1` device","rawContent":"vgcreate {{vg1}} {{/dev/sda1}}"},{"id":3638,"programId":824,"title":"Create a new volume group called vg1 using multiple devices","rawContent":"vgcreate {{vg1}} {{/dev/sda1}} {{/dev/sdb1}} {{/dev/sdc1}}"},{"id":3639,"programId":825,"title":"View an image","rawContent":"viewnior {{path/to/image.ext}}"},{"id":3640,"programId":825,"title":"View in fullscreen mode","rawContent":"viewnior --fullscreen {{path/to/image.ext}}"},{"id":3641,"programId":825,"title":"View fullscreen in slideshow mode","rawContent":"viewnior --slideshow {{path/to/image.ext}}"},{"id":3642,"programId":826,"title":"Launch a VNC Server on next available display","rawContent":"vncserver"},{"id":3643,"programId":826,"title":"Launch a VNC Server with specific screen geometry","rawContent":"vncserver --geometry {{width}}x{{height}}"},{"id":3644,"programId":826,"title":"Kill an instance of VNC Server running on a specific display","rawContent":"vncserver --kill :{{display_number}}"},{"id":3645,"programId":827,"title":"Send a message","rawContent":"echo \"{{message}}\" | wall"},{"id":3646,"programId":827,"title":"Send a message from a file","rawContent":"wall {{file}}"},{"id":3647,"programId":827,"title":"Send a message with timeout (default 300)","rawContent":"wall -t {{seconds}} {{file}}"},{"id":3648,"programId":828,"title":"Monitor files in the current folder","rawContent":"watch {{ls}}"},{"id":3649,"programId":828,"title":"Monitor disk space and highlight the changes","rawContent":"watch -d {{df}}"},{"id":3650,"programId":828,"title":"Monitor \"node\" processes, refreshing every 3 seconds","rawContent":"watch -n {{3}} \"{{ps aux | grep node}}\""},{"id":3651,"programId":829,"title":"Display a description from a man page","rawContent":"whatis {{command}}"},{"id":3652,"programId":829,"title":"Don't cut the description off at the end of the line","rawContent":"whatis --long {{command}}"},{"id":3653,"programId":829,"title":"Display descriptions for all commands matching a glob","rawContent":"whatis --wildcard {{net*}}"},{"id":3654,"programId":829,"title":"Search man page descriptions with a regular expression","rawContent":"whatis --regex '{{wish[0-9]\\.[0-9]}}'"},{"id":3655,"programId":830,"title":"Locate binary, source and man pages for ssh","rawContent":"whereis {{ssh}}"},{"id":3656,"programId":830,"title":"Locate binary and man pages for ls","rawContent":"whereis -bm {{ls}}"},{"id":3657,"programId":830,"title":"Locate source of gcc and man pages for git","rawContent":"whereis -s {{gcc}} -m {{git}}"},{"id":3658,"programId":830,"title":"Locate binaries for gcc in /usr/bin/ only","rawContent":"whereis -b -B {{/usr/bin/}} -f {{gcc}}"},{"id":3659,"programId":831,"title":"Display optical drives available to `wodim`","rawContent":"wodim --devices"},{"id":3660,"programId":831,"title":"Record (\"burn\") an audio-only disc","rawContent":"wodim dev=/dev/{{optical_drive}} -audio {{track*.cdaudio}}"},{"id":3661,"programId":831,"title":"Burn a file to a disc, ejecting the disc once done (some recorders require this)","rawContent":"wodim -eject dev=/dev/{{optical_drive}} -data {{file.iso}}"},{"id":3662,"programId":831,"title":"Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession","rawContent":"wodim -tao dev=/dev/{{optical_drive}} -data {{file.iso}}"},{"id":3663,"programId":832,"title":"Scan for available networks","rawContent":"wpa_cli scan"},{"id":3664,"programId":832,"title":"Show scan results","rawContent":"wpa_cli scan_results"},{"id":3665,"programId":832,"title":"Add a network","rawContent":"wpa_cli add_network {{number}}"},{"id":3666,"programId":832,"title":"Set a network's SSID","rawContent":"wpa_cli set_network {{number}} ssid \"{{SSID}}\""},{"id":3667,"programId":832,"title":"Enable network","rawContent":"wpa_cli enable_network {{number}}"},{"id":3668,"programId":832,"title":"Save config","rawContent":"wpa_cli save_config"},{"id":3669,"programId":833,"title":"Send a message to a given user on a given terminal id","rawContent":"write {{username}} {{terminal_id}}"},{"id":3670,"programId":833,"title":"Send message to \"testuser\" on terminal \"/dev/tty/5\"","rawContent":"write {{testuser}} {{tty/5}}"},{"id":3671,"programId":833,"title":"Send message to \"jhondoe\" on pseudo terminal \"/dev/pts/5\"","rawContent":"write {{jhondoe}} {{pts/5}}"},{"id":3672,"programId":834,"title":"Launch a VNC server that allows multiple clients to connect","rawContent":"x11vnc -shared"},{"id":3673,"programId":834,"title":"Launch a VNC server in view-only mode, and which won't terminate once the last client disconnects","rawContent":"x11vnc -forever -viewonly"},{"id":3674,"programId":834,"title":"Launch a VNC server on a specific display and screen (both starting at index zero)","rawContent":"x11vnc -display :{{display}}.{{screen}}"},{"id":3675,"programId":834,"title":"Launch a VNC server on the third display's default screen","rawContent":"x11vnc -display :{{2}}"},{"id":3676,"programId":834,"title":"Launch a VNC server on the first display's second screen","rawContent":"x11vnc -display :{{0}}.{{1}}"},{"id":3677,"programId":835,"title":"Copy the output from a command to the X11 primary selection area (clipboard)","rawContent":"echo 123 | xclip"},{"id":3678,"programId":835,"title":"Copy the output from a command to a given X11 selection area","rawContent":"echo 123 | xclip -selection {{primary|secondary|clipboard}}"},{"id":3679,"programId":835,"title":"Copy the contents of a file to the system clipboard, using short notation","rawContent":"echo 123 | xclip -sel clip"},{"id":3680,"programId":835,"title":"Copy the contents of a file into the system clipboard","rawContent":"xclip -sel clip {{input_file.txt}}"},{"id":3681,"programId":835,"title":"Paste the contents of the X11 primary selection area to the console","rawContent":"xclip -o"},{"id":3682,"programId":835,"title":"Paste the contents of the system clipboard to the console","rawContent":"xclip -o -sel clip"},{"id":3683,"programId":835,"title":"Paste the contents of the system clipboard into a file","rawContent":"xclip -o -sel clip > {{output_file.txt}}"},{"id":3684,"programId":836,"title":"Retrieve the X-Windows window ID of the running Firefox window(s)","rawContent":"xdotool search --onlyvisible --name {{firefox}}"},{"id":3685,"programId":836,"title":"Click the right mouse button","rawContent":"xdotool click {{3}}"},{"id":3686,"programId":836,"title":"Get the id of the currently active window","rawContent":"xdotool getactivewindow"},{"id":3687,"programId":836,"title":"Focus on the window with id of 12345","rawContent":"xdotool windowfocus --sync {{12345}}"},{"id":3688,"programId":836,"title":"Type a message, with a 500ms delay for each letter","rawContent":"xdotool type --delay {{500}} \"Hello world\""},{"id":3689,"programId":836,"title":"Press the enter key","rawContent":"xdotool key {{KP_Enter}}"},{"id":3690,"programId":837,"title":"Launch xeyes on the local machine's default display","rawContent":"xeyes"},{"id":3691,"programId":837,"title":"Launch xeyes on a remote machine's display 0, screen 0","rawContent":"xeyes -display {{remote_host}}:{{0}}.{{0}}"},{"id":3692,"programId":838,"title":"List all input devices","rawContent":"xinput list"},{"id":3693,"programId":838,"title":"Disconnect an input from its master","rawContent":"xinput float {{id}}"},{"id":3694,"programId":838,"title":"Reattach an input as slave to a master","rawContent":"xinput reattach {{id}} {{master_id}}"},{"id":3695,"programId":839,"title":"Start xman in three-button window","rawContent":"xman"},{"id":3696,"programId":839,"title":"Open the manual page output stored in a given file","rawContent":"xman -helpfile {{filename}}"},{"id":3697,"programId":839,"title":"Show both manual page and directory","rawContent":"xman -bothshown"},{"id":3698,"programId":840,"title":"Display the current state of the system (known screens, resolutions, ...)","rawContent":"xrandr --query"},{"id":3699,"programId":840,"title":"Disable disconnected outputs and enable connected ones with default settings","rawContent":"xrandr --auto"},{"id":3700,"programId":840,"title":"Change the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz","rawContent":"xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}"},{"id":3701,"programId":840,"title":"Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1","rawContent":"xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}"},{"id":3702,"programId":840,"title":"Disable the VGA1 output","rawContent":"xrandr --output {{VGA1}} --off"},{"id":3703,"programId":841,"title":"Use a command's output as input of the clip[b]oard (equivalent to `Ctrl + C`)","rawContent":"echo 123 | xsel -ib"},{"id":3704,"programId":841,"title":"Use the contents of a file as input of the clipboard","rawContent":"cat {{file}} | xsel -ib"},{"id":3705,"programId":841,"title":"Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`)","rawContent":"xsel -ob"},{"id":3706,"programId":841,"title":"Output the clipboard's contents into a file","rawContent":"xsel -ob > {{file}}"},{"id":3707,"programId":841,"title":"Clear the clipboard","rawContent":"xsel -cb"},{"id":3708,"programId":841,"title":"Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click)","rawContent":"xsel -op"},{"id":3709,"programId":842,"title":"List all the available wacom devices. The device name is in the first column","rawContent":"xsetwacom list"},{"id":3710,"programId":842,"title":"Set Wacom area to specific screen. Get name of the screen with `xrandr`","rawContent":"xsetwacom set \"{{device name}}\" MapToOutput {{screen}}"},{"id":3711,"programId":842,"title":"Set mode to relative (like a mouse) or absolute (like a pen) mode","rawContent":"xsetwacom set \"{{device name}}\" Mode \"{{Relative|Absolute}}\""},{"id":3712,"programId":842,"title":"Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from \"natural\" rotation","rawContent":"xsetwacom set \"{{device name}}\" Rotate {{none|half|cw|ccw}}"},{"id":3713,"programId":842,"title":"Set button to only work when the tip of the pen is touching the tablet","rawContent":"xsetwacom set \"{{device name}}\" TabletPCButton \"on\""},{"id":3714,"programId":843,"title":"Yank using the default delimiters (\\f, \\n, \\r, \\s, \\t)","rawContent":"{{sudo dmesg}} | yank"},{"id":3715,"programId":843,"title":"Yank an entire line","rawContent":"{{sudo dmesg}} | yank -l"},{"id":3716,"programId":843,"title":"Yank using a specific delimiter","rawContent":"{{echo hello=world}} | yank -d {{=}}"},{"id":3717,"programId":843,"title":"Only yank fields matching a specific pattern","rawContent":"{{ps ux}} | yank -g {{\"[0-9]+\"}}"},{"id":3718,"programId":844,"title":"Synchronize and update all packages (including AUR)","rawContent":"yaourt -Syua"},{"id":3719,"programId":844,"title":"Install a new package (includes AUR)","rawContent":"yaourt -S package-name"},{"id":3720,"programId":844,"title":"Remove a package and its dependencies (includes AUR packages)","rawContent":"yaourt -Rs package-name"},{"id":3721,"programId":844,"title":"Search the package database for a keyword (including AUR)","rawContent":"yaourt -Ss package-name"},{"id":3722,"programId":844,"title":"List installed packages, versions, and repositories (AUR packages will be listed under the repository name 'local')","rawContent":"yaourt -Q"},{"id":3723,"programId":845,"title":"Synchronize list of packages and versions available. This should be run first, before running subsequent yum commands","rawContent":"yum update"},{"id":3724,"programId":845,"title":"Install a new package","rawContent":"yum install {{package}}"},{"id":3725,"programId":845,"title":"Install a new package and assume yes to all questions (also works with update, great for automated updates)","rawContent":"yum -y install {{package}}"},{"id":3726,"programId":845,"title":"Find the package that provides a particular command","rawContent":"yum provides {{command}}"},{"id":3727,"programId":845,"title":"Remove a package","rawContent":"yum remove {{package}}"},{"id":3728,"programId":845,"title":"Upgrade installed packages to newest available versions","rawContent":"yum upgrade"},{"id":3729,"programId":846,"title":"Display the default question dialog","rawContent":"zenity --question"},{"id":3730,"programId":846,"title":"Display an info dialog displaying the text \"Hello!\"","rawContent":"zenity --info --text=\"{{Hello!}}\""},{"id":3731,"programId":846,"title":"Display a name/password form and output the data separated by \";\"","rawContent":"zenity --forms --add-entry=\"{{Name}}\" --add-password=\"{{Password}}\" --separator=\"{{;}}\""},{"id":3732,"programId":846,"title":"Display a file selection form in which the user can only select directories","rawContent":"zenity --file-selection --directory"},{"id":3733,"programId":846,"title":"Display a progress bar which updates its message every second and show a progress percent","rawContent":"{{(echo \"#1\"; sleep 1; echo \"50\"; echo \"#2\"; sleep 1; echo \"100\")}} | zenity --progress"},{"id":3734,"programId":847,"title":"Check if zram is enabled","rawContent":"lsmod | grep -i zram"},{"id":3735,"programId":847,"title":"Enable zram with 2 devices (use `zramctl` to configure the devices further)","rawContent":"sudo modprobe zram num_devices={{2}}"},{"id":3736,"programId":847,"title":"Find and initialise the next free zram device to a 2GB virtual drive using LZ4 compression","rawContent":"sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}"},{"id":3737,"programId":847,"title":"List currently initialised devices","rawContent":"zramctl"},{"id":3738,"programId":848,"title":"Synchronize list of packages and versions available","rawContent":"zypper refresh"},{"id":3739,"programId":848,"title":"Install a new package","rawContent":"zypper install {{package}}"},{"id":3740,"programId":848,"title":"Remove a package","rawContent":"zypper remove {{package}}"},{"id":3741,"programId":848,"title":"Upgrade installed packages to newest available versions","rawContent":"zypper update"},{"id":3742,"programId":848,"title":"Search package via keyword","rawContent":"zypper search {{keyword}}"},{"id":3743,"programId":849,"title":"Show current wireless status information","rawContent":"airport -I"},{"id":3744,"programId":849,"title":"Sniff wireless traffic on channel 1","rawContent":"airport sniff {{1}}"},{"id":3745,"programId":849,"title":"Scan for available wireless networks","rawContent":"airport -s"},{"id":3746,"programId":849,"title":"Disassociate from current airport network","rawContent":"sudo airport -z"},{"id":3747,"programId":850,"title":"Start the org.apache.httpd launchd job","rawContent":"apachectl start"},{"id":3748,"programId":850,"title":"Stop the launchd job","rawContent":"apachectl stop"},{"id":3749,"programId":850,"title":"Stop, then start launchd job","rawContent":"apachectl restart"},{"id":3750,"programId":851,"title":"Show system information","rawContent":"archey"},{"id":3751,"programId":851,"title":"Show system information without colored output","rawContent":"archey --nocolor"},{"id":3752,"programId":851,"title":"Show system information, using MacPorts instead of Homebrew","rawContent":"archey --macports"},{"id":3753,"programId":851,"title":"Show system information without IP address check","rawContent":"archey --offline"},{"id":3754,"programId":852,"title":"Assemble a file, writing the output to a.out","rawContent":"as {{file.s}}"},{"id":3755,"programId":852,"title":"Assemble the output to a given file","rawContent":"as {{file.s}} -o {{out.o}}"},{"id":3756,"programId":852,"title":"Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers)","rawContent":"as -f {{file.s}}"},{"id":3757,"programId":852,"title":"Include a given path to the list of directories to search for files specified in .include directives","rawContent":"as -I {{path/to/directory}} {{file.s}}"},{"id":3758,"programId":853,"title":"Encode a file","rawContent":"base64 -i {{plain_file}}"},{"id":3759,"programId":853,"title":"Decode a file","rawContent":"base64 -D -i {{base64_file}}"},{"id":3760,"programId":853,"title":"Encode from stdin","rawContent":"echo -n {{plain_text}} | base64"},{"id":3761,"programId":853,"title":"Decode from stdin","rawContent":"echo -n {{base64_text}} | base64 -D"},{"id":3762,"programId":854,"title":"Search for casks","rawContent":"brew cask search {{text}}"},{"id":3763,"programId":854,"title":"Install a cask","rawContent":"brew cask install {{cask_name}}"},{"id":3764,"programId":854,"title":"List all installed casks","rawContent":"brew cask list"},{"id":3765,"programId":854,"title":"List installed casks that have newer versions available","rawContent":"brew cask outdated"},{"id":3766,"programId":854,"title":"Upgrade an installed cask to its latest version","rawContent":"brew cask upgrade {{cask_name}}"},{"id":3767,"programId":854,"title":"Uninstall a cask","rawContent":"brew cask uninstall {{cask_name}}"},{"id":3768,"programId":854,"title":"Display information about a given cask","rawContent":"brew cask info {{cask_name}}"},{"id":3769,"programId":855,"title":"Search the Mac App Store by app name and return matching identifiers","rawContent":"mas search {{app_name}}"},{"id":3770,"programId":855,"title":"Install or update a previously purchased application","rawContent":"mas install {{app_name}} {{app_identifier}}"},{"id":3771,"programId":855,"title":"Show all installed applications and their product identifiers","rawContent":"mas list"},{"id":3772,"programId":855,"title":"List installed apps with pending updates","rawContent":"mas outdated"},{"id":3773,"programId":855,"title":"Install all pending updates","rawContent":"mas upgrade"},{"id":3774,"programId":855,"title":"Install updates for a specific app","rawContent":"mas upgrade {{app_identifier}}"},{"id":3775,"programId":856,"title":"Search for available formulas","rawContent":"brew search {{text}}"},{"id":3776,"programId":856,"title":"Install the latest stable version of a formula (use `--devel` for development versions)","rawContent":"brew install {{formula}}"},{"id":3777,"programId":856,"title":"List all installed formulae","rawContent":"brew list"},{"id":3778,"programId":856,"title":"Update an installed formula (if no formula name is given, all installed formulae are updated)","rawContent":"brew upgrade {{formula}}"},{"id":3779,"programId":856,"title":"Fetch the newest version of Homebrew and all formulae from GitHub","rawContent":"brew update"},{"id":3780,"programId":856,"title":"Show formulae that have a more recent version available","rawContent":"brew outdated"},{"id":3781,"programId":856,"title":"Display information about a formula (version, installation path, dependencies, etc.)","rawContent":"brew info {{formula}}"},{"id":3782,"programId":856,"title":"Check your Homebrew installation for potential problems","rawContent":"brew doctor"},{"id":3783,"programId":857,"title":"Prevent from sleeping for 1 hour (3600 seconds)","rawContent":"caffeinate -u -t {{3600}}"},{"id":3784,"programId":857,"title":"Prevent from sleeping until a command completes","rawContent":"caffeinate -s {{command}}"},{"id":3785,"programId":857,"title":"Prevent from sleeping until you type Ctrl-C","rawContent":"caffeinate -i"},{"id":3786,"programId":858,"title":"Display a calendar for the current month","rawContent":"cal"},{"id":3787,"programId":858,"title":"Display a calendar for a specific month (1-12 or name)","rawContent":"cal -m {{month}}"},{"id":3788,"programId":858,"title":"Display a calendar for the current year","rawContent":"cal -y"},{"id":3789,"programId":858,"title":"Display a calendar for a specific year (4 digits)","rawContent":"cal {{year}}"},{"id":3790,"programId":858,"title":"Display a calendar for a specific month and year","rawContent":"cal {{month}} {{year}}"},{"id":3791,"programId":858,"title":"Display date of Easter (Western Christian churches) in a given year","rawContent":"ncal -e {{year}}"},{"id":3792,"programId":859,"title":"Download the latest version of all dependencies mentioned in Cartfile, and build them","rawContent":"carthage update"},{"id":3793,"programId":859,"title":"Update dependencies, but only build for iOS","rawContent":"carthage update --platform ios"},{"id":3794,"programId":859,"title":"Update dependencies, but don't build any of them","rawContent":"carthage update --no-build"},{"id":3795,"programId":859,"title":"Download and rebuild the current version of dependencies (without updating them)","rawContent":"carthage bootstrap"},{"id":3796,"programId":859,"title":"Rebuild a specific dependency","rawContent":"carthage build {{dependency}}"},{"id":3797,"programId":860,"title":"Clear the screen (equivalent to typing Control-L when using the bash shell)","rawContent":"clear"},{"id":3798,"programId":861,"title":"Sign an application with a certificate","rawContent":"codesign -s {{\"My Company Name\"}} {{/path/to/App.app}}"},{"id":3799,"programId":861,"title":"Verify the certificate of an application","rawContent":"codesign -v {{/path/to/App.app}}"},{"id":3800,"programId":862,"title":"List all commands that you could run","rawContent":"compgen -c"},{"id":3801,"programId":862,"title":"List all aliases","rawContent":"compgen -a"},{"id":3802,"programId":862,"title":"List all functions that you could run","rawContent":"compgen -A function"},{"id":3803,"programId":862,"title":"Show shell reserved key words","rawContent":"compgen -k"},{"id":3804,"programId":862,"title":"See all available commands/aliases starting with 'ls'","rawContent":"compgen -ac {{ls}}"},{"id":3805,"programId":863,"title":"Display the current date using the default locale's format","rawContent":"date +\"%c\""},{"id":3806,"programId":863,"title":"Display the current date in UTC and ISO 8601 format","rawContent":"date -u +\"%Y-%m-%dT%H:%M:%SZ\""},{"id":3807,"programId":863,"title":"Display the current date as a Unix timestamp (seconds since the Unix epoch)","rawContent":"date +%s"},{"id":3808,"programId":863,"title":"Display a specific date (represented as a Unix timestamp) using the default format","rawContent":"date -r 1473305798"},{"id":3809,"programId":864,"title":"Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso)","rawContent":"dd if={{file.iso}} of=/dev/{{usb_drive}}"},{"id":3810,"programId":864,"title":"Clone a drive to another drive with 4MB block and ignore error","rawContent":"dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4m conv=noerror"},{"id":3811,"programId":864,"title":"Generate a file of 100 random bytes by using kernel random driver","rawContent":"dd if=/dev/urandom of={{random_file}} bs=100 count=1"},{"id":3812,"programId":864,"title":"Benchmark the write performance of a disk","rawContent":"dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000"},{"id":3813,"programId":865,"title":"Read system defaults for an application option","rawContent":"defaults read {{application}} {{option}}"},{"id":3814,"programId":865,"title":"Read default values for an application option","rawContent":"defaults read -app {{application}} {{option}}"},{"id":3815,"programId":865,"title":"Write the default value of an application option","rawContent":"defaults write {{application}} {{option}} {{-type}} {{value}}"},{"id":3816,"programId":865,"title":"Speed up Mission Control animations","rawContent":"defaults write com.apple.Dock expose-animation-duration -float 0.1"},{"id":3817,"programId":865,"title":"Delete all defaults of an application","rawContent":"defaults delete {{application}}"},{"id":3818,"programId":866,"title":"List all currently available disks, partitions and mounted volumes","rawContent":"diskutil list"},{"id":3819,"programId":866,"title":"Repair the file system data structures of a volume","rawContent":"diskutil repairVolume {{/dev/diskX}}"},{"id":3820,"programId":866,"title":"Unmount a volume","rawContent":"diskutil unmountDisk {{/dev/diskX}}"},{"id":3821,"programId":866,"title":"Eject a CD/DVD (unmount first)","rawContent":"diskutil eject {{/dev/disk1}}"},{"id":3822,"programId":867,"title":"Overwrite contents of destination folder with contents of source folder","rawContent":"ditto {{path/to/source}} {{path/to/destination}}"},{"id":3823,"programId":867,"title":"Print a line to the Terminal window for every file that’s being copied","rawContent":"ditto -V {{path/to/source}} {{path/to/destination}}"},{"id":3824,"programId":867,"title":"Copy a given file or folder, while retaining the original file permissions","rawContent":"ditto -rsrc {{path/to/source}} {{path/to/destination}}"},{"id":3825,"programId":868,"title":"Show kernel messages","rawContent":"dmesg"},{"id":3826,"programId":868,"title":"Show how much physical memory is available on this system","rawContent":"dmesg | grep -i memory"},{"id":3827,"programId":868,"title":"Show kernel messages 1 page at a time","rawContent":"dmesg | less"},{"id":3828,"programId":869,"title":"Eject a disk from the drive","rawContent":"drutil eject"},{"id":3829,"programId":869,"title":"Burn a folder as an ISO9660 filesystem onto a DVD. Don't verify and eject when complete","rawContent":"drutil burn -noverify -eject -iso9660"},{"id":3830,"programId":870,"title":"List the sizes of a folder and any subfolders, in the given unit (KB/MB/GB)","rawContent":"du -{{k|m|g}} {{path/to/folder}}"},{"id":3831,"programId":870,"title":"List the sizes of a folder and any subfolders, in human-readable form (i.e. auto-selecting the appropriate unit for each size)","rawContent":"du -h {{path/to/folder}}"},{"id":3832,"programId":870,"title":"Show the size of a single folder, in human readable units","rawContent":"du -sh {{path/to/folder}}"},{"id":3833,"programId":870,"title":"List the human-readable sizes of a folder and of all the files and folders within it","rawContent":"du -ah {{path/to/folder}}"},{"id":3834,"programId":870,"title":"List the human-readable sizes of a folder and any subfolders, up to N levels deep","rawContent":"du -h -d {{N}} {{path/to/folder}}"},{"id":3835,"programId":870,"title":"List the human-readable size of all .jpg files in subfolders of the current folder, and show a cumulative total at the end","rawContent":"du -ch */*.jpg"},{"id":3836,"programId":871,"title":"Call `echo` with the \"foo\" argument","rawContent":"eval \"{{echo foo}}\""},{"id":3837,"programId":871,"title":"Set a variable in the current shell","rawContent":"eval \"{{foo=bar}}\""},{"id":3838,"programId":872,"title":"Set a new environment variable","rawContent":"export {{VARIABLE}}={{value}}"},{"id":3839,"programId":872,"title":"Remove an environment variable","rawContent":"export -n {{VARIABLE}}"},{"id":3840,"programId":872,"title":"Append something to the PATH variable","rawContent":"export PATH=$PATH:{{path/to/append}}"},{"id":3841,"programId":873,"title":"View images locally or using a URL","rawContent":"feh {{path/to/images}}"},{"id":3842,"programId":873,"title":"View images recursively","rawContent":"feh --recursive {{path/to/images}}"},{"id":3843,"programId":873,"title":"View images without window borders","rawContent":"feh --borderless {{path/to/images}}"},{"id":3844,"programId":873,"title":"Exit after the last image","rawContent":"feh --cycle-once {{path/to/images}}"},{"id":3845,"programId":873,"title":"Set the slideshow cycle delay","rawContent":"feh --slideshow-delay {{seconds}} {{path/to/images}}"},{"id":3846,"programId":873,"title":"Set your wallpaper (centered, filled, maximized, scaled or tiled)","rawContent":"feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}"},{"id":3847,"programId":874,"title":"Give a description of the type of the specified file. Works fine for files with no file extension","rawContent":"file {{filename}}"},{"id":3848,"programId":874,"title":"Look inside a zipped file and determine the file type(s) inside","rawContent":"file -z {{foo.zip}}"},{"id":3849,"programId":874,"title":"Allow file to work with special or device files","rawContent":"file -s {{filename}}"},{"id":3850,"programId":874,"title":"Don't stop at first file type match; keep going until the end of the file","rawContent":"file -k {{filename}}"},{"id":3851,"programId":874,"title":"Determine the mime encoding type of a file","rawContent":"file -I {{filename}}"},{"id":3852,"programId":875,"title":"Check filesystem /dev/sda, reporting any damaged blocks","rawContent":"fsck {{/dev/sda}}"},{"id":3853,"programId":875,"title":"Check filesystem /dev/sda only if it is clean, reporting any damaged blocks and interactively letting the user choose to repair each one","rawContent":"fsck -f {{/dev/sda}}"},{"id":3854,"programId":875,"title":"Check filesystem /dev/sda only if it is clean, reporting any damaged blocks and automatically repairing them","rawContent":"fsck -fy {{/dev/sda}}"},{"id":3855,"programId":875,"title":"Check filesystem /dev/sda, reporting whether it has been cleanly unmounted","rawContent":"fsck -q {{/dev/sda}}"},{"id":3856,"programId":876,"title":"Output the first few lines of a file","rawContent":"head -n {{count_of_lines}} {{filename}}"},{"id":3857,"programId":876,"title":"Output the first few bytes of a file","rawContent":"head -c {{number_in_bytes}} {{filename}}"},{"id":3858,"programId":877,"title":"Print the hexadecimal representation of a file","rawContent":"hexdump {{file}}"},{"id":3859,"programId":877,"title":"Display the input offset in hexadecimal and its ASCII representation in two columns","rawContent":"hexdump -C {{file}}"},{"id":3860,"programId":877,"title":"Display the hexadecimal representation of a file, but interpret only n bytes of the input","rawContent":"hexdump -C -n{{number_of_bytes}} {{file}}"},{"id":3861,"programId":878,"title":"Show current host name","rawContent":"hostname"},{"id":3862,"programId":878,"title":"Set current host name","rawContent":"hostname {{new_hostname}}"},{"id":3863,"programId":879,"title":"Display an image on the command line","rawContent":"imgcat {{filename}}"},{"id":3864,"programId":880,"title":"Activate a user-specific agent to be loaded into `launchd` whenever the user logs in","rawContent":"launchctl load ~/Library/LaunchAgents/{{my_script}}.plist"},{"id":3865,"programId":880,"title":"Activate an agent which requires root privileges to run and/or should be loaded whenever any user logs in (note the absence of `~` in the path)","rawContent":"sudo launchctl load /Library/LaunchAgents/{{root_script}}.plist"},{"id":3866,"programId":880,"title":"Activate a system-wide daemon to be loaded whenever the system boots up (even if no user logs in)","rawContent":"sudo launchctl load /Library/LaunchDaemons/{{system_daemon}}.plist"},{"id":3867,"programId":880,"title":"Show all loaded agents/daemons, with the PID if the process they specify is currently running, and the exit code returned the last time they ran","rawContent":"launchctl list"},{"id":3868,"programId":880,"title":"Unload a currently loaded agent, e.g. to make changes (note: the plist file is automatically loaded into `launchd` after a reboot and/or logging in)","rawContent":"launchctl unload ~/Library/LaunchAgents/{{my_script}}.plist"},{"id":3869,"programId":880,"title":"Manually run a known (loaded) agent/daemon, even if it isn’t the right time (note: this command uses the agent's label, rather than the filename)","rawContent":"launchctl start {{my_script}}"},{"id":3870,"programId":880,"title":"Manually kill the process associated with a known agent/daemon, if it's running","rawContent":"launchctl stop {{my_script}}"},{"id":3871,"programId":881,"title":"Debug an executable","rawContent":"lldb {{executable}}"},{"id":3872,"programId":881,"title":"Attach `lldb` to a running process with a given PID","rawContent":"lldb -p {{pid}}"},{"id":3873,"programId":881,"title":"Wait for a new process to launch with a given name, and attach to it","rawContent":"lldb -w -n {{process_name}}"},{"id":3874,"programId":882,"title":"Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily)","rawContent":"locate {{pattern}}"},{"id":3875,"programId":882,"title":"Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`)","rawContent":"locate */{{filename}}"},{"id":3876,"programId":882,"title":"Recompute the database. You need to do it if you want to find recently added files","rawContent":"sudo /usr/libexec/locate.updatedb"},{"id":3877,"programId":883,"title":"Log a message to syslog","rawContent":"logger {{message}}"},{"id":3878,"programId":883,"title":"Take input from stdin and log to syslog","rawContent":"echo {{log_entry}} | logger"},{"id":3879,"programId":883,"title":"Send the output to a remote syslog server running at a given port. Default port is 514","rawContent":"echo {{log_entry}} | logger -h {{hostname}} -P {{port}}"},{"id":3880,"programId":883,"title":"Use a specific tag for every line logged. Default is the name of logged in user","rawContent":"echo {{log_entry}} | logger -t {{tag}}"},{"id":3881,"programId":883,"title":"Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options","rawContent":"echo {{log_entry}} | logger -p {{user.warning}}"},{"id":3882,"programId":884,"title":"Look for lines which begins with the given prefix","rawContent":"look {{prefix}} {{file}}"},{"id":3883,"programId":884,"title":"Look for lines ignoring case","rawContent":"look -f {{prefix}} {{file}}"},{"id":3884,"programId":885,"title":"Calculate the MD5 checksum for a file","rawContent":"md5 {{filename}}"},{"id":3885,"programId":885,"title":"Calculate MD5 checksums for multiple files","rawContent":"md5 {{filename1}} {{filename2}}"},{"id":3886,"programId":885,"title":"Output only the md5 checksum (no filename)","rawContent":"md5 -q {{filename}}"},{"id":3887,"programId":885,"title":"Print a checksum of the given string","rawContent":"md5 -s {{string}}"},{"id":3888,"programId":886,"title":"Find a file by its name","rawContent":"mdfind -name {{file}}"},{"id":3889,"programId":886,"title":"Find a file by its content","rawContent":"mdfind {{query}}"},{"id":3890,"programId":886,"title":"Find a file containing a string, in a given directory","rawContent":"mdfind -onlyin {{directory}} {{query}}"},{"id":3891,"programId":887,"title":"Install a given version of node. If the version is already installed, it will be activated","rawContent":"n {{version}}"},{"id":3892,"programId":887,"title":"Display installed versions and interactively activate one of them","rawContent":"n"},{"id":3893,"programId":887,"title":"Remove a version","rawContent":"n rm {{version}}"},{"id":3894,"programId":887,"title":"Execute a file with a given version","rawContent":"n use {{version}} {{file.js}}"},{"id":3895,"programId":887,"title":"Output binary path for a version","rawContent":"n bin {{version}}"},{"id":3896,"programId":888,"title":"List all ports","rawContent":"netstat -a"},{"id":3897,"programId":888,"title":"List all listening ports","rawContent":"netstat -l"},{"id":3898,"programId":888,"title":"List listening TCP ports","rawContent":"netstat -t"},{"id":3899,"programId":888,"title":"Display PID and program names for a specific port","rawContent":"netstat -p {PROTOCOL}"},{"id":3900,"programId":888,"title":"List information continuously","rawContent":"netstat -c"},{"id":3901,"programId":889,"title":"List available network service providers (Ethernet, Wi-Fi, Bluetooth, etc)","rawContent":"networksetup -listallnetworkservices"},{"id":3902,"programId":889,"title":"Show network settings for a particular networking device","rawContent":"networksetup -getinfo {{\"Wi-Fi\"}}"},{"id":3903,"programId":889,"title":"Get currently connected Wi-Fi network name (Wi-Fi device usually en0 or en1)","rawContent":"networksetup -getairportnetwork {{en0}}"},{"id":3904,"programId":889,"title":"Connect to a particular Wi-Fi network","rawContent":"networksetup -setairportnetwork {{en0}} {{\"Airport Network SSID\"}} {{password}}"},{"id":3905,"programId":890,"title":"List global (extern) functions in a file (prefixed with T)","rawContent":"nm -g {{file.o}}"},{"id":3906,"programId":890,"title":"List only undefined symbols in a file","rawContent":"nm -u {{file.o}}"},{"id":3907,"programId":890,"title":"List all symbols, even debugging symbols","rawContent":"nm -a {{file.o}}"},{"id":3908,"programId":890,"title":"Demangle C++ symbols","rawContent":"nm {{file.o}} | c++filt"},{"id":3909,"programId":891,"title":"Open a file with the associated application","rawContent":"open {{file.ext}}"},{"id":3910,"programId":891,"title":"Run a graphical macOS application","rawContent":"open -a {{Application}}"},{"id":3911,"programId":891,"title":"Run a graphical macOS app based on the bundle identifier (refer to `osascript` for an easy way get this)","rawContent":"open -b {{com.domain.application}}"},{"id":3912,"programId":891,"title":"Open the current directory in Finder","rawContent":"open ."},{"id":3913,"programId":891,"title":"Reveal a file in finder","rawContent":"open -R {{path/to/file}}"},{"id":3914,"programId":891,"title":"Open all the files of a given extension in the current directory with the associated application","rawContent":"open {{*.ext}}"},{"id":3915,"programId":892,"title":"Print all file opens as they occur","rawContent":"sudo opensnoop"},{"id":3916,"programId":892,"title":"Track all file opens by a process by name","rawContent":"sudo opensnoop -n {{process_name}}"},{"id":3917,"programId":892,"title":"Track all file opens by a process by PID","rawContent":"sudo opensnoop -p {{PID}}"},{"id":3918,"programId":892,"title":"Track which processes open a specified file","rawContent":"sudo opensnoop -f {{path/to/file}}"},{"id":3919,"programId":893,"title":"Run an AppleScript command","rawContent":"osascript -e '{{say \"Hello world\"}}'"},{"id":3920,"programId":893,"title":"Run multiple AppleScript commands","rawContent":"osascript -e '{{say \"Hello\"}}' -e '{{say \"world\"}}'"},{"id":3921,"programId":893,"title":"Run a compiled (`*.scpt`), bundled (`*.scptd`), or plaintext (`*.applescript`) AppleScript file","rawContent":"osascript {{path/to/apple.scpt}}"},{"id":3922,"programId":893,"title":"Get the bundle identifier of an application (useful for `open -b`)","rawContent":"osascript -e 'id of app \"{{Application}}\"'"},{"id":3923,"programId":893,"title":"Run a JavaScript command","rawContent":"osascript -l JavaScript -e '{{console.log(\"Hello world\");}}'"},{"id":3924,"programId":893,"title":"Run a JavaScript file","rawContent":"osascript -l JavaScript {{path/to/script.js}}"},{"id":3925,"programId":894,"title":"Place the contents of a file in the clipboard","rawContent":"pbcopy < {{file}}"},{"id":3926,"programId":894,"title":"Place the results of a command in the clipboard","rawContent":"find . -type t -name \"*.png\" | pbcopy"},{"id":3927,"programId":895,"title":"Write the contents of the clipboard to a file","rawContent":"pbpaste > {{file}}"},{"id":3928,"programId":895,"title":"Use the contents of the clipboard as input to a command","rawContent":"pbpaste | grep foo"},{"id":3929,"programId":896,"title":"Find lines that match pattern in a PDF","rawContent":"pdfgrep {{pattern}} {{file.pdf}}"},{"id":3930,"programId":896,"title":"Include file name and page number for each matched line","rawContent":"pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}"},{"id":3931,"programId":896,"title":"Do a case insensitive search for lines that begin with \"foo\" and return the first 3 matches","rawContent":"pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}"},{"id":3932,"programId":896,"title":"Find pattern in files with a .pdf extension in the current directory recursively","rawContent":"pdfgrep --recursive {{pattern}}"},{"id":3933,"programId":896,"title":"Find pattern on files that match a specific glob in the current directory recursively","rawContent":"pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}"},{"id":3934,"programId":897,"title":"Display the current power management settings","rawContent":"pmset -g"},{"id":3935,"programId":897,"title":"Display the current power source and battery levels","rawContent":"pmset -g batt"},{"id":3936,"programId":897,"title":"Set display to never sleep when on charger power","rawContent":"sudo pmset -c displaysleep 0"},{"id":3937,"programId":897,"title":"Set display to sleep after 15 minutes when on battery power","rawContent":"sudo pmset -b displaysleep 15"},{"id":3938,"programId":897,"title":"Schedule computer to automatically wake up every weekday at 9 AM","rawContent":"sudo pmset repeat wake MTWRF 09:00:00"},{"id":3939,"programId":897,"title":"Restore to system defaults","rawContent":"sudo pmset -a displaysleep 10 disksleep 10 sleep 30 womp 1"},{"id":3940,"programId":898,"title":"Create a Podfile for the current project with the default contents","rawContent":"pod init"},{"id":3941,"programId":898,"title":"Download and install all pods defined in the Podfile (that haven't been installed before)","rawContent":"pod install"},{"id":3942,"programId":898,"title":"List all available pods","rawContent":"pod list"},{"id":3943,"programId":898,"title":"Show the outdated pods (of those currently installed)","rawContent":"pod outdated"},{"id":3944,"programId":898,"title":"Update all currently installed pods to their newest version","rawContent":"pod update"},{"id":3945,"programId":898,"title":"Update a specific (previously installed) pod to its newest version","rawContent":"pod update {{pod_name}}"},{"id":3946,"programId":898,"title":"Remove CocoaPods from a Xcode project","rawContent":"pod deintegrate {{xcode_project}}"},{"id":3947,"programId":899,"title":"Remove the top directory from the stack and cd to it","rawContent":"popd"},{"id":3948,"programId":899,"title":"Remove the Nth directory (starting from zero to the left from the list printed with `dirs`)","rawContent":"popd +N"},{"id":3949,"programId":899,"title":"Remove the Nth directory (starting from zero to the right from the list printed with `dirs`)","rawContent":"popd -N"},{"id":3950,"programId":900,"title":"Search for a package","rawContent":"port search {{search_term}}"},{"id":3951,"programId":900,"title":"Install a package","rawContent":"sudo port install {{package_name}}"},{"id":3952,"programId":900,"title":"List installed packages","rawContent":"port installed"},{"id":3953,"programId":900,"title":"Update port and fetch latest list of available packages","rawContent":"sudo port selfupdate"},{"id":3954,"programId":900,"title":"Upgrade outdated packages","rawContent":"sudo port upgrade outdated"},{"id":3955,"programId":900,"title":"Remove old versions of installed packages","rawContent":"sudo port uninstall inactive"},{"id":3956,"programId":901,"title":"Switch to directory and push it on the stack","rawContent":"pushd {{directory}}"},{"id":3957,"programId":901,"title":"Switch first and second directories on the stack","rawContent":"pushd"},{"id":3958,"programId":901,"title":"Rotate stack by making the 5th element the top of the stack","rawContent":"pushd +4"},{"id":3959,"programId":902,"title":"Generate random password with s[y]mbols","rawContent":"pwgen -y {{length}}"},{"id":3960,"programId":902,"title":"Generate secure, hard-to-memorize passwords","rawContent":"pwgen -s {{length}}"},{"id":3961,"programId":902,"title":"Generate password with at least one capital letter in them","rawContent":"pwgen -c {{length}}"},{"id":3962,"programId":903,"title":"Display QuickLook for one or multiple files","rawContent":"qlmanage -p {{filename}} {{filename2}}"},{"id":3963,"programId":903,"title":"Compute 300px wide PNG thumbnails of all JPEGs in the current directory and put them in a directory","rawContent":"qlmanage {{*.jpg}} -t -s {{300}} {{path/to/directory}}"},{"id":3964,"programId":903,"title":"Reset Quicklook","rawContent":"qlmanage -r"},{"id":3965,"programId":904,"title":"Add a route to a destination through a gateway","rawContent":"sudo route add {{dest_ip_address}} {{gateway_address}}"},{"id":3966,"programId":904,"title":"Add a route to a /24 subnet through a gateway","rawContent":"sudo route add {{subnet_ip_address}}/24 {{gateway_address}}"},{"id":3967,"programId":904,"title":"Run in test mode (does not do anything, just print)","rawContent":"sudo route -t add {{dest_ip_address}}/24 {{gateway_address}}"},{"id":3968,"programId":904,"title":"Remove all routes","rawContent":"sudo route flush"},{"id":3969,"programId":904,"title":"Delete a specific route","rawContent":"sudo route delete {{dest_ip_address}}/24"},{"id":3970,"programId":904,"title":"Lookup and display the route for a destination (hostname or IP address)","rawContent":"sudo route get {{destination}}"},{"id":3971,"programId":905,"title":"Check all files in the current directory (including subdirectories)","rawContent":"rubocop"},{"id":3972,"programId":905,"title":"Check one or more specific files or directories","rawContent":"rubocop {{path/to/file}} {{path/to/directory}}"},{"id":3973,"programId":905,"title":"Write output to file","rawContent":"rubocop --out {{path/to/file}}"},{"id":3974,"programId":905,"title":"View list of cops (linter rules)","rawContent":"rubocop --show-cops"},{"id":3975,"programId":905,"title":"Exclude a cop","rawContent":"rubocop --except {{cop_1}} {{cop_2}}"},{"id":3976,"programId":905,"title":"Run only specified cops","rawContent":"rubocop --only {{cop_1}} {{cop_2}}"},{"id":3977,"programId":905,"title":"Auto-correct files (experimental)","rawContent":"rubocop --auto-correct"},{"id":3978,"programId":906,"title":"Start runit's 3-stage init scheme","rawContent":"runit"},{"id":3979,"programId":906,"title":"Shut down runit","rawContent":"kill --CONT {{runit_pid}}"},{"id":3980,"programId":907,"title":"Start a runit service as the current user","rawContent":"runsv {{path/to/service}}"},{"id":3981,"programId":907,"title":"Start a runit service as root","rawContent":"sudo runsv {{path/to/service}}"},{"id":3982,"programId":908,"title":"Switch `runsvdir` directories","rawContent":"sudo runsvchdir {{/path/to/directory}}"},{"id":3983,"programId":909,"title":"Start and manage all services in a directory as the current user","rawContent":"runsvdir {{path/to/services}}"},{"id":3984,"programId":909,"title":"Start and manage all services in a directory as root","rawContent":"sudo runsvdir {{path/to/services}}"},{"id":3985,"programId":909,"title":"Start services in separate sessions","rawContent":"runsvdir -P {{path/to/services}}"},{"id":3986,"programId":910,"title":"Say a phrase aloud","rawContent":"say {{\"I like to ride my bike.\"}}"},{"id":3987,"programId":910,"title":"Read a file aloud","rawContent":"say -f {{filename.txt}}"},{"id":3988,"programId":910,"title":"Say a phrase with a custom voice and speech rate","rawContent":"say -v {{voice}} -r {{words_per_minute}} {{\"I'm sorry Dave, I can't let you do that.\"}}"},{"id":3989,"programId":910,"title":"List the available voices","rawContent":"say -v ?"},{"id":3990,"programId":910,"title":"Create an audio file of the spoken text","rawContent":"say -o {{filename.aiff}} {{\"Here's to the Crazy Ones.\"}}"},{"id":3991,"programId":911,"title":"Display DNS Configuration","rawContent":"scutil --dns"},{"id":3992,"programId":911,"title":"Display proxy configuration","rawContent":"scutil --proxy"},{"id":3993,"programId":911,"title":"Get computer name","rawContent":"scutil --get ComputerName"},{"id":3994,"programId":911,"title":"Set computer name","rawContent":"sudo scutil --set ComputerName {{computer_name}}"},{"id":3995,"programId":911,"title":"Get hostname","rawContent":"scutil --get HostName"},{"id":3996,"programId":911,"title":"Set hostname","rawContent":"scutil --set HostName {{hostname}}"},{"id":3997,"programId":912,"title":"Replace the first occurrence of a string in a file, and print the result","rawContent":"sed 's/{{find}}/{{replace}}/' {{filename}}"},{"id":3998,"programId":912,"title":"Replace all occurrences of an extended regular expression in a file","rawContent":"sed -E 's/{{regex}}/{{replace}}/g' {{filename}}"},{"id":3999,"programId":912,"title":"Replace all occurrences of a string in a file, overwriting the file (i.e. in-place)","rawContent":"sed -i '' 's/{{find}}/{{replace}}/g' {{filename}}"},{"id":4000,"programId":912,"title":"Replace only on lines matching the line pattern","rawContent":"sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}"},{"id":4001,"programId":912,"title":"Apply multiple find-replace expressions to a file","rawContent":"sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}"},{"id":4002,"programId":912,"title":"Replace separator / by any other character not used in the find or replace patterns, e.g., #","rawContent":"sed 's#{{find}}#{{replace}}#' {{filename}}"},{"id":4003,"programId":913,"title":"Calculate the SHA1 checksum for a file","rawContent":"shasum {{filename}}"},{"id":4004,"programId":913,"title":"Calculate the SHA256 checksum for a file","rawContent":"shasum --algorithm 256 {{filename}}"},{"id":4005,"programId":913,"title":"Calculate the SHA512 checksum for multiple files","rawContent":"shasum --algorithm 512 {{filename1}} {{filename2}}"},{"id":4006,"programId":913,"title":"Check a file with a list of sums against the directory's files","rawContent":"shasum --check {{list_file}}"},{"id":4007,"programId":913,"title":"Calculate the SHA1 checksum from stdin","rawContent":"{{somecommand}} | shasum"},{"id":4008,"programId":914,"title":"Power off (halt) immediately","rawContent":"shutdown -h now"},{"id":4009,"programId":914,"title":"Sleep immediately","rawContent":"shutdown -s now"},{"id":4010,"programId":914,"title":"Reboot immediately","rawContent":"shutdown -r now"},{"id":4011,"programId":914,"title":"Reboot in 5 minutes","rawContent":"shutdown -r +{{5}}"},{"id":4012,"programId":915,"title":"Specify an output directory so that originals do not get modified","rawContent":"sips --out {{path/to/out_dir}}"},{"id":4013,"programId":915,"title":"Resample image at specified size, Image aspect ratio may be altered","rawContent":"sips -z {{1920}} {{300}} {{image.ext}}"},{"id":4014,"programId":915,"title":"Resample image so height and width aren't greater than specified size (notice the capital Z)","rawContent":"sips -Z {{1920}} {{300}} {{image.ext}}"},{"id":4015,"programId":915,"title":"Resample all images in a folder to fit a width of 960px (honoring aspect ratio)","rawContent":"sips --resampleWidth {{960}} {{path/to/images}}"},{"id":4016,"programId":915,"title":"Convert an image from CMYK to RGB","rawContent":"sips --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' {{path/to/image.ext}} {{path/to/out_dir}}"},{"id":4017,"programId":915,"title":"Remove ColorSync ICC profile from an image","rawContent":"sips -d profile --deleteColorManagementProperties {{path/to/image.ext}}"},{"id":4018,"programId":916,"title":"List all available updates","rawContent":"softwareupdate -l"},{"id":4019,"programId":916,"title":"Download and install all updates","rawContent":"softwareupdate -ia"},{"id":4020,"programId":916,"title":"Download and install all recommended updates","rawContent":"softwareupdate -ir"},{"id":4021,"programId":916,"title":"Download and install a specific app","rawContent":"softwareupdate -i {{update_name}}"},{"id":4022,"programId":917,"title":"Split a file, each split having 10 lines (except the last split)","rawContent":"split -l {{10}} {{filename}}"},{"id":4023,"programId":917,"title":"Split a file into 5 files. File is split such that each split has same size (except the last split)","rawContent":"split -n {{5}} {{filename}}"},{"id":4024,"programId":917,"title":"Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes)","rawContent":"split -b {{512}} {{filename}}"},{"id":4025,"programId":918,"title":"Add the default ssh keys in \"~/.ssh\" to the ssh-agent","rawContent":"ssh-add"},{"id":4026,"programId":918,"title":"Add a specific key to the ssh-agent","rawContent":"ssh-add {{path/to/private_key}}"},{"id":4027,"programId":918,"title":"List fingerprints of currently loaded keys","rawContent":"ssh-add -l"},{"id":4028,"programId":918,"title":"Delete a key from the ssh-agent","rawContent":"ssh-add -d {{path/to/private_key}}"},{"id":4029,"programId":918,"title":"Delete all currently loaded keys from the ssh-agent","rawContent":"ssh-add -D"},{"id":4030,"programId":918,"title":"Add a key to the ssh-agent and the keychain","rawContent":"ssh-add -K {{path/to/private_key}}"},{"id":4031,"programId":919,"title":"Forward all IPv4 TCP traffic via a remote SSH server","rawContent":"sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}"},{"id":4032,"programId":919,"title":"Forward all IPv4 TCP and DNS traffic","rawContent":"sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}"},{"id":4033,"programId":919,"title":"Use the tproxy method to forward all IPv4 and IPv6 traffic","rawContent":"sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}"},{"id":4034,"programId":920,"title":"Show file properties such as size, permissions, creation and access dates among others","rawContent":"stat {{file}}"},{"id":4035,"programId":920,"title":"Same as above but verbose (more similar to linux's `stat`)","rawContent":"stat -x {{file}}"},{"id":4036,"programId":920,"title":"Show only octal file permissions","rawContent":"stat -f %Mp%Lp {{file}}"},{"id":4037,"programId":920,"title":"Show owner and group of the file","rawContent":"stat -f \"%Su %Sg\" {{file}}"},{"id":4038,"programId":920,"title":"Show the size of the file in bytes","rawContent":"stat -f \"%z %N\" {{file}}"},{"id":4039,"programId":921,"title":"Start a service","rawContent":"sudo sv up {{path/to/service}}"},{"id":4040,"programId":921,"title":"Stop a service","rawContent":"sudo sv down {{path/to/service}}"},{"id":4041,"programId":921,"title":"Get service status","rawContent":"sudo sv status {{path/to/service}}"},{"id":4042,"programId":922,"title":"Print macOS Version","rawContent":"sw_vers -productVersion"},{"id":4043,"programId":922,"title":"Print macOS Build","rawContent":"sw_vers -buildVersion"},{"id":4044,"programId":923,"title":"Show all available variables and their values","rawContent":"sysctl -a"},{"id":4045,"programId":923,"title":"Show Apple model identifier","rawContent":"sysctl -n hw.model"},{"id":4046,"programId":923,"title":"Show CPU model","rawContent":"sysctl -n machdep.cpu.brand_string"},{"id":4047,"programId":923,"title":"Show available CPU features (MMX, SSE, SSE2, SSE3, AES, etc)","rawContent":"sysctl -n machdep.cpu.feature"},{"id":4048,"programId":923,"title":"Set a changeable kernel state variable","rawContent":"sysctl -w {{section.tunable}}={{value}}"},{"id":4049,"programId":924,"title":"Display a full system profiler report which can be opened by System Profiler.app","rawContent":"system_profiler -xml > MyReport.spx"},{"id":4050,"programId":924,"title":"Display a hardware overview (Model, CPU, Memory, Serial, etc)","rawContent":"system_profiler SPHardwareDataType"},{"id":4051,"programId":924,"title":"Print the system serial number","rawContent":"system_profiler SPHardwareDataType|grep \"Serial Number (system)\" |awk '{print $4}'"},{"id":4052,"programId":925,"title":"Enable remote login (SSH)","rawContent":"systemsetup -setremotelogin on"},{"id":4053,"programId":925,"title":"Specify TimeZone, NTP Server and enable network time","rawContent":"systemsetup -settimezone {{US/Pacific}} -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on"},{"id":4054,"programId":925,"title":"Make the machine never sleep and automatically restart on power failure or kernel panic","rawContent":"systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on"},{"id":4055,"programId":925,"title":"List valid startup disks","rawContent":"systemsetup -liststartupdisks"},{"id":4056,"programId":925,"title":"Specify a new startup disk","rawContent":"systemsetup -setstartupdisk {{path}}"},{"id":4057,"programId":926,"title":"Start top, all options are available in the interface","rawContent":"top"},{"id":4058,"programId":926,"title":"Start top sorting processes by internal memory size (default order - process ID)","rawContent":"top -o mem"},{"id":4059,"programId":926,"title":"Start top sorting processes first by CPU, then by running time","rawContent":"top -o cpu -O time"},{"id":4060,"programId":926,"title":"Start top displaying only processes owned by given user","rawContent":"top -user {{user_name}}"},{"id":4061,"programId":926,"title":"Get help about interactive commands","rawContent":"?"},{"id":4062,"programId":927,"title":"List available signals to set traps for","rawContent":"trap -l"},{"id":4063,"programId":927,"title":"List active traps for the current shell","rawContent":"trap -p"},{"id":4064,"programId":927,"title":"Set a trap to execute commands when one or more signals are detected","rawContent":"trap 'echo \"Caught signal {{SIGHUP}}\"' {{SIGHUP}}"},{"id":4065,"programId":927,"title":"Remove active traps","rawContent":"trap - {{SIGHUP}} {{SIGINT}}"},{"id":4066,"programId":928,"title":"Show files and directories up to 'num' levels of depth (where 1 means the current directory)","rawContent":"tree -L {{num}}"},{"id":4067,"programId":928,"title":"Show directories only","rawContent":"tree -d"},{"id":4068,"programId":928,"title":"Show hidden files too","rawContent":"tree -a"},{"id":4069,"programId":928,"title":"Print the tree without indentation lines, showing the full path instead (use `-N` to not escape whitespace and special characters)","rawContent":"tree -i -f"},{"id":4070,"programId":928,"title":"Print the size of each node next to it, in human-readable format, with folders displaying their cumulative size (as in the `du` command)","rawContent":"tree -s -h --du"},{"id":4071,"programId":928,"title":"Find files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files","rawContent":"tree -P '{{*.txt}}' --prune"},{"id":4072,"programId":928,"title":"Find directories within the tree hierarchy, pruning out directories that aren't ancestors of the wanted one","rawContent":"tree -P {{directory_name}} --matchdirs --prune"},{"id":4073,"programId":929,"title":"Print hardware-related information: machine and processor","rawContent":"uname -mp"},{"id":4074,"programId":929,"title":"Print software-related information: operating system, release number, and version","rawContent":"uname -srv"},{"id":4075,"programId":929,"title":"Print the nodename (hostname) of the system","rawContent":"uname -n"},{"id":4076,"programId":929,"title":"Print all available system information (hardware, software, nodename)","rawContent":"uname -a"},{"id":4077,"programId":930,"title":"Run in interactive mode","rawContent":"units"},{"id":4078,"programId":930,"title":"Show the conversion between two simple units","rawContent":"units {{quarts}} {{tablespoons}}"},{"id":4079,"programId":930,"title":"Convert between units with quantities","rawContent":"units {{15 pounds}} {{kilograms}}"},{"id":4080,"programId":930,"title":"Show the conversion between two compound units","rawContent":"units {{\"meters / second\"}} {{\"inches / hour\"}}"},{"id":4081,"programId":930,"title":"Show the conversion between units with different dimensions","rawContent":"units {{\"acres\"}} {{\"ft^2\"}}"},{"id":4082,"programId":931,"title":"Show logged-in users info","rawContent":"w"},{"id":4083,"programId":931,"title":"Show logged-in users info without a header","rawContent":"w -h"},{"id":4084,"programId":931,"title":"Show info about logged-in users, sorted by their idle time","rawContent":"w -i"},{"id":4085,"programId":932,"title":"Take a picture from webcam","rawContent":"wacaw {{filename}}"},{"id":4086,"programId":932,"title":"Record a video","rawContent":"wacaw --video {{filename}} -D {{duration_in_seconds}}"},{"id":4087,"programId":932,"title":"Take a picture with custom resolution","rawContent":"wacaw -x {{width}} -y {{height}} {{filename}}"},{"id":4088,"programId":932,"title":"Copy image just taken to clipboard","rawContent":"wacaw --to-clipboard"},{"id":4089,"programId":932,"title":"List the devices available","rawContent":"wacaw -L"},{"id":4090,"programId":933,"title":"List key:value extended attributes for a given file","rawContent":"xattr -l {{file}}"},{"id":4091,"programId":933,"title":"Write an attribute for a given file","rawContent":"xattr -w {{attribute_key}} {{attribute_value}} {{file}}"},{"id":4092,"programId":933,"title":"Delete an attribute from a given file","rawContent":"xattr -d {{com.apple.quarantine}} {{file}}"},{"id":4093,"programId":933,"title":"Delete all extended attributes from a given file","rawContent":"xattr -c {{file}}"},{"id":4094,"programId":933,"title":"Recursively delete an attribute in a given directory","rawContent":"xattr -rd {{attribute_key}} {{directory}}"},{"id":4095,"programId":934,"title":"Build workspace","rawContent":"xcodebuild -workspace {{workspace_name.workspace}} -scheme {{scheme_name}} -configuration {{configuration_name}} clean build SYMROOT={{SYMROOT_path}}"},{"id":4096,"programId":934,"title":"Build project","rawContent":"xcodebuild -target {{target_name}} -configuration {{configuration_name}} clean build SYMROOT={{SYMROOT_path}}"},{"id":4097,"programId":934,"title":"Show SDKs","rawContent":"xcodebuild -showsdks"},{"id":4098,"programId":935,"title":"Build a single project without any workspace","rawContent":"xctool -project {{YourProject.xcodeproj}} -scheme {{YourScheme}} build"},{"id":4099,"programId":935,"title":"Build a project that is part of a workspace","rawContent":"xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} build"},{"id":4100,"programId":935,"title":"Clean, build and execute all the tests","rawContent":"xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} clean build test"},{"id":4101,"programId":936,"title":"Open file in XCode","rawContent":"xed {{file1}}"},{"id":4102,"programId":936,"title":"Open file(s) in XCode, create if it doesn't exist","rawContent":"xed -c {{filename1}}"},{"id":4103,"programId":936,"title":"Open a file in XCode and jump to line number 75","rawContent":"xed -l 75 {{filename}}"},{"id":4104,"programId":937,"title":"Transform an XML file with a specific XSLT stylesheet","rawContent":"xsltproc --output {{output.html}} {{stylesheet.xslt}} {{xmlfile.xml}}"},{"id":4105,"programId":937,"title":"Pass a value to a parameter in the stylesheet","rawContent":"xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}"},{"id":4106,"programId":938,"title":"Yank using the default delimiters (\\f, \\n, \\r, \\s, \\t)","rawContent":"{{sudo dmesg}} | yank"},{"id":4107,"programId":938,"title":"Yank an entire line","rawContent":"{{sudo dmesg}} | yank -l"},{"id":4108,"programId":938,"title":"Yank using a specific delimiter","rawContent":"{{echo hello=world}} | yank -d {{=}}"},{"id":4109,"programId":938,"title":"Only yank fields matching a specific pattern","rawContent":"{{ps ux}} | yank -g {{\"[0-9]+\"}}"},{"id":4110,"programId":939,"title":"Display the attributes of the files in the current directory","rawContent":"attrib"},{"id":4111,"programId":939,"title":"Display the attributes of the files in the current directory and sub-directories","rawContent":"attrib /S"},{"id":4112,"programId":939,"title":"Display the attributes of the files and folders in the current directory and sub-directories","rawContent":"attrib /S /D"},{"id":4113,"programId":939,"title":"Add the read-only attribute to a file","rawContent":"attrib +R {{document.txt}}"},{"id":4114,"programId":939,"title":"Remove the system and hidden attributes of a file","rawContent":"attrib -S -H {{document.txt}}"},{"id":4115,"programId":939,"title":"Add the hidden attribute to a folder","rawContent":"attrib +H {{path\\to\\folder}}"},{"id":4116,"programId":940,"title":"Display a list of available features","rawContent":"choco feature list"},{"id":4117,"programId":940,"title":"Enable a feature","rawContent":"choco feature enable --name {{name}}"},{"id":4118,"programId":940,"title":"Disable a feature","rawContent":"choco feature disable --name {{name}}"},{"id":4119,"programId":941,"title":"Display information on a specific package","rawContent":"choco info {{package}}"},{"id":4120,"programId":941,"title":"Display information for a local package only","rawContent":"choco info {{package}} --local-only"},{"id":4121,"programId":941,"title":"Specify a custom source to receive packages information from","rawContent":"choco info {{package}} --source {{source_url|alias}}"},{"id":4122,"programId":941,"title":"Provide a username and password for authentication","rawContent":"choco info {{package}} --user {{username}} --password {{password}}"},{"id":4123,"programId":942,"title":"Install one or more space-separated packages","rawContent":"choco install {{package(s)}}"},{"id":4124,"programId":942,"title":"Install packages from a custom configuration file","rawContent":"choco install {{path/to/packages.config}}"},{"id":4125,"programId":942,"title":"Install a specific \"nuspec\" or \"nupkg\" file","rawContent":"choco install {{path/to/file}}"},{"id":4126,"programId":942,"title":"Install a specific version of a package","rawContent":"choco install {{package}} --version {{version}}"},{"id":4127,"programId":942,"title":"Allow installing multiple versions of a package","rawContent":"choco install {{package}} --allow-multiple"},{"id":4128,"programId":942,"title":"Confirm all prompts automatically","rawContent":"choco install {{package}} --yes"},{"id":4129,"programId":942,"title":"Specify a custom source to receive packages from","rawContent":"choco install {{package}} --source {{source_url|alias}}"},{"id":4130,"programId":942,"title":"Provide a username and password for authentication","rawContent":"choco install {{package}} --user {{username}} --password {{password}}"},{"id":4131,"programId":943,"title":"Display all available packages","rawContent":"choco list"},{"id":4132,"programId":943,"title":"Display all locally installed packages","rawContent":"choco list --local-only"},{"id":4133,"programId":943,"title":"Display a list including local programs","rawContent":"choco list --include-programs"},{"id":4134,"programId":943,"title":"Display only approved packages","rawContent":"choco list --approved-only"},{"id":4135,"programId":943,"title":"Specify a custom source to display packages from","rawContent":"choco list --source {{source_url|alias}}"},{"id":4136,"programId":943,"title":"Provide a username and password for authentication","rawContent":"choco list --user {{username}} --password {{password}}"},{"id":4137,"programId":944,"title":"Create a new package skeleton","rawContent":"choco new {{package_name}}"},{"id":4138,"programId":944,"title":"Create a new package with a specific version","rawContent":"choco new {{package_name}} --version {{version}}"},{"id":4139,"programId":944,"title":"Create a new package with a specific maintainer name","rawContent":"choco new {{package_name}} --maintainer {{maintainer_name}}"},{"id":4140,"programId":944,"title":"Create a new package in a custom output directory","rawContent":"choco new {{package_name}} --output-directory {{path/to/directory}}"},{"id":4141,"programId":944,"title":"Create a new package with specific 32-bit and 64-bit installer urls","rawContent":"choco new {{package_name}} url=\"{{url}}\" url64=\"{{url}}\""},{"id":4142,"programId":945,"title":"Display a list of outdated packages in table format","rawContent":"choco outdated"},{"id":4143,"programId":945,"title":"Ignore pinned packages in the output","rawContent":"choco outdated --ignore-pinned"},{"id":4144,"programId":945,"title":"Specify a custom source to check packages from","rawContent":"choco outdated --source {{source_url|alias}}"},{"id":4145,"programId":945,"title":"Provide a username and password for authentication","rawContent":"choco outdated --user {{username}} --password {{password}}"},{"id":4146,"programId":946,"title":"Package a NuGet specification to a nupkg file","rawContent":"choco pack {{path/to/specification}}"},{"id":4147,"programId":946,"title":"Package a NuGet specification specifying the version of the resulting file","rawContent":"choco pack {{path/to/specification}} --version {{version}}"},{"id":4148,"programId":946,"title":"Package a NuGet specification to a specific directory","rawContent":"choco pack {{path/to/specification}} --output-directory {{path/to/output_directory}}"},{"id":4149,"programId":947,"title":"Display a list of pinned packages and their versions","rawContent":"choco pin list"},{"id":4150,"programId":947,"title":"Pin a package at its current version","rawContent":"choco pin add --name {{package}}"},{"id":4151,"programId":947,"title":"Pin a package at a specific version","rawContent":"choco pin add --name {{package}} --version {{version}}"},{"id":4152,"programId":947,"title":"Remove a pin for a specific package","rawContent":"choco pin remove --name {{package}}"},{"id":4153,"programId":948,"title":"Search for a package","rawContent":"choco search {{query}}"},{"id":4154,"programId":948,"title":"Search for a package locally","rawContent":"choco search {{query}} --local-only"},{"id":4155,"programId":948,"title":"Only include exact matches in the results","rawContent":"choco search {{query}} --exact"},{"id":4156,"programId":948,"title":"Confirm all prompts automatically","rawContent":"choco search {{query}} --yes"},{"id":4157,"programId":948,"title":"Specify a custom source to search for packages in","rawContent":"choco search {{query}} --source {{source_url|alias}}"},{"id":4158,"programId":948,"title":"Provide a username and password for authentication","rawContent":"choco search {{query}} --user {{username}} --password {{password}}"},{"id":4159,"programId":949,"title":"List currently available sources","rawContent":"choco source list"},{"id":4160,"programId":949,"title":"Add a new package source","rawContent":"choco source add --name {{name}} --source {{url}}"},{"id":4161,"programId":949,"title":"Add a new package source with credentials","rawContent":"choco source add --name {{name}} --source {{url}} --user {{username}} --password {{password}}"},{"id":4162,"programId":949,"title":"Add a new package source with a client certificate","rawContent":"choco source add --name {{name}} --source {{url}} --cert {{path/to/certificate}}"},{"id":4163,"programId":949,"title":"Enable a package source","rawContent":"choco source enable --name {{name}}"},{"id":4164,"programId":949,"title":"Disable a package source","rawContent":"choco source disable --name {{name}}"},{"id":4165,"programId":949,"title":"Remove a package source","rawContent":"choco source remove --name {{name}}"},{"id":4166,"programId":950,"title":"Uninstall one or more space-separated packages","rawContent":"choco uninstall {{package(s)}}"},{"id":4167,"programId":950,"title":"Uninstall a specific version of a package","rawContent":"choco uninstall {{package}} --version {{version}}"},{"id":4168,"programId":950,"title":"Confirm all prompts automatically","rawContent":"choco uninstall {{package}} --yes"},{"id":4169,"programId":950,"title":"Remove all dependencies when uninstalling","rawContent":"choco uninstall {{package}} --remove-dependencies"},{"id":4170,"programId":950,"title":"Uninstall all packages","rawContent":"choco uninstall all"},{"id":4171,"programId":951,"title":"Upgrade one or more space-separated packages","rawContent":"choco upgrade {{package(s)}}"},{"id":4172,"programId":951,"title":"Upgrade to a specific version of a package","rawContent":"choco upgrade {{package}} --version {{version}}"},{"id":4173,"programId":951,"title":"Upgrade all packages","rawContent":"choco upgrade all"},{"id":4174,"programId":951,"title":"Upgrade all except specified comma-separated packages","rawContent":"choco upgrade all --except \"{{package(s)}}\""},{"id":4175,"programId":951,"title":"Confirm all prompts automatically","rawContent":"choco upgrade {{package}} --yes"},{"id":4176,"programId":951,"title":"Specify a custom source to receive packages from","rawContent":"choco upgrade {{package}} --source {{source_url|alias}}"},{"id":4177,"programId":951,"title":"Provide a username and password for authentication","rawContent":"choco upgrade {{package}} --user {{username}} --password {{password}}"},{"id":4178,"programId":952,"title":"Execute Chocolatey command","rawContent":"choco {{command}}"},{"id":4179,"programId":952,"title":"Call general help","rawContent":"choco -?"},{"id":4180,"programId":952,"title":"Call help on a specific command","rawContent":"choco {{command}} -?"},{"id":4181,"programId":952,"title":"Check the Chocolatey version","rawContent":"choco --version"},{"id":4182,"programId":953,"title":"Clear the screen","rawContent":"cls"},{"id":4183,"programId":954,"title":"Set the console colors to the default values","rawContent":"color"},{"id":4184,"programId":954,"title":"List available color values and detailed information","rawContent":"color /?"},{"id":4185,"programId":954,"title":"Set the console foreground and background to a specific color","rawContent":"color {{foreground_code}}{{background_code}}"},{"id":4186,"programId":955,"title":"Delete one or more space-separated files or patterns","rawContent":"del {{file_pattern}}"},{"id":4187,"programId":955,"title":"Prompt for confirmation before deleting each file","rawContent":"del {{file_pattern}} /p"},{"id":4188,"programId":955,"title":"Force the deletion of read-only files","rawContent":"del {{file_pattern}} /f"},{"id":4189,"programId":955,"title":"Recursively delete file(s) from all subdirectories","rawContent":"del {{file_pattern}} /s"},{"id":4190,"programId":955,"title":"Do not prompt when deleting files based on a global wildcard","rawContent":"del {{file_pattern}} /q"},{"id":4191,"programId":955,"title":"Display the help and list available attributes","rawContent":"del /?"},{"id":4192,"programId":955,"title":"Delete files based on specified attributes","rawContent":"del {{file_pattern}} /a {{attribute}}"},{"id":4193,"programId":956,"title":"Show the contents of the current directory","rawContent":"dir"},{"id":4194,"programId":956,"title":"Show the contents of a given directory","rawContent":"dir {{path/to/directory}}"},{"id":4195,"programId":956,"title":"Show the contents of the current directory, including hidden ones","rawContent":"dir /A"},{"id":4196,"programId":956,"title":"Show the contents of a given directory, including hidden ones","rawContent":"dir {{path/to/directory}} /A"},{"id":4197,"programId":957,"title":"Display a list of all installed device drivers","rawContent":"driverquery"},{"id":4198,"programId":957,"title":"Display a list of drivers in the specified format","rawContent":"driverquery /fo {{table|list|csv}}"},{"id":4199,"programId":957,"title":"Display a list of drivers with a column to indicate if they are signed","rawContent":"driverquery /si"},{"id":4200,"programId":957,"title":"Exclude the header in the output list","rawContent":"driverquery /nh"},{"id":4201,"programId":957,"title":"Display a list of drivers for a remote machine","rawContent":"driverquery /s {{hostname}} /u {{username}} /p {{password}}"},{"id":4202,"programId":957,"title":"Display a list of drivers with verbose information","rawContent":"driverquery /v"},{"id":4203,"programId":957,"title":"Display detailed usage information","rawContent":"driverquery /?"},{"id":4204,"programId":958,"title":"Quit the current CMD instance","rawContent":"exit"},{"id":4205,"programId":958,"title":"Quit the current batch script","rawContent":"exit /b"},{"id":4206,"programId":958,"title":"Quit using a specific exit code","rawContent":"exit {{exit_code}}"},{"id":4207,"programId":959,"title":"Uncompress a single-file Cabinet file to the specified directory","rawContent":"expand {{path/to/file.cab}} {{path/to/directory}}"},{"id":4208,"programId":959,"title":"Display the list of files in a source Cabinet file","rawContent":"expand {{path/to/file.cab}} {{path/to/directory}} -d"},{"id":4209,"programId":959,"title":"Uncompress all files from the Cabinet file","rawContent":"expand {{path/to/file.cab}} {{path/to/directory}} -f:*"},{"id":4210,"programId":959,"title":"Uncompress a specific file from a Cabinet file","rawContent":"expand {{path/to/file.cab}} {{path/to/directory}} -f:{{file}}"},{"id":4211,"programId":959,"title":"Ignore the directory structure when uncompressing, and add them to a single directory","rawContent":"expand {{path/to/file.cab}} {{path/to/directory}} -i"},{"id":4212,"programId":960,"title":"Find lines that contain a specified string","rawContent":"find {{string}} {{path/to/file_or_directory}}"},{"id":4213,"programId":960,"title":"Display lines that do not contain the specified string","rawContent":"find {{string}} {{path/to/file_or_directory}} /v"},{"id":4214,"programId":960,"title":"Display the count of lines that contain the specified string","rawContent":"find {{string}} {{path/to/file_or_directory}} /c"},{"id":4215,"programId":960,"title":"Display line numbers with the list of lines","rawContent":"find {{string}} {{path/to/file_or_directory}} /n"},{"id":4216,"programId":961,"title":"Display information about a specific user","rawContent":"finger {{user}}@{{host}}"},{"id":4217,"programId":961,"title":"Display information about all users on the specified host","rawContent":"finger @{{host}}"},{"id":4218,"programId":961,"title":"Display information in a longer format","rawContent":"finger {{user}}@{{host}} -l"},{"id":4219,"programId":961,"title":"Display help information","rawContent":"finger /?"},{"id":4220,"programId":962,"title":"Connect to a remote FTP server interactively","rawContent":"ftp {{host}}"},{"id":4221,"programId":962,"title":"Log in as an anonymous user","rawContent":"ftp -A {{host}}"},{"id":4222,"programId":962,"title":"Disable automatic login upon initial connection","rawContent":"ftp -n {{host}}"},{"id":4223,"programId":962,"title":"Run a file containing a list of FTP commands","rawContent":"ftp -s:{{path/to/file}} {{host}}"},{"id":4224,"programId":962,"title":"Download multiple files (glob expression)","rawContent":"mget {{*.png}}"},{"id":4225,"programId":962,"title":"Upload multiple files (glob expression)","rawContent":"mput {{*.zip}}"},{"id":4226,"programId":962,"title":"Delete multiple files on the remote server","rawContent":"mdelete {{*.txt}}"},{"id":4227,"programId":962,"title":"Display detailed help","rawContent":"ftp --help"},{"id":4228,"programId":963,"title":"Show a list of network adapters","rawContent":"ipconfig"},{"id":4229,"programId":963,"title":"Show a detailed list of network adapters","rawContent":"ipconfig /all"},{"id":4230,"programId":963,"title":"Renew the IP addresses for a network adapter","rawContent":"ipconfig /renew {{adapter}}"},{"id":4231,"programId":963,"title":"Free up the IP addresses for a network adapter","rawContent":"ipconfig /release {{adapter}}"},{"id":4232,"programId":963,"title":"Remove all data from the DNS cache","rawContent":"ipconfig /flushdns"},{"id":4233,"programId":964,"title":"Create a directory","rawContent":"mkdir {{directory_name}}"},{"id":4234,"programId":964,"title":"Recursively create a nested directory tree","rawContent":"mkdir {{path/to/sub_directory_name}}"},{"id":4235,"programId":965,"title":"Ping and trace the route to a host","rawContent":"pathping {{hostname}}"},{"id":4236,"programId":965,"title":"Do not perform reverse lookup of ip-address to hostname","rawContent":"pathping {{hostname}} -n"},{"id":4237,"programId":965,"title":"Specify the maximum number of hops to search for the target (the default is 30)","rawContent":"pathping {{hostname}} -h {{max_hops}}"},{"id":4238,"programId":965,"title":"Specify the milliseconds to wait between pings (the default is 240)","rawContent":"pathping {{hostname}} -p {{time}}"},{"id":4239,"programId":965,"title":"Specify the number of queries per hop (the default is 100)","rawContent":"pathping {{hostname}} -q {{queries}}"},{"id":4240,"programId":965,"title":"Force IPV4 usage","rawContent":"pathping {{hostname}} -4"},{"id":4241,"programId":965,"title":"Force IPV6 usage","rawContent":"pathping {{hostname}} -6"},{"id":4242,"programId":965,"title":"Display detailed usage information","rawContent":"pathping /?"},{"id":4243,"programId":966,"title":"Switch to directory at the top of the stack","rawContent":"popd"},{"id":4244,"programId":967,"title":"Switch to directory and push it on the stack","rawContent":"pushd {{directory}}"},{"id":4245,"programId":968,"title":"Add a new registry key","rawContent":"reg add {{key_name}}"},{"id":4246,"programId":968,"title":"Add a new value under a specific key","rawContent":"reg add {{key_name}} /v {{value}}"},{"id":4247,"programId":968,"title":"Add a new value with specific data","rawContent":"reg add {{key_name}} /d {{data}}"},{"id":4248,"programId":968,"title":"Add a new value to a key with a specific data type","rawContent":"reg add {{key_name}} /t {{type}}"},{"id":4249,"programId":968,"title":"Forcefully overwrite the existing registry value without a prompt","rawContent":"reg add {{key_name}} /f"},{"id":4250,"programId":969,"title":"Compare all values under a specific key with a second key","rawContent":"reg compare {{first_key_name}} {{second_key_name}}"},{"id":4251,"programId":969,"title":"Compare a specific value under two keys","rawContent":"reg compare {{first_key_name}} {{second_key_name}} /v {{value}}"},{"id":4252,"programId":969,"title":"Compare all sub keys and values for two keys","rawContent":"reg compare {{first_key_name}} {{second_key_name}} /s"},{"id":4253,"programId":969,"title":"Only output the matches between the specified keys","rawContent":"reg compare {{first_key_name}} {{second_key_name}} /os"},{"id":4254,"programId":969,"title":"Output the differences and matches between the specified keys","rawContent":"reg compare {{first_key_name}} {{second_key_name}} /oa"},{"id":4255,"programId":970,"title":"Copy a registry key to a new registry location","rawContent":"reg copy {{old_key_name}} {{new_key_name}}"},{"id":4256,"programId":970,"title":"Copy a registry key recursively to a new registry location","rawContent":"reg copy {{old_key_name}} {{new_key_name}} /s"},{"id":4257,"programId":970,"title":"Forcefully copy a registry key without a prompt","rawContent":"reg copy {{old_key_name}} {{new_key_name}} /f"},{"id":4258,"programId":971,"title":"Delete a specific registry key","rawContent":"reg delete {{key_name}}"},{"id":4259,"programId":971,"title":"Delete a value under a specific key","rawContent":"reg delete {{key_name}} /v {{value}}"},{"id":4260,"programId":971,"title":"Delete all values recursively under the specified key","rawContent":"reg delete {{key_name}} /va"},{"id":4261,"programId":971,"title":"Forcefully delete all values recursively under a key without a prompt","rawContent":"reg delete {{key_name}} /f /va"},{"id":4262,"programId":972,"title":"Export all sub keys and values of a specific key","rawContent":"reg export {{key_name}} {{path/to/file.reg}}"},{"id":4263,"programId":972,"title":"Force overwriting of an existing file without prompt","rawContent":"reg export {{key_name}} {{path/to/file.reg}} /y"},{"id":4264,"programId":973,"title":"Display current flags for a specific key","rawContent":"reg flags {{key_name}} query"},{"id":4265,"programId":973,"title":"Display help and available flag types","rawContent":"reg flags /?"},{"id":4266,"programId":973,"title":"Set specified space-separated flags, and unset unmentioned flags, for a specific key","rawContent":"reg flags {{key_name}} set {{flag_names}}"},{"id":4267,"programId":973,"title":"Set specified flags for a specific key and its sub keys","rawContent":"reg flags {{key_name}} set {{flag_names}} /s"},{"id":4268,"programId":974,"title":"Import all keys, subkeys and values from a file","rawContent":"reg import {{path/to/file.reg}}"},{"id":4269,"programId":975,"title":"Load a backup file into the specified key","rawContent":"reg load {{key_name}} {{path/to/file}}"},{"id":4270,"programId":976,"title":"Display all values of a key","rawContent":"reg query {{key_name}}"},{"id":4271,"programId":976,"title":"Display a specific value of a key","rawContent":"reg query {{key_name}} /v {{value}}"},{"id":4272,"programId":976,"title":"Display all values of a key and its sub keys","rawContent":"reg query {{key_name}} /s"},{"id":4273,"programId":976,"title":"Search for keys and values matching a specific pattern","rawContent":"reg query {{key_name}} /f \"{{query_pattern}}\""},{"id":4274,"programId":976,"title":"Display a value of a key matching a specified data type","rawContent":"reg query {{key_name}} /t {{type}}"},{"id":4275,"programId":977,"title":"Overwrite a specified key with data from a backup file","rawContent":"reg restore {{key_name}} {{path/to/file}}"},{"id":4276,"programId":978,"title":"Save a registry key, its sub keys and values to a specific file","rawContent":"reg save {{key_name}} {{path/to/file}}"},{"id":4277,"programId":978,"title":"Forcefully overwrite an existing file without a prompt","rawContent":"reg save {{key_name}} {{path/to/file}} /y"},{"id":4278,"programId":979,"title":"Remove data from the registry for a specified key","rawContent":"reg unload {{key_name}}"},{"id":4279,"programId":980,"title":"Execute registry commands","rawContent":"reg {{command}}"},{"id":4280,"programId":980,"title":"Display general information and list all available commands","rawContent":"reg /?"},{"id":4281,"programId":980,"title":"Call help on a specific command","rawContent":"reg {{command}} /?"},{"id":4282,"programId":981,"title":"Attempt to repair a specified volume","rawContent":"repair-bde {{C:}}"},{"id":4283,"programId":981,"title":"Attempt to repair a specified volume and output to another volume","rawContent":"repair-bde {{C:}} {{D:}}"},{"id":4284,"programId":981,"title":"Attempt to repair a specified volume using the provided recovery key file","rawContent":"repair-bde {{C:}} -RecoveryKey {{path/to/file.bek}}"},{"id":4285,"programId":981,"title":"Attempt to repair a specified volume using the provided numerical recovery password","rawContent":"repair-bde {{C:}} -RecoveryPassword {{password}}"},{"id":4286,"programId":981,"title":"Attempt to repair a specified volume using the provided password","rawContent":"repair-bde {{C:}} -Password {{password}}"},{"id":4287,"programId":981,"title":"Attempt to repair a specified volume using the provided key package","rawContent":"repair-bde {{C:}} -KeyPackage {{path/to/directory}}"},{"id":4288,"programId":981,"title":"Log all output to a specific file","rawContent":"repair-bde {{C:}} -LogFile {{path/to/file}}"},{"id":4289,"programId":981,"title":"Display all available options","rawContent":"repair-bde /?"},{"id":4290,"programId":982,"title":"Remove an empty directory","rawContent":"rmdir {{path/to/directory}}"},{"id":4291,"programId":982,"title":"Remove a directory and its contents recursively","rawContent":"rmdir {{path/to/directory}} /s"},{"id":4292,"programId":982,"title":"Remove a directory and its contents recursively without prompting","rawContent":"rmdir {{path/to/directory}} /s /q"},{"id":4293,"programId":983,"title":"List all current environment variables","rawContent":"set"},{"id":4294,"programId":983,"title":"Set an environment variable to a specific value","rawContent":"set {{name}}={{value}}"},{"id":4295,"programId":983,"title":"List environment variables starting with the specified string","rawContent":"set {{name}}"},{"id":4296,"programId":983,"title":"Prompt the user for a value for the specified variable","rawContent":"set /p {{name}}={{prompt_string}}"},{"id":4297,"programId":984,"title":"Display information about the usage of the command","rawContent":"sfc"},{"id":4298,"programId":984,"title":"Scan all system files and, if possible, repair any problems","rawContent":"sfc /scannow"},{"id":4299,"programId":984,"title":"Scan all system files without attempting to repair any","rawContent":"sfc /verifyonly"},{"id":4300,"programId":984,"title":"Scan a specific file and, if possible, repair any problems","rawContent":"sfc /scanfile={{path/to/file}}"},{"id":4301,"programId":984,"title":"Scan a specific file without attempting to repair it","rawContent":"sfc /verifyfile={{path/to/file}}"},{"id":4302,"programId":984,"title":"When repairing offline, specify the boot directory","rawContent":"sfc /offbootdir={{path/to/dir}}"},{"id":4303,"programId":984,"title":"When repairing offline, specify the Windows directory","rawContent":"sfc /offwindir={{path/to/dir}}"},{"id":4304,"programId":985,"title":"Open the File Signature Verification interface","rawContent":"sigverif"},{"id":4305,"programId":986,"title":"List active associations","rawContent":"subst"},{"id":4306,"programId":986,"title":"Add an association","rawContent":"subst {{Z:}} {{C:\\Python2.7}}"},{"id":4307,"programId":986,"title":"Remove an association","rawContent":"subst {{Z:}} /d"},{"id":4308,"programId":987,"title":"Display system configuration for the local machine","rawContent":"systeminfo"},{"id":4309,"programId":987,"title":"Display system configuration in a specified output format","rawContent":"systeminfo /fo {{table|list|csv}}"},{"id":4310,"programId":987,"title":"Display system configuration for a remote machine","rawContent":"systeminfo /s {{remote_name}} /u {{username}} /p {{password}}"},{"id":4311,"programId":987,"title":"Display detailed usage information","rawContent":"systeminfo /?"},{"id":4312,"programId":988,"title":"Terminate a process by its id","rawContent":"taskkill /pid {{process_id}}"},{"id":4313,"programId":988,"title":"Terminate a process by its name","rawContent":"taskkill /im {{process_name}}"},{"id":4314,"programId":988,"title":"Forcefully terminate a specified process","rawContent":"taskkill /pid {{process_id}} /f"},{"id":4315,"programId":988,"title":"Terminate a process and its child processes","rawContent":"taskkill /im {{process_name}} /t"},{"id":4316,"programId":988,"title":"Terminate a process on a remote machine","rawContent":"taskkill /pid {{process_id}} /s {{remote_name}}"},{"id":4317,"programId":988,"title":"Display information about the usage of the command","rawContent":"taskkill /?"},{"id":4318,"programId":989,"title":"Display currently running processes","rawContent":"tasklist"},{"id":4319,"programId":989,"title":"Display running processes in a specified output format","rawContent":"tasklist /fo {{table|list|csv}}"},{"id":4320,"programId":989,"title":"Display running processes using the specified `.exe` or `.dll` file name","rawContent":"tasklist /m {{module_pattern}}"},{"id":4321,"programId":989,"title":"Display processes running on a remote machine","rawContent":"tasklist /s {{remote_name}} /u {{username}} /p {{password}}"},{"id":4322,"programId":989,"title":"Display services using each process","rawContent":"tasklist /svc"},{"id":4323,"programId":990,"title":"Display the tree for the current directory","rawContent":"tree"},{"id":4324,"programId":990,"title":"Display the tree for a specific directory","rawContent":"tree {{path/to/directory}}"},{"id":4325,"programId":990,"title":"Display the tree for a directory including files","rawContent":"tree {{path/to/directory}} /f"},{"id":4326,"programId":990,"title":"Display the tree using ASCII characters instead of extended characters","rawContent":"tree {{path/to/directory}} /a"},{"id":4327,"programId":991,"title":"Run in interactive mode","rawContent":"units"},{"id":4328,"programId":991,"title":"Show the conversion between two simple units","rawContent":"units {{quarts}} {{tablespoons}}"},{"id":4329,"programId":991,"title":"Convert between units with quantities","rawContent":"units {{15 pounds}} {{kilograms}}"},{"id":4330,"programId":991,"title":"Show the conversion between two compound units","rawContent":"units {{\"meters / second\"}} {{\"inches / hour\"}}"},{"id":4331,"programId":991,"title":"Show the conversion between units with different dimensions","rawContent":"units {{\"acres\"}} {{\"ft^2\"}}"},{"id":4332,"programId":992,"title":"Copy the file(s) to the specified destination","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}}"},{"id":4333,"programId":992,"title":"List files that will be copied before copying","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /p"},{"id":4334,"programId":992,"title":"Copy the directory structure only, excluding files","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /t"},{"id":4335,"programId":992,"title":"Include empty directories when copying","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /e"},{"id":4336,"programId":992,"title":"Keep the source ACL in the destination","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /o"},{"id":4337,"programId":992,"title":"Allow resuming when network connection is lost","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /z"},{"id":4338,"programId":992,"title":"Disable the prompt when the file exists in the destination","rawContent":"xcopy {{path/to/file_or_folder}} {{path/to/destination}} /y"},{"id":4339,"programId":992,"title":"Display detailed usage information","rawContent":"xcopy /?"}]}