conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Create an ext3 filesystem in partition 1 of device b (`sdb1`)"
},
{
"from": "gpt",
"value": "mkfs.ext3 /dev/sdb1"
}
] |
[
{
"from": "human",
"value": "Create an ext4 filesystem in partition 1 of device b (`sdb1`)"
},
{
"from": "gpt",
"value": "mkfs.ext4 /dev/sdb1"
}
] |
[
{
"from": "human",
"value": "Make a search using Google"
},
{
"from": "gpt",
"value": "tuxi search_terms"
}
] |
[
{
"from": "human",
"value": "Display the search results in [r]aw format (no pretty output, no colors)"
},
{
"from": "gpt",
"value": "tuxi -r search_terms"
}
] |
[
{
"from": "human",
"value": "Display only search results (silences \"Did you mean?\", greetings and usage)"
},
{
"from": "gpt",
"value": "tuxi -q search_terms"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "tuxi -h"
}
] |
[
{
"from": "human",
"value": "Disable the swap file"
},
{
"from": "gpt",
"value": "dphys-swapfile swapoff"
}
] |
[
{
"from": "human",
"value": "Enable the swap file"
},
{
"from": "gpt",
"value": "dphys-swapfile swapon"
}
] |
[
{
"from": "human",
"value": "Create a new swap file"
},
{
"from": "gpt",
"value": "dphys-swapfile setup"
}
] |
[
{
"from": "human",
"value": "List all devices recognized by libinput"
},
{
"from": "gpt",
"value": "sudo libinput list-devices"
}
] |
[
{
"from": "human",
"value": "Print all libinput events"
},
{
"from": "gpt",
"value": "sudo libinput debug-events"
}
] |
[
{
"from": "human",
"value": "Show a GUI to visualize libinput's events"
},
{
"from": "gpt",
"value": "sudo libinput debug-gui"
}
] |
[
{
"from": "human",
"value": "Debug tablet axis values"
},
{
"from": "gpt",
"value": "sudo libinput debug-tablet"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "libinput [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Generate a coverage report named `file.cpp.gcov`"
},
{
"from": "gpt",
"value": "gcov path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Write individual execution counts for every basic block"
},
{
"from": "gpt",
"value": "gcov [-a|--all-blocks] path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Write branch frequencies to the output file and print summary information to `stdout` as a percentage"
},
{
"from": "gpt",
"value": "gcov [-b|--branch-probabilities] path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Write branch frequencies as the number of branches taken, rather than the percentage"
},
{
"from": "gpt",
"value": "gcov [-c|--branch-counts] path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Do not create a `gcov` output file"
},
{
"from": "gpt",
"value": "gcov [-n|--no-output] path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "Write file level as well as function level summaries"
},
{
"from": "gpt",
"value": "gcov [-f|--function-summaries] path/to/file.cpp"
}
] |
[
{
"from": "human",
"value": "List available power profiles"
},
{
"from": "gpt",
"value": "powerprofilesctl list"
}
] |
[
{
"from": "human",
"value": "Set a specific power profile"
},
{
"from": "gpt",
"value": "powerprofilesctl set profile_name"
}
] |
[
{
"from": "human",
"value": "Search for a package"
},
{
"from": "gpt",
"value": "paxs search_term"
}
] |
[
{
"from": "human",
"value": "Upgrade all packages"
},
{
"from": "gpt",
"value": "paxs -u"
}
] |
[
{
"from": "human",
"value": "Install a package (prompting for the source)"
},
{
"from": "gpt",
"value": "paxs -i package"
}
] |
[
{
"from": "human",
"value": "Remove a package (prompting for the source)"
},
{
"from": "gpt",
"value": "paxs -r package"
}
] |
[
{
"from": "human",
"value": "Check for updates across all package managers"
},
{
"from": "gpt",
"value": "paxs -c"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "paxs -h"
}
] |
[
{
"from": "human",
"value": "Create a new user"
},
{
"from": "gpt",
"value": "sudo useradd username"
}
] |
[
{
"from": "human",
"value": "Create a new user with the specified user ID"
},
{
"from": "gpt",
"value": "sudo useradd [-u|--uid] id username"
}
] |
[
{
"from": "human",
"value": "Create a new user with the specified shell"
},
{
"from": "gpt",
"value": "sudo useradd [-s|--shell] path/to/shell username"
}
] |
[
{
"from": "human",
"value": "Create a new user belonging to additional groups (mind the lack of whitespace)"
},
{
"from": "gpt",
"value": "sudo useradd [-G|--groups] group1,group2,... username"
}
] |
[
{
"from": "human",
"value": "Create a new user with the default home directory"
},
{
"from": "gpt",
"value": "sudo useradd [-m|--create-home] username"
}
] |
[
{
"from": "human",
"value": "Create a new user with the home directory filled by template directory files"
},
{
"from": "gpt",
"value": "sudo useradd [-k|--skel] path/to/template_directory [-m|--create-home] username"
}
] |
[
{
"from": "human",
"value": "Create a new system user without the home directory"
},
{
"from": "gpt",
"value": "sudo useradd [-r|--system] username"
}
] |
[
{
"from": "human",
"value": "Review files that need maintenance in interactive mode"
},
{
"from": "gpt",
"value": "pacdiff"
}
] |
[
{
"from": "human",
"value": "Use sudo and sudoedit to remove and merge files"
},
{
"from": "gpt",
"value": "pacdiff --sudo"
}
] |
[
{
"from": "human",
"value": "Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`"
},
{
"from": "gpt",
"value": "pacdiff --sudo --backup"
}
] |
[
{
"from": "human",
"value": "Use a specific editor to view and merge configuration files (default is `vim -d`)"
},
{
"from": "gpt",
"value": "DIFFPROG=editor pacdiff"
}
] |
[
{
"from": "human",
"value": "Scan for configuration files with `locate` instead of using `pacman` database"
},
{
"from": "gpt",
"value": "pacdiff --locate"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pacdiff --help"
}
] |
[
{
"from": "human",
"value": "Display the OOM-killer score of the process with a specific ID"
},
{
"from": "gpt",
"value": "choom [-p|--pid] pid"
}
] |
[
{
"from": "human",
"value": "Change the adjust OOM-killer score of a specific process"
},
{
"from": "gpt",
"value": "choom [-p|--pid] pid [-n|--adjust] -1000..+1000"
}
] |
[
{
"from": "human",
"value": "Run a command with a specific adjust OOM-killer score"
},
{
"from": "gpt",
"value": "choom [-n|--adjust] -1000..+1000 command argument1 argument2 ..."
}
] |
[
{
"from": "human",
"value": "Check filesystem `/dev/sdXN`, reporting any damaged blocks"
},
{
"from": "gpt",
"value": "sudo fsck /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Check filesystem `/dev/sdXN`, reporting any damaged blocks and interactively letting the user choose to repair each one"
},
{
"from": "gpt",
"value": "sudo fsck -r /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them"
},
{
"from": "gpt",
"value": "sudo fsck -a /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "List all detected input devices"
},
{
"from": "gpt",
"value": "sudo evtest"
}
] |
[
{
"from": "human",
"value": "Display events from a specific input device"
},
{
"from": "gpt",
"value": "sudo evtest /dev/input/eventnumber"
}
] |
[
{
"from": "human",
"value": "Grab the device exclusively, preventing other clients from receiving events"
},
{
"from": "gpt",
"value": "sudo evtest --grab /dev/input/eventnumber"
}
] |
[
{
"from": "human",
"value": "Query the state of a specific key or button on an input device"
},
{
"from": "gpt",
"value": "sudo evtest --query /dev/input/eventnumber event_type event_code"
}
] |
[
{
"from": "human",
"value": "Generate a local policy to allow access for all denied services"
},
{
"from": "gpt",
"value": "sudo audit2allow --all -M local_policy_name"
}
] |
[
{
"from": "human",
"value": "Generate a local policy module to grant access to a specific process/service/command from the audit logs"
},
{
"from": "gpt",
"value": "sudo grep apache2 /var/log/audit/audit.log | sudo audit2allow -M local_policy_name"
}
] |
[
{
"from": "human",
"value": "Inspect and review the Type Enforcement (.te) file for a local policy"
},
{
"from": "gpt",
"value": "vim local_policy_name.te"
}
] |
[
{
"from": "human",
"value": "Install a local policy module"
},
{
"from": "gpt",
"value": "sudo semodule -i local_policy_name.pp"
}
] |
[
{
"from": "human",
"value": "Start the graphical user interface (GUI) version of Bleachbit"
},
{
"from": "gpt",
"value": "bleachbit --gui"
}
] |
[
{
"from": "human",
"value": "Shred a file"
},
{
"from": "gpt",
"value": "bleachbit --shred path/to/file"
}
] |
[
{
"from": "human",
"value": "List available cleaner options"
},
{
"from": "gpt",
"value": "bleachbit --list-cleaners"
}
] |
[
{
"from": "human",
"value": "Preview the files that will be deleted and other changes that will be made before actually performing the clean-up operation"
},
{
"from": "gpt",
"value": "bleachbit --preview --preset|cleaner1.option1 cleaner2.* ..."
}
] |
[
{
"from": "human",
"value": "Perform the clean-up operation and delete files"
},
{
"from": "gpt",
"value": "bleachbit --clean --preset|cleaner1.option1 cleaner2.* ..."
}
] |
[
{
"from": "human",
"value": "Start a new VPN session"
},
{
"from": "gpt",
"value": "openvpn3 session-start --config path/to/config.conf"
}
] |
[
{
"from": "human",
"value": "List established sessions"
},
{
"from": "gpt",
"value": "openvpn3 sessions-list"
}
] |
[
{
"from": "human",
"value": "Disconnect the currently established session started with given configuration"
},
{
"from": "gpt",
"value": "openvpn3 session-manage --config path/to/config.conf --disconnect"
}
] |
[
{
"from": "human",
"value": "Import VPN configuration"
},
{
"from": "gpt",
"value": "openvpn3 config-import --config path/to/config.conf"
}
] |
[
{
"from": "human",
"value": "List imported configurations"
},
{
"from": "gpt",
"value": "openvpn3 configs-list"
}
] |
[
{
"from": "human",
"value": "Display a report for one or more files"
},
{
"from": "gpt",
"value": "filefrag path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Display a report using a 1024 byte blocksize"
},
{
"from": "gpt",
"value": "filefrag -k path/to/file"
}
] |
[
{
"from": "human",
"value": "Display a report using a certain blocksize"
},
{
"from": "gpt",
"value": "filefrag -b1024|1K|1M|1G|... path/to/file"
}
] |
[
{
"from": "human",
"value": "Sync the file before requesting the mapping"
},
{
"from": "gpt",
"value": "filefrag -s path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Display mapping of extended attributes"
},
{
"from": "gpt",
"value": "filefrag -x path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Display a report with verbose information"
},
{
"from": "gpt",
"value": "filefrag -v path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Merge HDF5 files produced on each allocated node for the specified job or step"
},
{
"from": "gpt",
"value": "sh5util --jobs=job_id|job_id.step_id"
}
] |
[
{
"from": "human",
"value": "Extract one or more data series from a merged job file"
},
{
"from": "gpt",
"value": "sh5util --jobs=job_id|job_id.step_id --extract -i path/to/file.h5 --series=Energy|Filesystem|Network|Task"
}
] |
[
{
"from": "human",
"value": "Extract one data item from all nodes in a merged job file"
},
{
"from": "gpt",
"value": "sh5util --jobs=job_id|job_id.step_id --item-extract --series=Energy|Filesystem|Network|Task --data=data_item"
}
] |
[
{
"from": "human",
"value": "Poison all hosts to intercept packets on [i]nterface for the host"
},
{
"from": "gpt",
"value": "sudo arpspoof -i wlan0 host_ip"
}
] |
[
{
"from": "human",
"value": "Poison [t]arget to intercept packets on [i]nterface for the host"
},
{
"from": "gpt",
"value": "sudo arpspoof -i wlan0 -t target_ip host_ip"
}
] |
[
{
"from": "human",
"value": "Poison both [t]arget and host to intercept packets on [i]nterface for the host"
},
{
"from": "gpt",
"value": "sudo arpspoof -i wlan0 -r -t target_ip host_ip"
}
] |
[
{
"from": "human",
"value": "Set an environment variable"
},
{
"from": "gpt",
"value": "export VARIABLE=value"
}
] |
[
{
"from": "human",
"value": "Unset an environment variable"
},
{
"from": "gpt",
"value": "export -n VARIABLE"
}
] |
[
{
"from": "human",
"value": "Export a function to child processes"
},
{
"from": "gpt",
"value": "export -f FUNCTION_NAME"
}
] |
[
{
"from": "human",
"value": "Append a pathname to the environment variable `PATH`"
},
{
"from": "gpt",
"value": "export PATH=$PATH:path/to/append"
}
] |
[
{
"from": "human",
"value": "Display a list of active exported variables in shell command form"
},
{
"from": "gpt",
"value": "export -p"
}
] |
[
{
"from": "human",
"value": "Enter the QEMU Monitor interface of a specific virtual machine"
},
{
"from": "gpt",
"value": "qm monitor vm_id"
}
] |
[
{
"from": "human",
"value": "Replace the input file with its stripped version"
},
{
"from": "gpt",
"value": "strip path/to/file"
}
] |
[
{
"from": "human",
"value": "Strip symbols from a file, saving the output to a specific file"
},
{
"from": "gpt",
"value": "strip path/to/input_file -o path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Strip debug symbols only"
},
{
"from": "gpt",
"value": "strip --strip-debug path/to/file.o"
}
] |
[
{
"from": "human",
"value": "Print a JSON representation of the default PipeWire instance's current state"
},
{
"from": "gpt",
"value": "pw-dump"
}
] |
[
{
"from": "human",
"value": "Print a JSON representation of an object"
},
{
"from": "gpt",
"value": "pw-dump object_id"
}
] |
[
{
"from": "human",
"value": "Dump the current state monitoring changes, printing it again"
},
{
"from": "gpt",
"value": "pw-dump [-m|--monitor]"
}
] |
[
{
"from": "human",
"value": "Dump the current state of a remote instance to a file"
},
{
"from": "gpt",
"value": "pw-dump [-r|--remote] remote_name > path/to/dump_file.json"
}
] |
[
{
"from": "human",
"value": "Set a color configuration"
},
{
"from": "gpt",
"value": "pw-dump [-C|--color] never|always|auto"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pw-dump [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Set up the server with Laravel dependencies using the default PHP version"
},
{
"from": "gpt",
"value": "larasail setup"
}
] |
[
{
"from": "human",
"value": "Set up the server with Laravel dependencies using a specific PHP version"
},
{
"from": "gpt",
"value": "larasail setup php71"
}
] |
[
{
"from": "human",
"value": "Add a new Laravel site"
},
{
"from": "gpt",
"value": "larasail host domain path/to/site_directory"
}
] |
[
{
"from": "human",
"value": "Retrieve the Larasail user password"
},
{
"from": "gpt",
"value": "larasail pass"
}
] |
[
{
"from": "human",
"value": "Retrieve the Larasail MySQL password"
},
{
"from": "gpt",
"value": "larasail mysqlpass"
}
] |
[
{
"from": "human",
"value": "Update the metadata database"
},
{
"from": "gpt",
"value": "sudo apt update"
}
] |
[
{
"from": "human",
"value": "Search for packages that contain the specified file or path"
},
{
"from": "gpt",
"value": "apt-file search|find partial_path/to/file"
}
] |
[
{
"from": "human",
"value": "List the contents of a specific package"
},
{
"from": "gpt",
"value": "apt-file show|list package"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.