prompt stringlengths 5 231 | response stringlengths 1 231 |
|---|---|
Show the contents of the initramfs image for the specified kernel: | lsinitrd --kver {{kernel_version}} |
Show the contents of the specified initramfs image: | lsinitrd {{path/to/initramfs.img}} |
List modules included in the initramfs image: | lsinitrd --mod |
Unpack the initramfs to the current directory: | lsinitrd --unpack |
Define group administrators: | sudo gpasswd {{[-A|--administrators]}} {{user1,user2}} {{group}} |
Set the list of group members: | sudo gpasswd {{[-M|--members]}} {{user1,user2}} {{group}} |
Create a password for the named group: | gpasswd {{group}} |
Add a user to the named group: | gpasswd {{[-a|--add]}} {{user}} {{group}} |
Remove a user from the named group: | gpasswd {{[-d|--delete]}} {{user}} {{group}} |
Install a package: | pkcon install {{package}} |
Remove a package: | pkcon remove {{package}} |
Refresh the package cache: | pkcon refresh |
Update packages: | pkcon update |
Search for a specific package: | pkcon search {{package}} |
List all available packages: | pkcon get-packages |
Log in as a user: | login {{user}} |
Log in as user without authentication if user is preauthenticated: | login -f {{user}} |
Log in as user and preserve environment: | login -p {{user}} |
Log in as a user on a remote host: | login -h {{host}} {{user}} |
Display information about all CPUs: | lscpu |
Display information in a table: | lscpu {{[-e|--extended]}} |
Display only information about online CPUs in a table: | lscpu {{[-e|--extended]}} {{[-b|--online]}} |
Display only information about offline CPUs in a table: | lscpu {{[-e|--extended]}} {{[-c|--offline]}} |
Display details about CPU caches: | lscpu {{[-C|--caches]}} |
Display information in JSON format: | lscpu {{[-J|--json]}} |
Remove a volume group with confirmation: | vgremove {{volume_group}} |
Forcefully remove a volume group without confirmation: | vgremove --force {{volume_group}} |
Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level): | vgremove --debug --debug {{volume_group}} |
Use a specific config setting to override defaults: | vgremove --config '{{global/locking_type=1}}' {{volume_group}} |
Display help text for usage information: | vgremove --help |
Increase/decrease the backlight by a specific percent count: | backlight_control {{+|-}}{{5}} |
Set the backlight strength to a specific percent count: | backlight_control {{90}} |
Display help: | backlight_control |
Count observed frequencies of words in a FASTA file, providing parameter values with interactive prompt: | compseq {{path/to/file.fasta}} |
Count observed frequencies of amino acid pairs from a FASTA file, save output to a text file: | compseq {{path/to/input_protein.fasta}} -word 2 {{path/to/output_file.comp}} |
Count observed frequencies of hexanucleotides from a FASTA file, save output to a text file and ignore zero counts: | compseq {{path/to/input_dna.fasta}} -word 6 {{path/to/output_file.comp}} -nozero |
Count observed frequencies of codons in a particular reading frame; ignoring any overlapping counts (i.e. move window across by word-length 3): | compseq -sequence {{path/to/input_rna.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -frame {{1}} |
Count observed frequencies of codons frame-shifted by 3 positions; ignoring any overlapping counts (should report all codons except the first one): | compseq -sequence {{path/to/input_rna.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -frame 3 |
Count amino acid triplets in a FASTA file and compare to a previous run of `compseq` to calculate expected and normalised frequency values: | compseq -sequence {{path/to/human_proteome.fasta}} -word 3 {{path/to/output_file1.comp}} -nozero -infile {{path/to/output_file2.comp}} |
Approximate the above command without a previously prepared file, by calculating expected frequencies using the single base/residue frequencies in the supplied input sequence(s): | compseq -sequence {{path/to/human_proteome.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -calcfreq |
Display help (use `-help -verbose` for more information on associated and general qualifiers): | compseq -help |
Switch between different GPU modes: | optimus-manager --switch {{nvidia|integrated|hybrid}} |
Clean up: | optimus-manager --cleanup |
Update the operating system: | steamos-update |
Check if there is an update available: | steamos-update check |
List services with runlevel: | chkconfig --list |
Show a service's runlevel: | chkconfig --list {{ntpd}} |
Enable service at boot: | chkconfig {{sshd}} on |
Enable service at boot for runlevels 2, 3, 4, and 5: | chkconfig --level {{2345}} {{sshd}} on |
Disable service at boot: | chkconfig {{ntpd}} off |
Disable service at boot for runlevel 3: | chkconfig --level {{3}} {{ntpd}} off |
Disable the swap file: | dphys-swapfile swapoff |
Enable the swap file: | dphys-swapfile swapon |
Create a new swap file: | dphys-swapfile setup |
List DNF groups, showing installed and uninstalled status in a table: | dnf group list |
Show DNF group info, including repository and optional packages: | dnf group info {{group_name}} |
Install DNF group: | dnf group install {{group_name}} |
Remove DNF group: | dnf group remove {{group_name}} |
Upgrade DNF group: | dnf group upgrade {{group_name}} |
Tell the kernel about the existence of the specified partition: | addpart {{device}} {{partition}} {{start}} {{length}} |
Proxy a specific virtual machine: | qm vncproxy {{vm_id}} |
Forward `stdin`/`stdout` to the local system bus: | systemd-stdio-bridge |
Forward `stdin`/`stdout` to a specific user's D-Bus: | systemd-stdio-bridge --{{user}} |
Forward `stdin`/`stdout` to the local system bus within a specific container: | systemd-stdio-bridge {{[-M|--machine]}} {{mycontainer}} |
Forward `stdin`/`stdout` to a custom D-Bus address: | systemd-stdio-bridge {{[-p|--bus-path]}} unix:path={{/custom/dbus/socket}} |
View documentation for `resolvectl`: | tldr resolvectl |
Record a new session to a file named `typescript` in the current directory: | script |
Stop recording: | exit |
Record a new session to a custom filepath: | script {{path/to/session.out}} |
Append to an existing file: | script {{[-a|--append]}} {{logfile.log}} |
Record timing information (data is outputted to `stderr`): | script {{[-t|--timing]}} 2> {{path/to/timing_file}} |
Write out data as soon as it happens: | script {{[-f|--flush]}} {{path/to/file}} |
Execute quietly without start and done messages: | script {{[-q|--quiet]}} {{logfile.log}} |
Display help: | script {{[-h|--help]}} |
List all installed packages: | dpkg-query {{[-l|--list]}} |
List installed packages matching a pattern: | dpkg-query {{[-l|--list]}} '{{libc6*}}' |
List all files installed by a package: | dpkg-query {{[-L|--listfiles]}} {{libc6}} |
Show information about a package: | dpkg-query {{[-s|--status]}} {{libc6}} |
Search for packages that own files matching a pattern: | dpkg-query {{[-S|--search]}} {{/etc/ld.so.conf.d}} |
Change user's primary group membership: | newgrp {{group_name}} |
Reset primary group membership to user's default group in `/etc/passwd`: | newgrp |
Try to enumerate using all methods: | enum4linux -a {{remote_host}} |
Enumerate using given login credentials: | enum4linux -u {{user_name}} -p {{password}} {{remote_host}} |
List usernames from a given host: | enum4linux -U {{remote_host}} |
List shares: | enum4linux -S {{remote_host}} |
Get OS information: | enum4linux -o {{remote_host}} |
Wait for the user to make a selection and output its geometry to `stdout`: | slop |
Double click, rather than click and drag, to draw a selection: | slop {{[-D|--nodrag]}} |
Highlight the selection rather than outlining it: | slop {{[-l|--highlight]}} |
Specify the output format: | slop {{[-f|--format]}} {{format_string}} |
Specify the selection rectangle's color: | slop {{[-c|--color]}} {{red}},{{green}},{{blue}},{{alpha}} |
Operate on the specified directory instead of the root directory of the host system: | sudo systemd-firstboot --root {{path/to/root_directory}} |
Set the system keyboard layout: | sudo systemd-firstboot --keymap {{keymap}} |
Set the system hostname: | sudo systemd-firstboot --hostname {{hostname}} |
Set the root user's password: | sudo systemd-firstboot --root-password {{password}} |
Prompt the user interactively for a specific basic setting: | sudo systemd-firstboot --prompt {{setting}} |
Force writing configuration even if the relevant files already exist: | sudo systemd-firstboot --force |
Remove all existing files that are configured by `systemd-firstboot`: | sudo systemd-firstboot --reset |
Remove the password of the system's root user: | sudo systemd-firstboot --delete-root-password |
Install the `base` package, the Linux kernel and firmware for common hardware: | pacstrap {{path/to/new/root}} {{base}} {{linux}} {{linux-firmware}} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.