conversations
listlengths
2
2
[ { "from": "human", "value": "List all installed packages" }, { "from": "gpt", "value": "equery list '*'" } ]
[ { "from": "human", "value": "Search for installed packages in the Portage tree and in overlays" }, { "from": "gpt", "value": "equery list -po package1 package2 ..." } ]
[ { "from": "human", "value": "List all packages that depend on a given package" }, { "from": "gpt", "value": "equery depends package" } ]
[ { "from": "human", "value": "List all packages that a given package depends on" }, { "from": "gpt", "value": "equery depgraph package" } ]
[ { "from": "human", "value": "List all files installed by a package" }, { "from": "gpt", "value": "equery files --tree package" } ]
[ { "from": "human", "value": "Launch the GNOME Calculator GUI" }, { "from": "gpt", "value": "gnome-calculator" } ]
[ { "from": "human", "value": "Solve the specified equation without launching the desktop application" }, { "from": "gpt", "value": "gnome-calculator --solve 2^5 * 2 + 5" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "gnome-calculator --version" } ]
[ { "from": "human", "value": "Open the current user home directory" }, { "from": "gpt", "value": "caja" } ]
[ { "from": "human", "value": "Open specific directories in separate windows" }, { "from": "gpt", "value": "caja path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Open specific directories in tabs" }, { "from": "gpt", "value": "caja --tabs path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Open a directory with a specific window size" }, { "from": "gpt", "value": "caja --geometry=600x400 path/to/directory" } ]
[ { "from": "human", "value": "Close all windows" }, { "from": "gpt", "value": "caja --quit" } ]
[ { "from": "human", "value": "Compile and install terminfo for a terminal" }, { "from": "gpt", "value": "tic -xe terminal path/to/terminal.info" } ]
[ { "from": "human", "value": "Check terminfo file for errors" }, { "from": "gpt", "value": "tic -c path/to/terminal.info" } ]
[ { "from": "human", "value": "Print database locations" }, { "from": "gpt", "value": "tic -D" } ]
[ { "from": "human", "value": "Repair a partition" }, { "from": "gpt", "value": "sudo xfs_repair path/to/partition" } ]
[ { "from": "human", "value": "Set name of attribute for file" }, { "from": "gpt", "value": "setfattr -n user.attribute_name path/to/file" } ]
[ { "from": "human", "value": "Set a user-defined value of an extended attribute on a file" }, { "from": "gpt", "value": "setfattr -n user.attribute_name -v \"value\" path/to/file" } ]
[ { "from": "human", "value": "Remove a specific attribute of a file" }, { "from": "gpt", "value": "setfattr -x user.attribute_name path/to/file" } ]
[ { "from": "human", "value": "Start a console in a container" }, { "from": "gpt", "value": "agetty [-L|--local-line] 38400 tty1" } ]
[ { "from": "human", "value": "Connect to an lxc console" }, { "from": "gpt", "value": "sudo lxc-console container_name" } ]
[ { "from": "human", "value": "Exit `lxc-console`" }, { "from": "gpt", "value": "<Ctrl a><q>" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lxc-console [-?|--help]" } ]
[ { "from": "human", "value": "Display power and battery information" }, { "from": "gpt", "value": "upower [-d|--dump]" } ]
[ { "from": "human", "value": "List all power devices" }, { "from": "gpt", "value": "upower [-e|--enumerate]" } ]
[ { "from": "human", "value": "Watch for and print power status changes" }, { "from": "gpt", "value": "upower [-m|--monitor]" } ]
[ { "from": "human", "value": "Watch for and print detailed power status changes" }, { "from": "gpt", "value": "upower --monitor-detail" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "upower [-v|--version]" } ]
[ { "from": "human", "value": "Create a logical volume of 10 gigabytes in the volume group vg1" }, { "from": "gpt", "value": "lvcreate -L 10G vg1" } ]
[ { "from": "human", "value": "Create a 1500 megabyte linear logical volume named mylv in the volume group vg1" }, { "from": "gpt", "value": "lvcreate -L 1500 -n mylv vg1" } ]
[ { "from": "human", "value": "Create a logical volume called mylv that uses 60% of the total space in volume group vg1" }, { "from": "gpt", "value": "lvcreate -l 60%VG -n mylv vg1" } ]
[ { "from": "human", "value": "Create a logical volume called mylv that uses all the unallocated space in the volume group vg1" }, { "from": "gpt", "value": "lvcreate -l 100%FREE -n mylv vg1" } ]
[ { "from": "human", "value": "Generate a `Makefile` from a project file in the current directory" }, { "from": "gpt", "value": "qmake" } ]
[ { "from": "human", "value": "Specify `Makefile` and project file locations" }, { "from": "gpt", "value": "qmake -o path/to/Makefile path/to/project_file.pro" } ]
[ { "from": "human", "value": "Generate a default project file" }, { "from": "gpt", "value": "qmake -project" } ]
[ { "from": "human", "value": "Compile a project" }, { "from": "gpt", "value": "qmake && make" } ]
[ { "from": "human", "value": "Enable debug mode" }, { "from": "gpt", "value": "qmake -d" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "qmake -help" } ]
[ { "from": "human", "value": "Display the filename and line number of the source code from an instruction address of an executable" }, { "from": "gpt", "value": "addr2line --exe=path/to/executable address" } ]
[ { "from": "human", "value": "Display the function name, filename and line number" }, { "from": "gpt", "value": "addr2line --exe=path/to/executable --functions address" } ]
[ { "from": "human", "value": "Demangle the function name for C++ code" }, { "from": "gpt", "value": "addr2line --exe=path/to/executable --functions --demangle address" } ]
[ { "from": "human", "value": "Ignore updates for a specific flatpak" }, { "from": "gpt", "value": "flatpak mask com.example.app" } ]
[ { "from": "human", "value": "Undo ignore updates" }, { "from": "gpt", "value": "flatpak mask --remove com.example.app" } ]
[ { "from": "human", "value": "List all currently masked patterns" }, { "from": "gpt", "value": "flatpak mask --system|--user" } ]
[ { "from": "human", "value": "List available objects" }, { "from": "gpt", "value": "ubus list" } ]
[ { "from": "human", "value": "Retrieve system information in JSON format" }, { "from": "gpt", "value": "ubus call system board" } ]
[ { "from": "human", "value": "Listen to events" }, { "from": "gpt", "value": "ubus subscribe event_name" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "ubus" } ]
[ { "from": "human", "value": "Display the routing policy" }, { "from": "gpt", "value": "ip [ru|rule]" } ]
[ { "from": "human", "value": "Create a new generic routing rule with a higher priority than `main`" }, { "from": "gpt", "value": "sudo ip [ru|rule] [a|add] from all lookup 100" } ]
[ { "from": "human", "value": "Add a new rule based on packet source addresses" }, { "from": "gpt", "value": "sudo ip [ru|rule] [a|add] from 192.168.178.2/32" } ]
[ { "from": "human", "value": "Add a new rule based on packet destination addresses" }, { "from": "gpt", "value": "sudo ip [ru|rule] [a|add] to 192.168.178.2/32" } ]
[ { "from": "human", "value": "Delete a rule based on packet source addresses" }, { "from": "gpt", "value": "sudo ip [ru|rule] [d|delete] from 192.168.178.2/32" } ]
[ { "from": "human", "value": "Remove all routing rules" }, { "from": "gpt", "value": "sudo ip [ru|rule] [f|flush]" } ]
[ { "from": "human", "value": "Save all rules to a file" }, { "from": "gpt", "value": "ip [ru|rule] [s|save] > path/to/ip_rules.dat" } ]
[ { "from": "human", "value": "Restore all rules from a file" }, { "from": "gpt", "value": "sudo ip [ru|rule] [r|restore] < path/to/ip_rules.dat" } ]
[ { "from": "human", "value": "Display the status of the indexer" }, { "from": "gpt", "value": "balooctl status" } ]
[ { "from": "human", "value": "Enable/Disable the file indexer" }, { "from": "gpt", "value": "balooctl enable|disable" } ]
[ { "from": "human", "value": "Clean the index database" }, { "from": "gpt", "value": "balooctl purge" } ]
[ { "from": "human", "value": "Suspend the file indexer" }, { "from": "gpt", "value": "balooctl suspend" } ]
[ { "from": "human", "value": "Resume the file indexer" }, { "from": "gpt", "value": "balooctl resume" } ]
[ { "from": "human", "value": "Display the disk space used by Baloo" }, { "from": "gpt", "value": "balooctl indexSize" } ]
[ { "from": "human", "value": "Check for any unindexed files and index them" }, { "from": "gpt", "value": "balooctl check" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "balooctl --help" } ]
[ { "from": "human", "value": "List all containers (running and stopped)" }, { "from": "gpt", "value": "ctr containers list" } ]
[ { "from": "human", "value": "List all images" }, { "from": "gpt", "value": "ctr images list" } ]
[ { "from": "human", "value": "Pull an image" }, { "from": "gpt", "value": "ctr images pull image" } ]
[ { "from": "human", "value": "Tag an image" }, { "from": "gpt", "value": "ctr images tag source_image:source_tag target_image:target_tag" } ]
[ { "from": "human", "value": "Open a new terminal window" }, { "from": "gpt", "value": "xfce4-terminal" } ]
[ { "from": "human", "value": "Set the initial title" }, { "from": "gpt", "value": "xfce4-terminal --initial-title \"initial_title\"" } ]
[ { "from": "human", "value": "Open a new tab in the current terminal window" }, { "from": "gpt", "value": "xfce4-terminal --tab" } ]
[ { "from": "human", "value": "Execute a command in a new terminal window" }, { "from": "gpt", "value": "xfce4-terminal --command \"command_with_args\"" } ]
[ { "from": "human", "value": "Keep the terminal around after the executed command finishes executing" }, { "from": "gpt", "value": "xfce4-terminal --command \"command_with_args\" --hold" } ]
[ { "from": "human", "value": "Open multiple new tabs, executing a command in each" }, { "from": "gpt", "value": "xfce4-terminal --tab --command \"command1\" --tab --command \"command2\"" } ]
[ { "from": "human", "value": "Create an F2FS filesystem inside partition 1 on device b (`sdb1`)" }, { "from": "gpt", "value": "sudo mkfs.f2fs /dev/sdb1" } ]
[ { "from": "human", "value": "Create an F2FS filesystem with a volume label" }, { "from": "gpt", "value": "sudo mkfs.f2fs -l volume_label /dev/sdb1" } ]
[ { "from": "human", "value": "Reboot the system" }, { "from": "gpt", "value": "reboot" } ]
[ { "from": "human", "value": "Power off the system (same as `poweroff`)" }, { "from": "gpt", "value": "reboot [-p|--poweroff]" } ]
[ { "from": "human", "value": "Halt (terminates all processes and shuts down the CPU) the system (same as `halt`)" }, { "from": "gpt", "value": "reboot --halt" } ]
[ { "from": "human", "value": "Reboot immediately without contacting the system manager" }, { "from": "gpt", "value": "reboot [-f|--force]" } ]
[ { "from": "human", "value": "Write the wtmp shutdown entry without rebooting the system" }, { "from": "gpt", "value": "reboot [-w|--wtmp-only]" } ]
[ { "from": "human", "value": "Create a `bcachefs` filesystem inside partition 1 on a device (`X`)" }, { "from": "gpt", "value": "sudo mkfs.bcachefs /dev/sdX1" } ]
[ { "from": "human", "value": "Create a `bcachefs` filesystem with a volume label" }, { "from": "gpt", "value": "sudo mkfs.bcachefs [-L|--fs_label] volume_label /dev/sdX1" } ]
[ { "from": "human", "value": "View the current security context of a file or directory" }, { "from": "gpt", "value": "ls -dlZ path/to/file_or_directory" } ]
[ { "from": "human", "value": "Restore the security context of a file or directory" }, { "from": "gpt", "value": "restorecon path/to/file_or_directory" } ]
[ { "from": "human", "value": "Restore the security context of a directory recursively, and show all changed labels" }, { "from": "gpt", "value": "restorecon -R -v path/to/directory" } ]
[ { "from": "human", "value": "Restore the security context of a directory recursively, using all available threads, and show progress" }, { "from": "gpt", "value": "restorecon -R -T 0 -p path/to/directory" } ]
[ { "from": "human", "value": "Preview the label changes that would happen without applying them" }, { "from": "gpt", "value": "restorecon -R -n -v path/to/directory" } ]
[ { "from": "human", "value": "Open the current user home directory" }, { "from": "gpt", "value": "nemo" } ]
[ { "from": "human", "value": "Open specific directories in separate windows" }, { "from": "gpt", "value": "nemo path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Open specific directories in tabs" }, { "from": "gpt", "value": "nemo --tabs path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Open a directory with a specific window size" }, { "from": "gpt", "value": "nemo --geometry=600x400 path/to/directory" } ]
[ { "from": "human", "value": "Close all windows" }, { "from": "gpt", "value": "nemo --quit" } ]
[ { "from": "human", "value": "Start `ntpq` in interactive mode" }, { "from": "gpt", "value": "ntpq --interactive" } ]
[ { "from": "human", "value": "Print a list of NTP peers" }, { "from": "gpt", "value": "ntpq --peers" } ]
[ { "from": "human", "value": "Print a list of NTP peers without resolving hostnames from IP addresses" }, { "from": "gpt", "value": "ntpq --numeric --peers" } ]
[ { "from": "human", "value": "Use `ntpq` in debugging mode" }, { "from": "gpt", "value": "ntpq --debug-level" } ]
[ { "from": "human", "value": "Print NTP system variables values" }, { "from": "gpt", "value": "ntpq --command=rv" } ]
[ { "from": "human", "value": "Define two virtual desktops" }, { "from": "gpt", "value": "bspc monitor --reset-desktops desktop_name1 desktop_name2" } ]