conversations
listlengths
2
2
[ { "from": "human", "value": "Check if the clone file can be restored on the current system" }, { "from": "gpt", "value": "apt-clone restore path/to/backup.tar.gz --destination path/to/restore" } ]
[ { "from": "human", "value": "Check if zram is enabled" }, { "from": "gpt", "value": "lsmod | grep [-i|--ignore-case] zram" } ]
[ { "from": "human", "value": "Enable zram with a dynamic number of devices (use `zramctl` to configure devices further)" }, { "from": "gpt", "value": "sudo modprobe zram" } ]
[ { "from": "human", "value": "Enable zram with exactly 2 devices" }, { "from": "gpt", "value": "sudo modprobe zram num_devices=2" } ]
[ { "from": "human", "value": "Find and initialize the next free zram device to a 2 GB virtual drive using LZ4 compression" }, { "from": "gpt", "value": "sudo zramctl [-f|--find] [-s|--size] 2GB [-a|--algorithm] lz4" } ]
[ { "from": "human", "value": "List currently initialized devices" }, { "from": "gpt", "value": "sudo zramctl" } ]
[ { "from": "human", "value": "Redirect the IO streams (`stdout`, `stderr`, and `stdin`) of a Slurm job step to the current terminal" }, { "from": "gpt", "value": "sattach jobid.stepid" } ]
[ { "from": "human", "value": "Use the current console's input as `stdin` to the specified task" }, { "from": "gpt", "value": "sattach --input-filter task_number" } ]
[ { "from": "human", "value": "Only redirect `stdin`/`stderr` of the specified task" }, { "from": "gpt", "value": "sattach --output|error-filter task_number" } ]
[ { "from": "human", "value": "Capture all the events from the live system and print them to screen" }, { "from": "gpt", "value": "sysdig" } ]
[ { "from": "human", "value": "Capture all the events from the live system and save them to disk" }, { "from": "gpt", "value": "sysdig -w path/to/file.scap" } ]
[ { "from": "human", "value": "Read events from a file and print them to screen" }, { "from": "gpt", "value": "sysdig -r path/to/file.scap" } ]
[ { "from": "human", "value": "Filter and Print all the open system calls invoked by cat" }, { "from": "gpt", "value": "sysdig proc.name=cat and evt.type=open" } ]
[ { "from": "human", "value": "Register any found plugin and use dummy as input source passing to it open params" }, { "from": "gpt", "value": "sysdig -I dummy:'parameter'" } ]
[ { "from": "human", "value": "List the available chisels" }, { "from": "gpt", "value": "sysdig -cl" } ]
[ { "from": "human", "value": "Use the spy_ip chisel to look at the data exchanged with ip address" }, { "from": "gpt", "value": "sysdig -c spy_ip ip_address" } ]
[ { "from": "human", "value": "Enable a configuration file" }, { "from": "gpt", "value": "sudo a2enconf configuration_file" } ]
[ { "from": "human", "value": "Don't show informative messages" }, { "from": "gpt", "value": "sudo a2enconf --quiet configuration_file" } ]
[ { "from": "human", "value": "Execute command on the host system from inside the Distrobox container" }, { "from": "gpt", "value": "distrobox-host-exec \"command\"" } ]
[ { "from": "human", "value": "Execute the `ls` command on the host system from inside the container" }, { "from": "gpt", "value": "distrobox-host-exec ls" } ]
[ { "from": "human", "value": "View documentation for managing package managers" }, { "from": "gpt", "value": "tldr apx pkgmanagers" } ]
[ { "from": "human", "value": "View documentation for managing stacks" }, { "from": "gpt", "value": "tldr apx stacks" } ]
[ { "from": "human", "value": "View documentation for managing subsystems" }, { "from": "gpt", "value": "tldr apx subsystems" } ]
[ { "from": "human", "value": "Compress an executable file in-place" }, { "from": "gpt", "value": "gzexe path/to/executable" } ]
[ { "from": "human", "value": "Decompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary)" }, { "from": "gpt", "value": "gzexe -d path/to/compressed_executable" } ]
[ { "from": "human", "value": "List binary packages which would be generated from a RPM spec file" }, { "from": "gpt", "value": "rpmspec --query path/to/rpm.spec" } ]
[ { "from": "human", "value": "List all options for `--queryformat`" }, { "from": "gpt", "value": "rpmspec --querytags" } ]
[ { "from": "human", "value": "Get summary information for single binary packages generated from a RPM spec file" }, { "from": "gpt", "value": "rpmspec --query --queryformat \"%{name}: %{summary}\\n\" path/to/rpm.spec" } ]
[ { "from": "human", "value": "Get the source package which would be generated from a RPM spec file" }, { "from": "gpt", "value": "rpmspec --query --srpm path/to/rpm.spec" } ]
[ { "from": "human", "value": "Parse a RPM spec file to `stdout`" }, { "from": "gpt", "value": "rpmspec --parse path/to/rpm.spec" } ]
[ { "from": "human", "value": "Wait until the virtual machine is stopped" }, { "from": "gpt", "value": "qm wait vm_id" } ]
[ { "from": "human", "value": "Wait until the virtual machine is stopped with a 10 second timeout" }, { "from": "gpt", "value": "qm wait --timeout 10 vm_id" } ]
[ { "from": "human", "value": "Send a shutdown request, then wait until the virtual machine is stopped with a 10 second timeout" }, { "from": "gpt", "value": "qm shutdown vm_id && qm wait --timeout 10 vm_id" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr nmtui" } ]
[ { "from": "human", "value": "Update all enabled media" }, { "from": "gpt", "value": "urpmi.update -a" } ]
[ { "from": "human", "value": "Update specific media (including disabled media)" }, { "from": "gpt", "value": "urpmi.update medium1 medium2 ..." } ]
[ { "from": "human", "value": "Update all media that contain a specific keyword" }, { "from": "gpt", "value": "urpmi.update keyword" } ]
[ { "from": "human", "value": "Update all configured media" }, { "from": "gpt", "value": "urpmi.update e" } ]
[ { "from": "human", "value": "Start Drawing" }, { "from": "gpt", "value": "drawing" } ]
[ { "from": "human", "value": "Open specific files" }, { "from": "gpt", "value": "drawing path/to/image1 path/to/image2 ..." } ]
[ { "from": "human", "value": "Open specific files in a new window" }, { "from": "gpt", "value": "drawing --new-window path/to/image1 path/to/image2 ..." } ]
[ { "from": "human", "value": "Start a snake game" }, { "from": "gpt", "value": "snake4" } ]
[ { "from": "human", "value": "Choose level" }, { "from": "gpt", "value": "<1>|<2>|<3>|<4>|<5>" } ]
[ { "from": "human", "value": "Navigate the snake" }, { "from": "gpt", "value": "<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>" } ]
[ { "from": "human", "value": "Pause game" }, { "from": "gpt", "value": "<Space>" } ]
[ { "from": "human", "value": "Quit game" }, { "from": "gpt", "value": "<q>" } ]
[ { "from": "human", "value": "Show the high scores" }, { "from": "gpt", "value": "snake4 --highscores" } ]
[ { "from": "human", "value": "Create a `lost+found` directory in the current directory" }, { "from": "gpt", "value": "mklost+found" } ]
[ { "from": "human", "value": "Show the list of apps" }, { "from": "gpt", "value": "wofi --show drun" } ]
[ { "from": "human", "value": "Show the list of all commands" }, { "from": "gpt", "value": "wofi --show run" } ]
[ { "from": "human", "value": "Pipe a list of items to `stdin` and print the selected item to `stdout`" }, { "from": "gpt", "value": "printf \"Choice1\\nChoice2\\nChoice3\" | wofi --dmenu" } ]
[ { "from": "human", "value": "Command used by `qmigrate` during data migration from a VM to another host" }, { "from": "gpt", "value": "qm mtunnel" } ]
[ { "from": "human", "value": "Display an image" }, { "from": "gpt", "value": "cacaview path/to/image" } ]
[ { "from": "human", "value": "View jobs spawned by the current shell" }, { "from": "gpt", "value": "jobs" } ]
[ { "from": "human", "value": "List jobs and their process IDs" }, { "from": "gpt", "value": "jobs -l" } ]
[ { "from": "human", "value": "Display information about jobs with changed status" }, { "from": "gpt", "value": "jobs -n" } ]
[ { "from": "human", "value": "Display only process IDs" }, { "from": "gpt", "value": "jobs -p" } ]
[ { "from": "human", "value": "Display running processes" }, { "from": "gpt", "value": "jobs -r" } ]
[ { "from": "human", "value": "Display stopped processes" }, { "from": "gpt", "value": "jobs -s" } ]
[ { "from": "human", "value": "Continuously read barcodes and print them to `stdout`" }, { "from": "gpt", "value": "zbarcam" } ]
[ { "from": "human", "value": "Disable output video window while scanning" }, { "from": "gpt", "value": "zbarcam --nodisplay" } ]
[ { "from": "human", "value": "Print barcodes without type information" }, { "from": "gpt", "value": "zbarcam --raw" } ]
[ { "from": "human", "value": "Define capture device" }, { "from": "gpt", "value": "zbarcam /dev/video_device" } ]
[ { "from": "human", "value": "Create and install a package with default settings" }, { "from": "gpt", "value": "sudo checkinstall --default" } ]
[ { "from": "human", "value": "Create a package but don't install it" }, { "from": "gpt", "value": "sudo checkinstall --install=no" } ]
[ { "from": "human", "value": "Create a package without documentation" }, { "from": "gpt", "value": "sudo checkinstall --nodoc" } ]
[ { "from": "human", "value": "Create a package and set the name" }, { "from": "gpt", "value": "sudo checkinstall --pkgname package" } ]
[ { "from": "human", "value": "Create a package and specify where to save it" }, { "from": "gpt", "value": "sudo checkinstall --pakdir path/to/directory" } ]
[ { "from": "human", "value": "Walk the SNMP tree of host with public string querying all OIDs under `.1.3.6`" }, { "from": "gpt", "value": "braa public@ip:.1.3.6.*" } ]
[ { "from": "human", "value": "Query the whole subnet `ip_range` for `system.sysLocation.0`" }, { "from": "gpt", "value": "braa public@ip_range:.1.3.6.1.2.1.1.6.0" } ]
[ { "from": "human", "value": "Attempt to set the value of `system.sysLocation.0` to a specific workgroup" }, { "from": "gpt", "value": "braa private@ip:.1.3.6.1.2.1.1.6.0=s'workgroup'" } ]
[ { "from": "human", "value": "Enable a service to run on boot" }, { "from": "gpt", "value": "systemctl enable unit" } ]
[ { "from": "human", "value": "Enable a service to run on boot and start it now" }, { "from": "gpt", "value": "systemctl enable unit --now" } ]
[ { "from": "human", "value": "Print a cow easter egg" }, { "from": "gpt", "value": "apt moo" } ]
[ { "from": "human", "value": "Get a standard overview of your usual disks" }, { "from": "gpt", "value": "dysk" } ]
[ { "from": "human", "value": "Sort by free size" }, { "from": "gpt", "value": "dysk --sort free" } ]
[ { "from": "human", "value": "Include only HDD disks" }, { "from": "gpt", "value": "dysk --filter 'disk = HDD'" } ]
[ { "from": "human", "value": "Exclude SSD disks" }, { "from": "gpt", "value": "dysk --filter 'disk <> SSD'" } ]
[ { "from": "human", "value": "Display disks with high utilization or low free space" }, { "from": "gpt", "value": "dysk --filter 'use > 65% | free < 50G'" } ]
[ { "from": "human", "value": "Reduce a volume's size to 120 GB" }, { "from": "gpt", "value": "lvreduce --size 120G logical_volume" } ]
[ { "from": "human", "value": "Reduce a volume's size by 40 GB as well as the underlying filesystem" }, { "from": "gpt", "value": "lvreduce --size -40G -r logical_volume" } ]
[ { "from": "human", "value": "Create a fullscreen screenshot" }, { "from": "gpt", "value": "flameshot full" } ]
[ { "from": "human", "value": "Create a screenshot interactively" }, { "from": "gpt", "value": "flameshot gui" } ]
[ { "from": "human", "value": "Create a screenshot and save it to a specific path" }, { "from": "gpt", "value": "flameshot gui --path path/to/directory" } ]
[ { "from": "human", "value": "Create a screenshot interactively in a simplified mode" }, { "from": "gpt", "value": "flameshot launcher" } ]
[ { "from": "human", "value": "Create a screenshot from a specific monitor" }, { "from": "gpt", "value": "flameshot screen --number 2" } ]
[ { "from": "human", "value": "Create a screenshot and print it to `stdout`" }, { "from": "gpt", "value": "flameshot gui --raw" } ]
[ { "from": "human", "value": "Create a screenshot and copy it to the clipboard" }, { "from": "gpt", "value": "flameshot gui --clipboard" } ]
[ { "from": "human", "value": "Create a screenshot with a specific delay in milliseconds" }, { "from": "gpt", "value": "flameshot full --delay 5000" } ]
[ { "from": "human", "value": "Display ext2, ext3 and ext4 filesystem information" }, { "from": "gpt", "value": "dumpe2fs /dev/sdXN" } ]
[ { "from": "human", "value": "Display the blocks which are reserved as bad in the filesystem" }, { "from": "gpt", "value": "dumpe2fs -b /dev/sdXN" } ]
[ { "from": "human", "value": "Force display filesystem information even with unrecognizable feature flags" }, { "from": "gpt", "value": "dumpe2fs -f /dev/sdXN" } ]
[ { "from": "human", "value": "Only display the superblock information and not any of the block group descriptor detail information" }, { "from": "gpt", "value": "dumpe2fs -h /dev/sdXN" } ]
[ { "from": "human", "value": "Print the detailed group information block numbers in hexadecimal format" }, { "from": "gpt", "value": "dumpe2fs -x /dev/sdXN" } ]
[ { "from": "human", "value": "Update the list of available packages and slackbuilds" }, { "from": "gpt", "value": "spi --update" } ]
[ { "from": "human", "value": "Install a package or slackbuild" }, { "from": "gpt", "value": "spi --install package/slackbuild_name" } ]
[ { "from": "human", "value": "Upgrade all installed packages to the latest versions available" }, { "from": "gpt", "value": "spi --upgrade" } ]
[ { "from": "human", "value": "Locate packages or slackbuilds by package name or description" }, { "from": "gpt", "value": "spi search_terms" } ]
[ { "from": "human", "value": "Display information about a package or slackbuild" }, { "from": "gpt", "value": "spi --show package/slackbuild_name" } ]
[ { "from": "human", "value": "Purge the local package and slackbuild caches" }, { "from": "gpt", "value": "spi --clean" } ]