prompt
stringlengths
4
230
command
stringlengths
1
231
Reset the failure records of the specified user
sudo faillock --user {{user}} --reset
Search pubmed then find related sequences
esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}" | elink -target nuccore
Search nucleotide then find related biosamples
esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}" | elink -target biosample
Extract [m]essage from file
stegsnow {{path/to/file.txt}}
Extract [C]ompressed and [p]assword protected [m]essage from file
stegsnow -C -p {{password}} {{path/to/file.txt}}
Determine approximate [S]torage capacity with line [l]ength less than 72 for file
stegsnow -S -l 72 {{path/to/file.txt}}
Conceal [m]essage in text from file and save to result
stegsnow -m '{{message}}' {{path/to/file.txt}} {{path/to/result.txt}}
Conceal message [f]ile content [C]ompressed in text from file and save to result
stegsnow -C -f '{{path/to/message.txt}}' {{path/to/file.txt}} {{path/to/result.txt}}
Conceal [m]essage [C]ompressed and [p]assword protected in text from file and save to result
stegsnow -C -p {{password}} -m '{{message}}' {{path/to/file.txt}} {{path/to/result.txt}}
Display suggestions for a given file
hlint {{path/to/file}} options
Check all Haskell files and generate a report
hlint {{path/to/directory}} --report
Automatically apply most suggestions
hlint {{path/to/file}} --refactor
Display additional options
hlint {{path/to/file}} --refactor-options
Generate a settings file ignoring all outstanding hints
hlint {{path/to/file}} --default > {{.hlint.yaml}}
Generate a cloudinit file for a specific configuration type
qm cloudinit dump {{virtual_machine_id}} {{meta|network|user}}
Create a vfat filesystem inside partition 1 on device b (`sdb1`)
sdb1
Create filesystem with a volume-name
mkfs.vfat -n {{volume_name}} {{/dev/sdb1}}
Create filesystem with a volume-id
mkfs.vfat -i {{volume_id}} {{/dev/sdb1}}
Use 5 instead of 2 file allocation tables
mkfs.vfat -f 5 {{/dev/sdb1}}
Disable interface eth0
ifdown {{eth0}}
Disable all interfaces which are enabled
ifdown -a
Trim unused blocks on all mounted partitions that support it
sudo fstrim --all
Trim unused blocks on a specified partition
sudo fstrim {{/}}
Display statistics after trimming
sudo fstrim --verbose {{/}}
Switch between different GPU modes
optimus-manager --switch {{nvidia|integrated|hybrid}}
Clean up
optimus-manager --cleanup
Display information about all logical volumes
sudo lvdisplay
Display information about all logical volumes in volume group vg1
sudo lvdisplay {{vg1}}
Display information about logical volume lv1 in volume group vg1
sudo lvdisplay {{vg1/lv1}}
Check status
sudo aa-status
Display the number of loaded policies
sudo aa-status --profiled
Display the number of loaded enforicing policies
sudo aa-status --enforced
Display the number of loaded non-enforcing policies
sudo aa-status --complaining
Display the number of loaded enforcing policies that kill tasks
sudo aa-status --kill
Validate an XML file against a specific schema
virt-xml-validate {{path/to/file.xml}} {{schema}}
Validate the domain XML against the domain schema
virt-xml-validate {{path/to/domain.xml}} domain
Edit the group file
vigr
Display version
vigr --version
List all the available Wacom devices. The device name is in the first column
xsetwacom list
Set Wacom area to specific screen. Get name of the screen with `xrandr`
xrandr
Set mode to relative (like a mouse) or absolute (like a pen) mode
xsetwacom set "{{device_name}}" Mode "{{Relative|Absolute}}"
Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from "natural" rotation
xsetwacom set "{{device_name}}" Rotate {{none|half|cw|ccw}}
Set button to only work when the tip of the pen is touching the tablet
xsetwacom set "{{device_name}}" TabletPCButton "on"
Send a file or directories
qrcp send {{path/to/file_or_directory path/to/file_directory ...}}
Receive files
qrcp receive
Compress content before transferring
qrcp send --zip {{path/to/file_or_directory}}
Use a specific [p]ort
qrcp {{send|receive}} --port {{port_number}}
Use a specific network [i]nterface
qrcp {{send|receive}} --interface interface
Keep the server alive
qrcp {{send|receive}} --keep-alive
Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found)
rename {{'s/foo/bar/'}} {{*}}
Dry-run - display which renames would occur without performing them
rename -n {{'s/foo/bar/'}} {{*}}
Force renaming even if the operation would remove existing destination files
rename -f {{'s/foo/bar/'}} {{*}}
Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors)
-f
Replace whitespace with underscores
rename 's/\s+/_/g' {{*}}
View documentation for `libuser-lid`
libuser-lid
Display the OOM-killer score of the process with a specific ID
choom -p {{pid}}
Change the adjust OOM-killer score of a specific process
choom -p {{pid}} -n {{-1000..+1000}}
Run a command with a specific adjust OOM-killer score
choom -n {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}
Create a fat filesystem inside partition 1 on device b (`sdb1`)
sdb1
Create filesystem with a volume-name
mkfs.fat -n {{volume_name}} {{/dev/sdb1}}
Create filesystem with a volume-id
mkfs.fat -i {{volume_id}} {{/dev/sdb1}}
Use 5 instead of 2 file allocation tables
mkfs.fat -f 5 {{/dev/sdb1}}
Set display brightness to 50%
blight set {{50}} -r
Show current display brightness
blight show
Print maximum display brightness
blight max
Increase display brightness in %
blight inc {{number}} -r
Decrease display brightness with internal units
blight dec {{number}}
Copy the text to the clipboard
wl-copy "{{text}}"
Pipe the command (`ls`) output to the clipboard
ls
Copy for only one paste and then clear it
wl-copy --paste-once "{{text}}"
Copy an image
wl-copy < {{path/to/image}}
Clear the clipboard
wl-copy --clear
Show battery information
acpi
Show thermal information
acpi -t
Show cooling device information
acpi -c
Show thermal information in Fahrenheit
acpi -tf
Show all information
acpi -V
Extract information from `/proc` instead of `/sys`
/proc` instead of `/sys
Display the status of a specific virtual machine
qm status {{vm_id}}
Display detailed status of a specific virtual machine
qm status --verbose {{true}} {{vm_id}}
Download files from a `mega.nz` link into the current directory
mega.nz
Download files from a `mega.nz` link into a specific directory
mega.nz
Interactively choose which files to download
megatools-dl --choose-files {{https://mega.nz/...}}
Limit the download speed in KiB/s
megatools-dl --limit-speed {{speed}} {{https://mega.nz/...}}
Make a package
makepkg
Make a package and install its dependencies
makepkg --syncdeps
Make a package, install its dependencies then install it to the system
makepkg --syncdeps --install
Make a package, but skip checking the source's hashes
makepkg --skipchecksums
Clean up work directories after a successful build
makepkg --clean
Verify the hashes of the sources
makepkg --verifysource
Generate and save the source information into `.SRCINFO`
.SRCINFO
Download a profile
instaloader {{profile_name}}
Download highlights
instaloader --highlights {{profile_name}}
Download posts with geotags (if available), suppressing any user interaction
instaloader --quiet --geotags {{profile_name}}
Specify a user agent for HTTP requests
instaloader --user-agent {{user_agent}} {{profile_name}}
Specify login info and download posts (useful for private profiles)
instaloader --login {{username}} --password {{password}} {{profile_name}}
Skip a target if the first downloaded file has been found (useful for updating Instagram archives)
instaloader --fast-update {{profile_name}}
Download stories and IGTV videos (login required)
instaloader --login {{username}} --password {{password}} --stories --igtv {{profile_name}}
Download all types of posts (login required)
instaloader --login {{username}} --password {{password}} --stories --igtv --highlights {{profile_name}}
Show all available variables and their values
sysctl -a