conversations
listlengths
2
2
[ { "from": "human", "value": "List all the suboptions for disk, network, and boot" }, { "from": "gpt", "value": "virt-xml --disk=? --network=? --boot=?" } ]
[ { "from": "human", "value": "Edit a value for a specific domain" }, { "from": "gpt", "value": "virt-xml domain --edit --option suboption=new_value" } ]
[ { "from": "human", "value": "Change the description for a specific domain" }, { "from": "gpt", "value": "virt-xml domain --edit --metadata description=\"new_description\"" } ]
[ { "from": "human", "value": "Enable/Disable the boot device menu for a specific domain" }, { "from": "gpt", "value": "virt-xml domain --edit --boot bootmenu=on|off" } ]
[ { "from": "human", "value": "Attach host USB hub to a running VM (See: tldr lsusb)" }, { "from": "gpt", "value": "virt-xml domain --update --add-device --hostdev bus.device" } ]
[ { "from": "human", "value": "Overwrite free space and inodes of a disk with 38 writes (slow but secure)" }, { "from": "gpt", "value": "sfill /path/to/mounted_disk_directory" } ]
[ { "from": "human", "value": "Overwrite free space and inodes of a disk with 6 writes (fast but less secure) and show status" }, { "from": "gpt", "value": "sfill -l -v /path/to/mounted_disk_directory" } ]
[ { "from": "human", "value": "Overwrite free space and inodes of a disk with 1 write (very fast but insecure) and show status" }, { "from": "gpt", "value": "sfill -ll -v /path/to/mounted_disk_directory" } ]
[ { "from": "human", "value": "Overwrite only free space of a disk" }, { "from": "gpt", "value": "sfill -I /path/to/mounted_disk_directory" } ]
[ { "from": "human", "value": "Overwrite only free inodes of a disk" }, { "from": "gpt", "value": "sfill -i /path/to/mounted_disk_directory" } ]
[ { "from": "human", "value": "Display the wireframe of an icosahedron that changes its position every 0.1 seconds" }, { "from": "gpt", "value": "ico -sleep 0.1" } ]
[ { "from": "human", "value": "Display a solid icosahedron with red faces on a blue background" }, { "from": "gpt", "value": "ico -faces -noedges -colors red -bg blue" } ]
[ { "from": "human", "value": "Display the wireframe of a cube with size 100x100 that moves by +1+2 per frame" }, { "from": "gpt", "value": "ico -obj cube -size 100x100 -delta +1+2" } ]
[ { "from": "human", "value": "Display the inverted wireframe of an icosahedron with line width 10 using 5 threads" }, { "from": "gpt", "value": "ico -i -lw 10 -threads 5" } ]
[ { "from": "human", "value": "Display information about a specific undo file" }, { "from": "gpt", "value": "e2undo -h path/to/undo_file /dev/sdXN" } ]
[ { "from": "human", "value": "Perform a dry-run and display the candidate blocks for replaying" }, { "from": "gpt", "value": "e2undo -nv path/to/undo_file /dev/sdXN" } ]
[ { "from": "human", "value": "Perform an undo operation" }, { "from": "gpt", "value": "e2undo path/to/undo_file /dev/sdXN" } ]
[ { "from": "human", "value": "Perform an undo operation and display verbose information" }, { "from": "gpt", "value": "e2undo -v path/to/undo_file /dev/sdXN" } ]
[ { "from": "human", "value": "Write the old contents of the block to an undo file before overwriting a file system block" }, { "from": "gpt", "value": "e2undo -z path/to/file.e2undo path/to/undo_file /dev/sdXN" } ]
[ { "from": "human", "value": "Disable password expiration for the user" }, { "from": "gpt", "value": "sudo lchage --date -1 username" } ]
[ { "from": "human", "value": "Display the password policy for the user" }, { "from": "gpt", "value": "sudo lchage --list username" } ]
[ { "from": "human", "value": "Require password change for the user a certain number of days after the last password change" }, { "from": "gpt", "value": "sudo lchage --maxdays number_of_days username" } ]
[ { "from": "human", "value": "Start warning the user a certain number of days before the password expires" }, { "from": "gpt", "value": "sudo lchage --warndays number_of_days username" } ]
[ { "from": "human", "value": "Create a shell script that when executed extracts the given files from itself" }, { "from": "gpt", "value": "shar [-V|--vanilla-operation] path/to/file1 path/to/file2 ... > path/to/archive.sh" } ]
[ { "from": "human", "value": "Compress the files in the archive" }, { "from": "gpt", "value": "shar [-C|--compactor] xz path/to/file1 path/to/file2 ... > path/to/archive.sh" } ]
[ { "from": "human", "value": "Treat all files as binary (i.e. `uuencode` everything)" }, { "from": "gpt", "value": "shar [-B|--uuencode] path/to/file1 path/to/file2 ... > path/to/archive.sh" } ]
[ { "from": "human", "value": "Treat all files as text (i.e. `uuencode` nothing)" }, { "from": "gpt", "value": "shar [-T|--text-files] path/to/file1 path/to/file2 ... > path/to/archive.sh" } ]
[ { "from": "human", "value": "Include a name and cut mark in the header comment of the archive" }, { "from": "gpt", "value": "shar [-n|--archive-name] \"My files\" [-c|--cut-mark] path/to/file1 path/to/file2 ... > path/to/archive.sh" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr pacman query" } ]
[ { "from": "human", "value": "List all mounted filesystems" }, { "from": "gpt", "value": "findmnt" } ]
[ { "from": "human", "value": "Search for a device" }, { "from": "gpt", "value": "findmnt /dev/sdb1" } ]
[ { "from": "human", "value": "Search for a mountpoint" }, { "from": "gpt", "value": "findmnt /" } ]
[ { "from": "human", "value": "Find filesystems in specific type" }, { "from": "gpt", "value": "findmnt [-t|--types] ext4" } ]
[ { "from": "human", "value": "Find filesystems with specific label" }, { "from": "gpt", "value": "findmnt LABEL=BigStorage" } ]
[ { "from": "human", "value": "Check mount table content in detail and verify `/etc/fstab`" }, { "from": "gpt", "value": "findmnt [-x|--verify] --verbose" } ]
[ { "from": "human", "value": "Search for lines beginning with a specific prefix in a specific file" }, { "from": "gpt", "value": "look prefix path/to/file" } ]
[ { "from": "human", "value": "Case-insensitively search only on blank and alphanumeric characters" }, { "from": "gpt", "value": "look [-f|--ignore-case] [-d|--alphanum] prefix path/to/file" } ]
[ { "from": "human", "value": "Specify a string termination character (space by default)" }, { "from": "gpt", "value": "look [-t|--terminate] ," } ]
[ { "from": "human", "value": "Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed)" }, { "from": "gpt", "value": "look prefix" } ]
[ { "from": "human", "value": "Search in `/usr/share/dict/web2` (`--ignore-case` and `--alphanum` are assumed)" }, { "from": "gpt", "value": "look [-a|--alternative] prefix" } ]
[ { "from": "human", "value": "List all file labelling rules" }, { "from": "gpt", "value": "sudo semanage fcontext --list" } ]
[ { "from": "human", "value": "List all user-defined file labelling rules without headings" }, { "from": "gpt", "value": "sudo semanage fcontext --list --locallist --noheading" } ]
[ { "from": "human", "value": "Add a user-defined rule that labels any path which matches a PCRE regex" }, { "from": "gpt", "value": "sudo semanage fcontext --add --type samba_share_t '/mnt/share(/.*)?'" } ]
[ { "from": "human", "value": "Delete a user-defined rule using its PCRE regex" }, { "from": "gpt", "value": "sudo semanage fcontext --delete '/mnt/share(/.*)?'" } ]
[ { "from": "human", "value": "Relabel a directory recursively by applying the new rules" }, { "from": "gpt", "value": "restorecon -R -v path/to/directory" } ]
[ { "from": "human", "value": "Terminate a program using the default SIGTERM (terminate) signal" }, { "from": "gpt", "value": "kill process_id" } ]
[ { "from": "human", "value": "List signal values and their corresponding names (to be used without the `SIG` prefix). The available options may depend on the `kill` implementation" }, { "from": "gpt", "value": "kill -l|-L|--table" } ]
[ { "from": "human", "value": "Terminate a background job" }, { "from": "gpt", "value": "kill %job_id" } ]
[ { "from": "human", "value": "Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating" }, { "from": "gpt", "value": "kill -1|HUP process_id" } ]
[ { "from": "human", "value": "Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `<Ctrl c>`" }, { "from": "gpt", "value": "kill -2|INT process_id" } ]
[ { "from": "human", "value": "Signal the operating system to immediately terminate a program (which gets no chance to capture the signal)" }, { "from": "gpt", "value": "kill -9|KILL process_id" } ]
[ { "from": "human", "value": "Signal the operating system to pause a program until a SIGCONT (\"continue\") signal is received" }, { "from": "gpt", "value": "kill -17|STOP process_id" } ]
[ { "from": "human", "value": "Send a `SIGUSR1` signal to all processes with the given GID (group id)" }, { "from": "gpt", "value": "kill -SIGUSR1 -group_id" } ]
[ { "from": "human", "value": "Check status" }, { "from": "gpt", "value": "sudo aa-status" } ]
[ { "from": "human", "value": "Display the number of loaded policies" }, { "from": "gpt", "value": "sudo aa-status --profiled" } ]
[ { "from": "human", "value": "Display the number of loaded enforicing policies" }, { "from": "gpt", "value": "sudo aa-status --enforced" } ]
[ { "from": "human", "value": "Display the number of loaded non-enforcing policies" }, { "from": "gpt", "value": "sudo aa-status --complaining" } ]
[ { "from": "human", "value": "Display the number of loaded enforcing policies that kill tasks" }, { "from": "gpt", "value": "sudo aa-status --kill" } ]
[ { "from": "human", "value": "Open the interactive menu for timezone selection and print the selected timezone to `stdout`" }, { "from": "gpt", "value": "tzselect" } ]
[ { "from": "human", "value": "Ask for nearest timezone to coordinates in ISO 6709 notation" }, { "from": "gpt", "value": "tzselect -c coordinates" } ]
[ { "from": "human", "value": "Show a list with information about currently existing Ethernet bridges" }, { "from": "gpt", "value": "sudo brctl show" } ]
[ { "from": "human", "value": "Create a new Ethernet bridge interface" }, { "from": "gpt", "value": "sudo brctl add bridge_name" } ]
[ { "from": "human", "value": "Delete an existing Ethernet bridge interface" }, { "from": "gpt", "value": "sudo brctl del bridge_name" } ]
[ { "from": "human", "value": "Add an interface to an existing bridge" }, { "from": "gpt", "value": "sudo brctl addif bridge_name interface_name" } ]
[ { "from": "human", "value": "Remove an interface from an existing bridge" }, { "from": "gpt", "value": "sudo brctl delif bridge_name interface_name" } ]
[ { "from": "human", "value": "Initialize the `/dev/sda1` volume for use by LVM" }, { "from": "gpt", "value": "pvcreate /dev/sda1" } ]
[ { "from": "human", "value": "Force the creation without any confirmation prompts" }, { "from": "gpt", "value": "pvcreate --force /dev/sda1" } ]
[ { "from": "human", "value": "Change the group name" }, { "from": "gpt", "value": "sudo groupmod [-n|--new-name] new_group group_name" } ]
[ { "from": "human", "value": "Change the group ID" }, { "from": "gpt", "value": "sudo groupmod [-g|--gid] new_id group_name" } ]
[ { "from": "human", "value": "Start the daemon" }, { "from": "gpt", "value": "sudo ntpd" } ]
[ { "from": "human", "value": "Synchronize system time with remote servers a single time (quit after synchronizing)" }, { "from": "gpt", "value": "sudo ntpd --quit" } ]
[ { "from": "human", "value": "Synchronize a single time allowing \"Big\" adjustments" }, { "from": "gpt", "value": "sudo ntpd --panicgate --quit" } ]
[ { "from": "human", "value": "Resize the terminal" }, { "from": "gpt", "value": "resize" } ]
[ { "from": "human", "value": "Print terminal size" }, { "from": "gpt", "value": "resize -s" } ]
[ { "from": "human", "value": "Assemble a file, writing the output to `a.out`" }, { "from": "gpt", "value": "as path/to/file.s" } ]
[ { "from": "human", "value": "Assemble the output to a given file" }, { "from": "gpt", "value": "as path/to/file.s -o path/to/output_file.o" } ]
[ { "from": "human", "value": "Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers)" }, { "from": "gpt", "value": "as -f path/to/file.s" } ]
[ { "from": "human", "value": "Include a given path to the list of directories to search for files specified in `.include` directives" }, { "from": "gpt", "value": "as -I path/to/directory path/to/file.s" } ]
[ { "from": "human", "value": "Calculate and save the UUID for the current working directory" }, { "from": "gpt", "value": "abrt-action-analyze-c" } ]
[ { "from": "human", "value": "Calculate and save the UUID for a specific directory" }, { "from": "gpt", "value": "abrt-action-analyze-c -d path/to/directory" } ]
[ { "from": "human", "value": "Calculate and save the UUID verbosely" }, { "from": "gpt", "value": "abrt-action-analyze-c -v" } ]
[ { "from": "human", "value": "View the current branch" }, { "from": "gpt", "value": "steamos-select-branch -c" } ]
[ { "from": "human", "value": "List all available branches" }, { "from": "gpt", "value": "steamos-select-branch -l" } ]
[ { "from": "human", "value": "Switch to the beta branch" }, { "from": "gpt", "value": "steamos-select-branch beta" } ]
[ { "from": "human", "value": "Switch back to the stable release" }, { "from": "gpt", "value": "steamos-select-branch stable" } ]
[ { "from": "human", "value": "Switch to the bleeding edge branch" }, { "from": "gpt", "value": "steamos-select-branch main" } ]
[ { "from": "human", "value": "Copy data to another file" }, { "from": "gpt", "value": "objcopy path/to/source_file path/to/target_file" } ]
[ { "from": "human", "value": "Translate object files from one format to another" }, { "from": "gpt", "value": "objcopy --input-target=input_format --output-target output_format path/to/source_file path/to/target_file" } ]
[ { "from": "human", "value": "Strip all symbol information from the file" }, { "from": "gpt", "value": "objcopy --strip-all path/to/source_file path/to/target_file" } ]
[ { "from": "human", "value": "Strip debugging information from the file" }, { "from": "gpt", "value": "objcopy --strip-debug path/to/source_file path/to/target_file" } ]
[ { "from": "human", "value": "Copy a specific section from the source file to the destination file" }, { "from": "gpt", "value": "objcopy --only-section section path/to/source_file path/to/target_file" } ]
[ { "from": "human", "value": "Move the process with a specific PID to the control group student in the CPU hierarchy" }, { "from": "gpt", "value": "cgclassify -g cpu:student 1234" } ]
[ { "from": "human", "value": "Move the process with a specific PID to control groups based on the `/etc/cgrules.conf` configuration file" }, { "from": "gpt", "value": "cgclassify 1234" } ]
[ { "from": "human", "value": "Move the process with a specific PID to the control group student in the CPU hierarchy. Note: The daemon of the service `cgred` does not change `cgroups` of the specific PID and its children (based on `/etc/cgrules.conf`)" }, { "from": "gpt", "value": "cgclassify --s...
[ { "from": "human", "value": "Change the current user's SMB password" }, { "from": "gpt", "value": "smbpasswd" } ]
[ { "from": "human", "value": "Add a specified user to Samba and set password (user should already exist in system)" }, { "from": "gpt", "value": "sudo smbpasswd -a username" } ]
[ { "from": "human", "value": "Modify an existing Samba user's password" }, { "from": "gpt", "value": "sudo smbpasswd username" } ]
[ { "from": "human", "value": "Delete a Samba user (use `pdbedit` instead if the Unix account has been deleted)" }, { "from": "gpt", "value": "sudo smbpasswd -x username" } ]
[ { "from": "human", "value": "Set up a VPN tunnel" }, { "from": "gpt", "value": "wg-quick up interface_name" } ]
[ { "from": "human", "value": "Delete a VPN tunnel" }, { "from": "gpt", "value": "wg-quick down interface_name" } ]