messages
listlengths
2
2
metadata
dict
[ { "role": "user", "content": "Use the watch command with a 1-second interval to run 'date' and continuously update the output." }, { "role": "assistant", "reasoning_content": "The user wants to repeatedly execute the 'date' command every second and see updated output. The 'watch' command is desi...
{ "id": "cmd-301", "category": "System Info", "example_output": "[Continuous date updates]", "man_reference": "https://man7.org/linux/man-pages/man1/watch.1.html", "original_description": "Runs 'date' every second, updating the output." }
[ { "role": "user", "content": "Measure the execution time of a given command." }, { "role": "assistant", "reasoning_content": "The user request is generic, and the command 'time' is used to measure execution time of any command. Since no specific command is provided in the input, the prompt is re...
{ "id": "cmd-302", "category": "Process", "example_output": "real 0m0.123s\nuser 0m0.100s\nsys 0m0.020s", "man_reference": "https://man7.org/linux/man-pages/man1/time.1.html", "original_description": "Measures the execution time of command." }
[ { "role": "user", "content": "Schedule commands to execute when the system load average drops below a certain threshold." }, { "role": "assistant", "reasoning_content": "The 'batch' command is specifically designed to schedule commands for execution when system load is low, as it queues jobs to ...
{ "id": "cmd-303", "category": "Process", "example_output": "job 2 at Wed May 21 11:02:00 2025", "man_reference": "https://man7.org/linux/man-pages/man1/batch.1.html", "original_description": "Schedules commands to run when system load is low." }
[ { "role": "user", "content": "Mark job 1 with disown -h to continue running after terminal exit." }, { "role": "assistant", "reasoning_content": "The disown command is used to remove jobs from the shell's job table, and the -h flag specifically prevents the shell from sending a SIGHUP signal to ...
{ "id": "cmd-304", "category": "Process", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/disown.1.html", "original_description": "Marks job 1 to continue running after terminal exit." }
[ { "role": "user", "content": "List all background jobs in the current shell session, including their process IDs (PIDs) using the -l option." }, { "role": "assistant", "reasoning_content": "The user wants to list background jobs with their PIDs. The 'jobs' command with the '-l' flag displays job...
{ "id": "cmd-305", "category": "Process", "example_output": "[1]+ 1234 Running command &", "man_reference": "https://man7.org/linux/man-pages/man1/jobs.1.html", "original_description": "Lists background jobs with PIDs." }
[ { "role": "user", "content": "Bring job 1 to the foreground." }, { "role": "assistant", "reasoning_content": "The command 'fg %1' is used to bring a specific background job (job 1) to the foreground in a shell session. The '%1' is a job specifier that refers to the job with ID 1. This matches th...
{ "id": "cmd-306", "category": "Process", "example_output": "[Resumes job in foreground]", "man_reference": "https://man7.org/linux/man-pages/man1/fg.1.html", "original_description": "Brings job 1 to the foreground." }
[ { "role": "user", "content": "Provide disk I/O statistics using the vmstat command with the -d option." }, { "role": "assistant", "reasoning_content": "The user request is for disk I/O statistics, and the vmstat command with the -d flag is specifically designed to report disk I/O activity, inclu...
{ "id": "cmd-307", "category": "System Info", "example_output": "disk reads merged reads sectors reads ms writes merged writes sectors writes ms io cur io s\nsda 1234 100 56789 1000 5678 200 123456 2000 0 0 0", "man_reference": "https://man7.org/linux/man-pages/man8/vmstat.8.html", "original_description": "Re...
[ { "role": "user", "content": "Display BIOS information using dmidecode with the bios type filter." }, { "role": "assistant", "reasoning_content": "The command 'dmidecode -t bios' is specifically designed to extract BIOS-related data from the system's DMI table. The '-t bios' option filters the o...
{ "id": "cmd-308", "category": "System Info", "example_output": "BIOS Information\nVendor: American Megatrends\nVersion: 1.0\nRelease Date: 05/21/2025", "man_reference": "https://man7.org/linux/man-pages/man8/dmidecode.8.html", "original_description": "Displays BIOS information." }
[ { "role": "user", "content": "Remove columns 1 through 5 from file.txt." }, { "role": "assistant", "reasoning_content": "The colrm command is designed to remove specified columns from each line of a file. By providing '1 5', it removes columns 1 through 5 inclusive. The input redirection '< file...
{ "id": "cmd-309", "category": "Viewing", "example_output": "[Text with columns 1-5 removed]", "man_reference": "https://man7.org/linux/man-pages/man1/colrm.1.html", "original_description": "Removes columns 1 through 5 from file.txt." }
[ { "role": "user", "content": "Convert tabs to spaces in the file file.txt." }, { "role": "assistant", "reasoning_content": "The 'expand' command is the standard Unix utility for converting tabs to spaces in a file, which matches the user's request. The category 'Viewing' indicates this is a read...
{ "id": "cmd-310", "category": "Viewing", "example_output": "[Text with tabs replaced by spaces]", "man_reference": "https://man7.org/linux/man-pages/man1/expand.1.html", "original_description": "Converts tabs to spaces in file.txt." }
[ { "role": "user", "content": "Convert spaces to tabs in the file file.txt." }, { "role": "assistant", "reasoning_content": "The command 'unexpand' is specifically designed to convert sequences of spaces into tabs, which matches the user's request. The file 'file.txt' is provided as the target. S...
{ "id": "cmd-311", "category": "Viewing", "example_output": "[Text with spaces replaced by tabs]", "man_reference": "https://man7.org/linux/man-pages/man1/unexpand.1.html", "original_description": "Converts spaces to tabs in file.txt." }
[ { "role": "user", "content": "Extract the first field (column) from the comma-separated file named file.csv." }, { "role": "assistant", "reasoning_content": "The user wants to extract the first field from a CSV file. The 'cut' command with '-d ',' specifies the delimiter as comma, and '-f 1' sel...
{ "id": "cmd-312", "category": "Viewing", "example_output": "field1\nfield2", "man_reference": "https://man7.org/linux/man-pages/man1/cut.1.html", "original_description": "Extracts the first field from comma-separated file.csv." }
[ { "role": "user", "content": "Read input from stdin and simultaneously write it to both file.txt and stdout." }, { "role": "assistant", "reasoning_content": "The tee command is designed to read from standard input and write to both standard output and one or more files. In this case, 'tee file.t...
{ "id": "cmd-313", "category": "File Management", "example_output": "[Input echoed to stdout and file.txt]", "man_reference": "https://man7.org/linux/man-pages/man1/tee.1.html", "original_description": "Reads from stdin and writes to file.txt and stdout." }
[ { "role": "user", "content": "Securely overwrite and delete file.txt using shred with the -u option." }, { "role": "assistant", "reasoning_content": "The shred command is designed to overwrite a file multiple times with patterns to prevent data recovery, and the -u flag ensures the file is remov...
{ "id": "cmd-314", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/shred.1.html", "original_description": "Overwrites and deletes file.txt securely." }
[ { "role": "user", "content": "Create a character device node named /dev/mynode with major number 1 and minor number 3." }, { "role": "assistant", "reasoning_content": "The mknod command is the standard tool for creating device files in Linux. The 'c' flag specifies a character device, and the nu...
{ "id": "cmd-315", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/mknod.1.html", "original_description": "Creates a character device node /dev/mynode with major 1, minor 3." }
[ { "role": "user", "content": "List processes that are currently accessing the file /var/log/syslog." }, { "role": "assistant", "reasoning_content": "The command 'fuser -v /var/log/syslog' is chosen because fuser identifies processes using files or sockets, and the -v flag provides verbose output...
{ "id": "cmd-316", "category": "Process", "example_output": "USER PID ACCESS COMMAND\n/var/log/syslog: root 1234 F.... rsyslogd", "man_reference": "https://man7.org/linux/man-pages/man1/fuser.1.html", "original_description": "Lists processes accessing /var/log/syslog." }
[ { "role": "user", "content": "Trace the library calls made by the process with PID 1234." }, { "role": "assistant", "reasoning_content": "The command ltrace with the -p flag is used to attach to a running process and trace its library calls. The PID 1234 is specified as the target process. This ...
{ "id": "cmd-317", "category": "Process", "example_output": "[Library call trace output]", "man_reference": "https://man7.org/linux/man-pages/man1/ltrace.1.html", "original_description": "Traces library calls made by the process with PID 1234." }
[ { "role": "user", "content": "Trace all system calls made by the process with PID 1234." }, { "role": "assistant", "reasoning_content": "The command strace with the -p option attaches to a running process and intercepts its system calls. PID 1234 is specified as the target, enabling real-time tr...
{ "id": "cmd-318", "category": "Process", "example_output": "[System call trace output]", "man_reference": "https://man7.org/linux/man-pages/man1/strace.1.html", "original_description": "Traces system calls made by the process with PID 1234." }
[ { "role": "user", "content": "Use mtr to combine ping and traceroute for monitoring network performance to google.com." }, { "role": "assistant", "reasoning_content": "The command 'mtr google.com' uses the mtr tool, which inherently combines the functionality of ping and traceroute to provide co...
{ "id": "cmd-319", "category": "Networking", "example_output": "Host Loss% Snt Last Avg Best Wrst StDev\n1. 192.168.1.1 0.0% 10 0.1 0.1 0.1 0.1 0.0", "man_reference": "https://man7.org/linux/man-pages/man8/mtr.8.html", "original_description": "Combines ping and traceroute to monitor network performance to goo...
[ { "role": "user", "content": "Perform a port scan on localhost to identify open ports." }, { "role": "assistant", "reasoning_content": "The user wants to scan for open ports on the local machine. Using nmap with the target 'localhost' is the standard tool for network discovery and security audit...
{ "id": "cmd-320", "category": "Networking", "example_output": "Nmap scan report for localhost (127.0.0.1)\nPORT STATE SERVICE\n22/tcp open ssh", "man_reference": "https://man7.org/linux/man-pages/man1/nmap.1.html", "original_description": "Scans open ports on localhost." }
[ { "role": "user", "content": "Perform a DNS lookup for google.com using the host command." }, { "role": "assistant", "reasoning_content": "The host command is a simple utility for performing DNS lookups, directly querying the DNS server for the given domain. It is commonly used to resolve hostna...
{ "id": "cmd-321", "category": "Networking", "example_output": "google.com has address 142.250.190.14", "man_reference": "https://man7.org/linux/man-pages/man1/host.1.html", "original_description": "Performs a DNS lookup for google.com." }
[ { "role": "user", "content": "Change the login shell for the user 'user' to /bin/zsh (zsh)." }, { "role": "assistant", "reasoning_content": "The command 'chsh' is the standard utility for changing a user's login shell. The '-s' flag specifies the new shell path, here '/bin/zsh', and the target u...
{ "id": "cmd-322", "category": "User Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/chsh.1.html", "original_description": "Changes the login shell for user to zsh." }
[ { "role": "user", "content": "Lists all group names for the user 'user'." }, { "role": "assistant", "reasoning_content": "The command 'id -Gn user' is used to display all group names associated with the specified user. The -G flag lists all group IDs, and the -n flag converts them to names, whic...
{ "id": "cmd-323", "category": "User Management", "example_output": "user sudo adm", "man_reference": "https://man7.org/linux/man-pages/man1/id.1.html", "original_description": "Lists all group names for user." }
[ { "role": "user", "content": "Display the passwd database entry for the user named 'user'." }, { "role": "assistant", "reasoning_content": "The command 'getent passwd user' directly retrieves the passwd entry for a specific user. Since the user request is generic, we incorporate the target 'user...
{ "id": "cmd-324", "category": "User Management", "example_output": "user:x:1000:1000:User Full Name:/home/user:/bin/bash", "man_reference": "https://man7.org/linux/man-pages/man1/getent.1.html", "original_description": "Displays passwd database entry for user." }
[ { "role": "user", "content": "Format the file file.txt for printing, suppressing any page headers and footers." }, { "role": "assistant", "reasoning_content": "The user wants to format a file for printing without headers or footers. The 'pr' command with the '-t' flag is appropriate because it f...
{ "id": "cmd-325", "category": "Viewing", "example_output": "[Formatted text output]", "man_reference": "https://man7.org/linux/man-pages/man1/pr.1.html", "original_description": "Formats file.txt for printing without headers or footers." }
[ { "role": "user", "content": "Use the fold command to wrap lines in file.txt to 80 characters." }, { "role": "assistant", "reasoning_content": "The user wants to wrap lines in a file to a specific width. The `fold` command with the `-w` option is the standard tool for this task, allowing precise...
{ "id": "cmd-326", "category": "Viewing", "example_output": "[Wrapped text output]", "man_reference": "https://man7.org/linux/man-pages/man1/fold.1.html", "original_description": "Wraps lines in file.txt to 80 characters." }
[ { "role": "user", "content": "Sorts the lines of file.txt alphabetically." }, { "role": "assistant", "reasoning_content": "The user request explicitly asks to sort lines alphabetically, which is the default behavior of the 'sort' command. No additional flags are needed because the default sort o...
{ "id": "cmd-327", "category": "Viewing", "example_output": "[Sorted text output]", "man_reference": "https://man7.org/linux/man-pages/man1/sort.1.html", "original_description": "Sorts the lines of file.txt alphabetically." }
[ { "role": "user", "content": "Remove duplicate consecutive lines from file.txt." }, { "role": "assistant", "reasoning_content": "The 'uniq' command is used to filter out duplicate consecutive lines from a file. Since no flags are specified, it performs the default action of removing duplicates. ...
{ "id": "cmd-328", "category": "Viewing", "example_output": "[Text with duplicates removed]", "man_reference": "https://man7.org/linux/man-pages/man1/uniq.1.html", "original_description": "Removes duplicate consecutive lines from file.txt." }
[ { "role": "user", "content": "Compare two sorted files, file1.txt and file2.txt, showing unique and common lines." }, { "role": "assistant", "reasoning_content": "The 'comm' command is designed to compare two sorted files line by line, outputting three columns: lines unique to the first file, li...
{ "id": "cmd-329", "category": "Viewing", "example_output": "[Columns: unique to file1, unique to file2, common]", "man_reference": "https://man7.org/linux/man-pages/man1/comm.1.html", "original_description": "Compares two sorted files, showing unique and common lines." }
[ { "role": "user", "content": "Show disk usage for ext4 filesystems only using the df command with the -t option." }, { "role": "assistant", "reasoning_content": "The user wants to see disk usage specifically for ext4 filesystems. The df command with the -t ext4 flag filters the output to only in...
{ "id": "cmd-330", "category": "System Info", "example_output": "Filesystem 1K-blocks Used Available Use% Mounted on\n/dev/sda1 104857600 52428800 52428800 50% /", "man_reference": "https://man7.org/linux/man-pages/man1/df.1.html", "original_description": "Shows disk usage for ext4 filesystems only." }
[ { "role": "user", "content": "Show memory usage statistics using the wide format." }, { "role": "assistant", "reasoning_content": "The user requested memory usage display with wide format. The 'free' command is the standard tool for showing memory usage on Linux, and the '-w' flag enables wide o...
{ "id": "cmd-331", "category": "System Info", "example_output": "total used free shared buffers cache available\nMem: 8192 4096 2048 512 1024 1024 4096", "man_reference": "https://man7.org/linux/man-pages/man1/free.1.html", "original_description": "Displays memory usage with wide format." }
[ { "role": "user", "content": "Displays CPU information for online CPUs in a parseable format." }, { "role": "assistant", "reasoning_content": "The lscpu command is the standard tool for retrieving CPU architecture details. The -b flag restricts the output to only online CPUs, which is commonly n...
{ "id": "cmd-332", "category": "System Info", "example_output": "Architecture:x86_64\nCPU(s):4", "man_reference": "https://man7.org/linux/man-pages/man1/lscpu.1.html", "original_description": "Displays CPU information in a parseable format." }
[ { "role": "user", "content": "Set the SELinux context type of /var/www to httpd_sys_content_t." }, { "role": "assistant", "reasoning_content": "The chcon command is used to change the SELinux security context of files. The -t flag specifies the new type, which in this case is httpd_sys_content_t...
{ "id": "cmd-333", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/chcon.1.html", "original_description": "Sets SELinux context for /var/www to httpd_sys_content_t." }
[ { "role": "user", "content": "Enable the SELinux boolean httpd_enable_homedirs persistently using setsebool with the -P option." }, { "role": "assistant", "reasoning_content": "The command setsebool -P httpd_enable_homedirs on is used to change the SELinux boolean value and make the change persi...
{ "id": "cmd-334", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man8/setsebool.8.html", "original_description": "Enables the SELinux boolean httpd_enable_homedirs persistently." }
[ { "role": "user", "content": "Remove the immutable attribute from the file named file.txt using the chattr command with the -i flag." }, { "role": "assistant", "reasoning_content": "The chattr command is used to change file attributes on Linux, and the -i flag specifically removes the immutable ...
{ "id": "cmd-335", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/chattr.1.html", "original_description": "Removes the immutable attribute from file.txt." }
[ { "role": "user", "content": "Install script.sh to /usr/local/bin with 755 permissions." }, { "role": "assistant", "reasoning_content": "The 'install' command is chosen because it combines copying and setting permissions in a single step, which is more efficient than using separate 'cp' and 'chm...
{ "id": "cmd-336", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/install.1.html", "original_description": "Copies script.sh to /usr/local/bin with 755 permissions." }
[ { "role": "user", "content": "Send ARP requests to 192.168.1.1 using arping to resolve its MAC address." }, { "role": "assistant", "reasoning_content": "The command 'arping 192.168.1.1' is the standard tool for sending ARP requests to a specific IP address to obtain its MAC address. The user req...
{ "id": "cmd-337", "category": "Networking", "example_output": "ARPING 192.168.1.1\n60 bytes from 00:14:22:01:23:45 (192.168.1.1): index=0 time=0.123 ms", "man_reference": "https://man7.org/linux/man-pages/man8/arping.8.html", "original_description": "Sends ARP requests to 192.168.1.1 to resolve MAC address."...
[ { "role": "user", "content": "Display the ARP table with neighbor entries." }, { "role": "assistant", "reasoning_content": "The 'ip neighbor show' command is the standard way to display the ARP table on Linux systems, showing IP-to-MAC address mappings. It is preferred over the older 'arp' comma...
{ "id": "cmd-338", "category": "Networking", "example_output": "192.168.1.1 dev eth0 lladdr 00:14:22:01:23:45 REACHABLE", "man_reference": "https://man7.org/linux/man-pages/man8/ip.8.html", "original_description": "Displays the ARP table with neighbor entries." }
[ { "role": "user", "content": "List all pending jobs scheduled with the at command." }, { "role": "assistant", "reasoning_content": "The user wants to see pending at jobs. The atq command is specifically designed to list the queue of at jobs. It is the standard tool for this task. Executing the t...
{ "id": "cmd-339", "category": "Process", "example_output": "1 Wed May 21 12:02:00 2025 a user", "man_reference": "https://man7.org/linux/man-pages/man1/atq.1.html", "original_description": "Lists pending jobs scheduled with at." }
[ { "role": "user", "content": "Resume job 1 in the background." }, { "role": "assistant", "reasoning_content": "The user wants to resume a specific job (job 1) in the background. The 'bg' command with '%1' targets that job directly, making it run in the background. Executing the tool.", "tool...
{ "id": "cmd-340", "category": "Process", "example_output": "[1]+ command &", "man_reference": "https://man7.org/linux/man-pages/man1/bg.1.html", "original_description": "Resumes job 1 in the background." }
[ { "role": "user", "content": "Open config.conf in Nano, starting at line 10." }, { "role": "assistant", "reasoning_content": "The command 'nano +10 config.conf' directly opens the specified file at line 10 using the +line flag. This matches the user's request to start editing at that line. Execu...
{ "id": "cmd-341", "category": "Editor", "example_output": "[Interactive editor interface]", "man_reference": "https://man7.org/linux/man-pages/man1/nano.1.html", "original_description": "Opens config.conf in Nano at line 10." }
[ { "role": "user", "content": "Open file.txt in Vim without loading any configuration files." }, { "role": "assistant", "reasoning_content": "The user wants to open file.txt in Vim with no configuration, so the -u NONE flag is used to prevent loading any vimrc files. This ensures a clean Vim sess...
{ "id": "cmd-342", "category": "Editor", "example_output": "[Interactive editor interface]", "man_reference": "https://man7.org/linux/man-pages/man1/vim.1.html", "original_description": "Opens file.txt in Vim without loading any configuration." }
[ { "role": "user", "content": "Execute script.el by running Emacs in batch mode using the --batch flag and loading the file with the -l option." }, { "role": "assistant", "reasoning_content": "The --batch flag runs Emacs without user interaction, ideal for script execution. The -l flag loads the ...
{ "id": "cmd-343", "category": "Editor", "example_output": "[Output of script.el]", "man_reference": "https://man7.org/linux/man-pages/man1/emacs.1.html", "original_description": "Runs Emacs in batch mode to execute script.el." }
[ { "role": "user", "content": "Count the number of words in the file file.txt." }, { "role": "assistant", "reasoning_content": "The wc command with the -w flag is the standard tool for counting words in a file. The user wants the word count of file.txt, so wc -w file.txt is appropriate. Executing...
{ "id": "cmd-344", "category": "Viewing", "example_output": "50 file.txt", "man_reference": "https://man7.org/linux/man-pages/man1/wc.1.html", "original_description": "Counts the number of words in file.txt." }
[ { "role": "user", "content": "Count the number of bytes in the file named file.txt." }, { "role": "assistant", "reasoning_content": "The command 'wc -c' is the standard tool to count bytes in a file, and the target file is explicitly given as 'file.txt'. The user request already mentions the fil...
{ "id": "cmd-345", "category": "Viewing", "example_output": "1024 file.txt", "man_reference": "https://man7.org/linux/man-pages/man1/wc.1.html", "original_description": "Counts the number of bytes in file.txt." }
[ { "role": "user", "content": "Merges lines of file1.txt and file2.txt side by side using the paste command." }, { "role": "assistant", "reasoning_content": "The paste command is specifically designed to merge lines from multiple files side-by-side, separated by tabs. The user request explicitly ...
{ "id": "cmd-346", "category": "Viewing", "example_output": "line1\tlineA\nline2\tlineB", "man_reference": "https://man7.org/linux/man-pages/man1/paste.1.html", "original_description": "Merges lines of file1.txt and file2.txt side by side." }
[ { "role": "user", "content": "Join lines of two sorted files, file1.txt and file2.txt, on a common field." }, { "role": "assistant", "reasoning_content": "The 'join' command is designed to merge lines from two sorted files based on a common field, defaulting to the first field. The user request ...
{ "id": "cmd-347", "category": "Viewing", "example_output": "1 field1 fieldA\n2 field2 fieldB", "man_reference": "https://man7.org/linux/man-pages/man1/join.1.html", "original_description": "Joins lines of two sorted files on a common field." }
[ { "role": "user", "content": "Use lsblk to list block devices, showing only the name, size, and type columns." }, { "role": "assistant", "reasoning_content": "The lsblk command is the standard tool for listing block devices in Linux. The -o flag allows specifying custom columns, and NAME, SIZE, ...
{ "id": "cmd-348", "category": "System Info", "example_output": "NAME SIZE TYPE\nsda 100G disk\n└─sda1 100G part", "man_reference": "https://man7.org/linux/man-pages/man8/lsblk.8.html", "original_description": "Lists block devices with name, size, and type columns." }
[ { "role": "user", "content": "Show a list of logged-in users with column headers." }, { "role": "assistant", "reasoning_content": "The 'who' command is the standard tool for listing currently logged-in users. The '-H' flag adds column headers to the output, making it more readable and directly f...
{ "id": "cmd-349", "category": "User Management", "example_output": "NAME LINE TIME HOST\nuser pts/0 2025-05-21 11:02 192.168.1.100", "man_reference": "https://man7.org/linux/man-pages/man1/who.1.html", "original_description": "Lists logged-in users with column headers." }
[ { "role": "user", "content": "Execute a command with a 10-second timeout using the 'timeout' command." }, { "role": "assistant", "reasoning_content": "The 'timeout' command is specifically designed to run a command with a time limit. The '10s' argument sets a 10-second timeout, which matches the...
{ "id": "cmd-350", "category": "Process", "example_output": "[Output of command or timeout error]", "man_reference": "https://man7.org/linux/man-pages/man1/timeout.1.html", "original_description": "Runs command with a 10-second timeout." }
[ { "role": "user", "content": "Use pushd +2 to rotate the directory stack, making the third entry (index 2) the current directory." }, { "role": "assistant", "reasoning_content": "The user wants to rotate the directory stack so that the third entry becomes the current directory. The pushd command...
{ "id": "cmd-351", "category": "Navigation", "example_output": "~/dir3 ~/dir1 ~/dir2", "man_reference": "https://man7.org/linux/man-pages/man1/pushd.1.html", "original_description": "Rotates the directory stack to make the third entry the current directory." }
[ { "role": "user", "content": "Clear the entire directory stack by running the dirs command with the -c option." }, { "role": "assistant", "reasoning_content": "The user wants to clear the directory stack, which is a list of recently visited directories. The dirs command with the -c flag is speci...
{ "id": "cmd-352", "category": "Navigation", "example_output": "[No output, stack cleared]", "man_reference": "https://man7.org/linux/man-pages/man1/dirs.1.html", "original_description": "Clears the directory stack." }
[ { "role": "user", "content": "Change to the physical directory that the symlink /path/to/symlink points to, using the -P option to resolve symlinks." }, { "role": "assistant", "reasoning_content": "The user wants to navigate to the actual directory behind a symlink, not the symlink itself. The c...
{ "id": "cmd-353", "category": "Navigation", "example_output": "[No output, changes directory]", "man_reference": "https://man7.org/linux/man-pages/man1/cd.1.html", "original_description": "Changes to the physical directory resolved from /path/to/symlink." }
[ { "role": "user", "content": "List all currently mounted ext4 filesystems along with their details." }, { "role": "assistant", "reasoning_content": "The command 'findmnt -t ext4' is chosen because findmnt is a modern and flexible tool for displaying mounted filesystems, and the -t option filters...
{ "id": "cmd-354", "category": "System Info", "example_output": "TARGET SOURCE FSTYPE OPTIONS\n/ /dev/sda1 ext4 rw,relatime", "man_reference": "https://man7.org/linux/man-pages/man8/findmnt.8.html", "original_description": "Lists mounted ext4 filesystems with details." }
[ { "role": "user", "content": "List all Linux namespaces currently active on the system, including PID, network, user, and others." }, { "role": "assistant", "reasoning_content": "The command 'lsns' is the standard tool for listing Linux namespaces. Since the user request is to list namespaces, t...
{ "id": "cmd-355", "category": "System Info", "example_output": "NS TYPE NPROCS PID USER COMMAND\n4026531835 cgroup 10 1 root systemd", "man_reference": "https://man7.org/linux/man-pages/man8/lsns.8.html", "original_description": "Lists Linux namespaces (e.g., PID, network, user)." }
[ { "role": "user", "content": "Show all kernel parameters and their current values." }, { "role": "assistant", "reasoning_content": "The user wants to display all kernel parameters and their values. The sysctl command with the -a flag is the standard way to list all kernel parameters and their cu...
{ "id": "cmd-356", "category": "System Info", "example_output": "kernel.pid_max = 32768\nnet.ipv4.ip_forward = 0", "man_reference": "https://man7.org/linux/man-pages/man8/sysctl.8.html", "original_description": "Displays all kernel parameters and their values." }
[ { "role": "user", "content": "List the current audit rules configured for system monitoring." }, { "role": "assistant", "reasoning_content": "The command 'auditctl -l' is used to list all current audit rules without any filtering. This directly fulfills the request to display the audit rules for...
{ "id": "cmd-357", "category": "System Info", "example_output": "-w /etc/passwd -p wa -k passwd_changes", "man_reference": "https://man7.org/linux/man-pages/man8/auditctl.8.html", "original_description": "Lists current audit rules for system monitoring." }
[ { "role": "user", "content": "Search audit logs for LOGIN events using ausearch." }, { "role": "assistant", "reasoning_content": "The command 'ausearch -m LOGIN' is the standard way to query the Linux audit system for login-related events. The -m flag specifies the event type, and LOGIN captures...
{ "id": "cmd-358", "category": "System Info", "example_output": "type=LOGIN msg=audit(1621617720.123:456): pid=1234 uid=0 auid=1000 ses=1", "man_reference": "https://man7.org/linux/man-pages/man8/ausearch.8.html", "original_description": "Searches audit logs for login-related events." }
[ { "role": "user", "content": "List all block devices along with their UUIDs and filesystem types using the blkid command with the list output format." }, { "role": "assistant", "reasoning_content": "The user wants to see block devices with UUIDs and filesystem types. The 'blkid' command is desig...
{ "id": "cmd-359", "category": "System Info", "example_output": "device fs_type label mount point UUID\n/dev/sda1 ext4 / 1234-5678-90ab-cdef", "man_reference": "https://man7.org/linux/man-pages/man8/blkid.8.html", "original_description": "Lists block devices with UUIDs and filesystem types." }
[ { "role": "user", "content": "Show I/O usage for processes, but only display active ones using iotop with the -o option." }, { "role": "assistant", "reasoning_content": "The user wants to see I/O usage by processes, focusing only on active ones. The iotop command with the -o flag (short for --on...
{ "id": "cmd-360", "category": "System Info", "example_output": "TID PRIO USER DISK READ DISK WRITE SWAPIN IO COMMAND\n1234 be/4 user 100.00 K/s 200.00 K/s 0.00 % nginx", "man_reference": "https://man7.org/linux/man-pages/man8/iotop.8.html", "original_description": "Displays I/O usage by processes, showing on...
[ { "role": "user", "content": "Recursively set ACL to grant user 'user' read and execute permissions on the directory /data." }, { "role": "assistant", "reasoning_content": "The command uses setfacl with -R for recursive application and -m to modify the ACL entry for user 'user' with read and exe...
{ "id": "cmd-361", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/setfacl.1.html", "original_description": "Recursively grants user read and execute permissions on /data using ACL." }
[ { "role": "user", "content": "Remove ACL entries for the user 'user' from the file 'file.txt'." }, { "role": "assistant", "reasoning_content": "The command uses setfacl with the -x flag to remove ACL entries for a specific user. The 'u:user' argument targets the user, and 'file.txt' is the file ...
{ "id": "cmd-362", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/setfacl.1.html", "original_description": "Removes ACL entries for user from file.txt." }
[ { "role": "user", "content": "Recursively change the SELinux type of all files and directories under /home/user to user_home_t." }, { "role": "assistant", "reasoning_content": "The command chcon is used to change SELinux security context, and the -R flag ensures the operation is applied recursiv...
{ "id": "cmd-363", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/chcon.1.html", "original_description": "Recursively sets SELinux context for /home/user to user_home_t." }
[ { "role": "user", "content": "List all SELinux user mappings." }, { "role": "assistant", "reasoning_content": "The 'semanage user -l' command is used to list SELinux user mappings. The -l flag specifies the list operation, which outputs all configured SELinux user mappings. This command provides...
{ "id": "cmd-364", "category": "Permissions", "example_output": "SELinux User MLS/MCS Range Service\nunconfined_u s0-s0:c0.c1023 *", "man_reference": "https://man7.org/linux/man-pages/man8/semanage.8.html", "original_description": "Lists SELinux user mappings." }
[ { "role": "user", "content": "Display the extended attributes for file.txt using getfattr with the -d option." }, { "role": "assistant", "reasoning_content": "The user wants to see extended attributes of a specific file. The getfattr command with the -d flag is the standard tool to dump all exte...
{ "id": "cmd-365", "category": "Permissions", "example_output": "security.selinux=\"system_u:object_r:user_home_t:s0\"", "man_reference": "https://man7.org/linux/man-pages/man1/getfattr.1.html", "original_description": "Displays extended attributes for file.txt." }
[ { "role": "user", "content": "Set the user-defined extended attribute 'user.comment' to 'Test' on the file named file.txt." }, { "role": "assistant", "reasoning_content": "The setfattr command is used to set extended attributes on files. The -n flag specifies the attribute name 'user.comment', t...
{ "id": "cmd-366", "category": "Permissions", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/setfattr.1.html", "original_description": "Sets a user-defined extended attribute 'user.comment' to 'Test' on file.txt." }
[ { "role": "user", "content": "Set the append-only attribute on file.txt using chattr with the +a flag, allowing only appending." }, { "role": "assistant", "reasoning_content": "The chattr command is used to change file attributes on Linux filesystems. The +a flag specifically sets the append-onl...
{ "id": "cmd-367", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/chattr.1.html", "original_description": "Sets the append-only attribute on file.txt, allowing only appending." }
[ { "role": "user", "content": "Use the dump command to back up the /dev/sda1 filesystem to a file named backup.tar." }, { "role": "assistant", "reasoning_content": "The dump command is specifically designed for backing up ext2/3/4 filesystems, making it suitable for /dev/sda1. The -f flag specifi...
{ "id": "cmd-368", "category": "File Management", "example_output": "DUMP: Date of this level 0 dump: Wed May 21 11:02:00 2025", "man_reference": "https://man7.org/linux/man-pages/man8/dump.8.html", "original_description": "Backs up the /dev/sda1 filesystem to backup.tar." }
[ { "role": "user", "content": "Restores the filesystem from backup.tar using the restore command with the -rf options." }, { "role": "assistant", "reasoning_content": "The restore command is used to extract files from a dump archive. The -r flag initiates the restore process, and -f specifies the...
{ "id": "cmd-369", "category": "File Management", "example_output": "restore: ./: restoring inode 1234", "man_reference": "https://man7.org/linux/man-pages/man8/restore.8.html", "original_description": "Restores the filesystem from backup.tar." }
[ { "role": "user", "content": "Use xfs_quota in expert mode to set a 1GB soft and 2GB hard disk quota for user on the /mnt mount point." }, { "role": "assistant", "reasoning_content": "The xfs_quota command is specifically designed for managing disk quotas on XFS filesystems. The -x flag enables ...
{ "id": "cmd-370", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man8/xfs_quota.8.html", "original_description": "Sets a 1GB soft and 2GB hard disk quota for user on /mnt." }
[ { "role": "user", "content": "Create a tar archive of /data named backup.tar, preserving ACLs and extended attributes." }, { "role": "assistant", "reasoning_content": "The command uses --acls and --xattrs to explicitly preserve ACLs and extended attributes, which matches the user's requirement. ...
{ "id": "cmd-371", "category": "File Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man1/tar.1.html", "original_description": "Creates a tar archive of /data, preserving ACLs and extended attributes." }
[ { "role": "user", "content": "Create a 100MB file named file.img filled with zeros using dd with block size 1M and count 100." }, { "role": "assistant", "reasoning_content": "The dd command with if=/dev/zero reads zeros and writes them to the output file. Using bs=1M sets the block size to 1 meg...
{ "id": "cmd-372", "category": "File Management", "example_output": "100+0 records in\n100+0 records out\n104857600 bytes copied", "man_reference": "https://man7.org/linux/man-pages/man1/dd.1.html", "original_description": "Creates a 100MB file.img filled with zeros." }
[ { "role": "user", "content": "Compare the two compressed files file1.gz and file2.gz without decompressing them." }, { "role": "assistant", "reasoning_content": "The zcmp command is specifically designed to compare compressed files without permanently decompressing them. It decompresses each fil...
{ "id": "cmd-373", "category": "Viewing", "example_output": "[No output if identical, diff-like output if different]", "man_reference": "https://man7.org/linux/man-pages/man1/zcmp.1.html", "original_description": "Compares two compressed files without decompressing." }
[ { "role": "user", "content": "Compare the two compressed files file1.gz and file2.gz and show their differences." }, { "role": "assistant", "reasoning_content": "The command zdiff is specifically designed to compare compressed files by decompressing them on the fly, making it the ideal tool for ...
{ "id": "cmd-374", "category": "Viewing", "example_output": "1c1\n< Line 1\n> Line A", "man_reference": "https://man7.org/linux/man-pages/man1/zdiff.1.html", "original_description": "Shows differences between two compressed files." }
[ { "role": "user", "content": "Convert the hexdump in hexdump.txt back to binary and save it as file.bin." }, { "role": "assistant", "reasoning_content": "The command uses xxd with -r (reverse) and -p (plain hexdump) to convert the hexdump file back to binary. This is the standard tool for such c...
{ "id": "cmd-375", "category": "Viewing", "example_output": "[No output, creates file.bin]", "man_reference": "https://man7.org/linux/man-pages/man1/xxd.1.html", "original_description": "Converts a hexdump in hexdump.txt back to binary file.bin." }
[ { "role": "user", "content": "Encode the file 'file.bin' to base64 and output the result to stdout." }, { "role": "assistant", "reasoning_content": "The command 'base64 file.bin' directly encodes the specified file to base64 and prints it to stdout, which matches the user's request exactly. No a...
{ "id": "cmd-376", "category": "Viewing", "example_output": "SGVsbG8K", "man_reference": "https://man7.org/linux/man-pages/man1/base64.1.html", "original_description": "Encodes file.bin to base64 and outputs to stdout." }
[ { "role": "user", "content": "Decode the base64 content from the file 'encoded.txt' and output the decoded data to stdout." }, { "role": "assistant", "reasoning_content": "The command 'base64 -d encoded.txt' is used because base64 is the standard tool for encoding/decoding base64 data, and the '...
{ "id": "cmd-377", "category": "Viewing", "example_output": "[Decoded binary or text]", "man_reference": "https://man7.org/linux/man-pages/man1/base64.1.html", "original_description": "Decodes base64 content from encoded.txt to stdout." }
[ { "role": "user", "content": "Dump the contents of file.bin in hexadecimal format, grouping 4 bytes per group." }, { "role": "assistant", "reasoning_content": "The user request specifies dumping file.bin in hexadecimal format with 4 bytes per group. The command 'od -t x4 file.bin' uses the od ut...
{ "id": "cmd-378", "category": "Viewing", "example_output": "0000000 6c6c6548 00000a6f\n0000010", "man_reference": "https://man7.org/linux/man-pages/man1/od.1.html", "original_description": "Dumps file.bin in hexadecimal format, 4 bytes per group." }
[ { "role": "user", "content": "Use zmore to view the compressed logfile.gz with pagination, similar to more." }, { "role": "assistant", "reasoning_content": "The command zmore is specifically designed to view compressed files with pagination, similar to more. It decompresses on the fly and displa...
{ "id": "cmd-379", "category": "Viewing", "example_output": "[Interactive display of compressed file]", "man_reference": "https://man7.org/linux/man-pages/man1/zmore.1.html", "original_description": "Views compressed logfile.gz with pagination, similar to more." }
[ { "role": "user", "content": "Use tcpdump to capture HTTP traffic on port 80 via the eth0 interface." }, { "role": "assistant", "reasoning_content": "The command 'tcpdump -i eth0 port 80' is chosen because tcpdump is a standard packet analyzer for capturing network traffic. The '-i eth0' flag sp...
{ "id": "cmd-380", "category": "Networking", "example_output": "11:02:00.123456 IP 192.168.1.100.12345 > 93.184.216.34.80: tcp 0", "man_reference": "https://man7.org/linux/man-pages/man8/tcpdump.8.html", "original_description": "Captures HTTP traffic on port 80 via eth0." }
[ { "role": "user", "content": "Show all currently active nftables firewall rules by listing the entire ruleset." }, { "role": "assistant", "reasoning_content": "The 'nft list ruleset' command is the standard way to display all active nftables rules in a human-readable format. It directly fulfills...
{ "id": "cmd-381", "category": "Networking", "example_output": "table inet filter {\nchain input {\ntype filter hook input priority 0; policy accept;\n}\n}", "man_reference": "https://man7.org/linux/man-pages/man8/nft.8.html", "original_description": "Displays all active nftables firewall rules." }
[ { "role": "user", "content": "Monitor network traffic on the eth0 interface interactively using iptraf-ng." }, { "role": "assistant", "reasoning_content": "The command iptraf-ng -i eth0 is chosen because iptraf-ng is a dedicated interactive network monitoring tool that provides real-time traffic...
{ "id": "cmd-382", "category": "Networking", "example_output": "[Interactive traffic monitor interface]", "man_reference": "https://man7.org/linux/man-pages/man8/iptraf-ng.8.html", "original_description": "Monitors network traffic on eth0 interactively." }
[ { "role": "user", "content": "Use hping3 with the SYN flag (-S) to send TCP SYN packets to 192.168.1.1 for network probing." }, { "role": "assistant", "reasoning_content": "The command hping3 -S is specifically designed to send TCP SYN packets, which is the standard method for network probing an...
{ "id": "cmd-383", "category": "Networking", "example_output": "Hping 192.168.1.1: 64 bytes from 192.168.1.1: flags=SA seq=0 ttl=64", "man_reference": "https://man7.org/linux/man-pages/man8/hping3.8.html", "original_description": "Sends TCP SYN packets to 192.168.1.1 for network probing." }
[ { "role": "user", "content": "Use netcat to scan port 22 on 192.168.1.1 and check for connectivity." }, { "role": "assistant", "reasoning_content": "The netcat command with the -z flag performs a zero-I/O scan, which checks if the port is open without sending data, and the -v flag enables verbos...
{ "id": "cmd-384", "category": "Networking", "example_output": "192.168.1.1 22 (ssh) open", "man_reference": "https://man7.org/linux/man-pages/man1/nc.1.html", "original_description": "Scans port 22 on 192.168.1.1 for connectivity." }
[ { "role": "user", "content": "Create an IP set named myset using the hash:ip type for firewall rules." }, { "role": "assistant", "reasoning_content": "The command 'ipset create myset hash:ip' directly fulfills the request to create an IP set with the specified name and type. The hash:ip type is ...
{ "id": "cmd-385", "category": "Networking", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man8/ipset.8.html", "original_description": "Creates an IP set named myset for firewall rules." }
[ { "role": "user", "content": "Capture 10 packets on the eth0 interface using tshark, Wireshark's terminal interface." }, { "role": "assistant", "reasoning_content": "The command 'tshark -i eth0 -c 10' directly corresponds to the user's request: tshark is the terminal interface for Wireshark, '-i...
{ "id": "cmd-386", "category": "Networking", "example_output": "1 0.000000 192.168.1.100 → 8.8.8.8 ICMP Echo (ping) request", "man_reference": "https://man7.org/linux/man-pages/man1/tshark.1.html", "original_description": "Captures 10 packets on eth0 using Wireshark's terminal interface." }
[ { "role": "user", "content": "Generate one secure 16-character random password using pwgen with the -s option." }, { "role": "assistant", "reasoning_content": "The command pwgen -s 16 1 is chosen because pwgen is a standard password generator, the -s flag ensures secure passwords without ambiguo...
{ "id": "cmd-387", "category": "User Management", "example_output": "X7pL9qW3zT2mY8nR", "man_reference": "https://man7.org/linux/man-pages/man1/pwgen.1.html", "original_description": "Generates one secure 16-character random password." }
[ { "role": "user", "content": "Create a new group called 'newgroup' and assign it the GID 2000." }, { "role": "assistant", "reasoning_content": "The command 'addgroup --gid 2000 newgroup' directly fulfills the request to create a group with a specific GID. The --gid flag sets the group ID to 2000...
{ "id": "cmd-388", "category": "User Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man8/addgroup.8.html", "original_description": "Creates a group named newgroup with GID 2000." }
[ { "role": "user", "content": "Set the account expiration date for user 'user' to December 31, 2025." }, { "role": "assistant", "reasoning_content": "The command 'usermod -e 2025-12-31 user' directly modifies the user account expiration date using the -e flag, which accepts a date in YYYY-MM-DD f...
{ "id": "cmd-389", "category": "User Management", "example_output": "[No output if successful]", "man_reference": "https://man7.org/linux/man-pages/man8/usermod.8.html", "original_description": "Sets the account expiration date for user to Dec 31, 2025." }
[ { "role": "user", "content": "Show the last login details for every user on the system." }, { "role": "assistant", "reasoning_content": "The 'lastlog' command reads the /var/log/lastlog file to display the most recent login time for each user. It is the standard tool for this task, requiring no ...
{ "id": "cmd-390", "category": "User Management", "example_output": "Username Port From Latest\nuser pts/0 192.168.1.100 Wed May 21 11:02:00 2025", "man_reference": "https://man7.org/linux/man-pages/man8/lastlog.8.html", "original_description": "Displays last login information for all users." }
[ { "role": "user", "content": "Display failed login attempts for user 'user'." }, { "role": "assistant", "reasoning_content": "The user request is generic, but the command specifies a particular username 'user' using the faillog tool with the -u flag. This tool is designed to show failed login at...
{ "id": "cmd-391", "category": "User Management", "example_output": "Username Failures Maximum Latest\nuser 2 5 Wed May 21 11:02:00 2025 on pts/0", "man_reference": "https://man7.org/linux/man-pages/man8/faillog.8.html", "original_description": "Displays failed login attempts for user." }
[ { "role": "user", "content": "List the cron jobs for the user 'user'." }, { "role": "assistant", "reasoning_content": "The crontab command with the -u flag specifies the target user, and the -l flag lists the cron jobs for that user. This directly fulfills the request to list cron jobs for a spe...
{ "id": "cmd-392", "category": "Process", "example_output": "* * * * * /script.sh", "man_reference": "https://man7.org/linux/man-pages/man1/crontab.1.html", "original_description": "Lists cron jobs for user." }
[ { "role": "user", "content": "Show the status of the nginx service." }, { "role": "assistant", "reasoning_content": "The command 'systemctl status nginx' is the standard systemd command to check the status of a service. It provides detailed information about the service's current state, includin...
{ "id": "cmd-393", "category": "Process", "example_output": "● nginx.service - A high performance web server\nActive: active (running) since Wed 2025-05-21 11:02:00", "man_reference": "https://man7.org/linux/man-pages/man1/systemctl.1.html", "original_description": "Shows the status of the nginx service." }
[ { "role": "user", "content": "Use pidstat with the -w flag to report task switching activity every second for 3 iterations." }, { "role": "assistant", "reasoning_content": "The command pidstat -w 1 3 is chosen because pidstat is a tool for monitoring individual tasks, and the -w flag specificall...
{ "id": "cmd-394", "category": "Process", "example_output": "11:02:00 PID cswch/s nvcswch/s Command\n11:02:01 1234 10.00 5.00 nginx", "man_reference": "https://man7.org/linux/man-pages/man1/pidstat.1.html", "original_description": "Reports task switching activity every second for 3 iterations." }
[ { "role": "user", "content": "List all control groups currently configured on the system." }, { "role": "assistant", "reasoning_content": "The user wants to list control groups, and the command 'lscgroup' is the standard tool for this purpose. Since no specific options or targets are provided, t...
{ "id": "cmd-395", "category": "Process", "example_output": "cpu,cpuacct:/user.slice/user-1000.slice/session-1.scope", "man_reference": "https://man7.org/linux/man-pages/man1/lscgroup.1.html", "original_description": "Lists control groups in the system." }
[ { "role": "user", "content": "Execute a command with idle I/O priority by using ionice -c3." }, { "role": "assistant", "reasoning_content": "The user request is to run a command with idle I/O priority. The 'ionice' command is the standard Linux tool for setting I/O scheduling class and priority,...
{ "id": "cmd-396", "category": "Process", "example_output": "[Output depends on command]", "man_reference": "https://man7.org/linux/man-pages/man1/ionice.1.html", "original_description": "Runs command with idle I/O priority." }
[ { "role": "user", "content": "Bind process with PID 1234 to CPU cores 0 through 3." }, { "role": "assistant", "reasoning_content": "The taskset command is used to set or retrieve CPU affinity for a process. The -c flag specifies a CPU list, and -p indicates that the argument is a PID. This combi...
{ "id": "cmd-397", "category": "Process", "example_output": "pid 1234's current affinity list: 0-7\npid 1234's new affinity list: 0-3", "man_reference": "https://man7.org/linux/man-pages/man1/taskset.1.html", "original_description": "Binds process with PID 1234 to CPUs 0-3." }
[ { "role": "user", "content": "Display system logs since the last boot using journalctl with the -b flag." }, { "role": "assistant", "reasoning_content": "The command journalctl -b is the standard tool for viewing systemd journal logs from the current boot. The -b flag restricts output to message...
{ "id": "cmd-398", "category": "System Info", "example_output": "May 21 11:02:00 host systemd[1]: Started Session 1 of user user.", "man_reference": "https://man7.org/linux/man-pages/man8/journalctl.8.html", "original_description": "Displays system logs since the last boot." }
[ { "role": "user", "content": "Display partition tables for all disks." }, { "role": "assistant", "reasoning_content": "The 'parted -l' command is the standard way to list partition tables for all disks in Linux. It displays partition information for each block device. Executing the tool.", "...
{ "id": "cmd-399", "category": "System Info", "example_output": "Model: ATA ST1000DM003 (scsi)\nDisk /dev/sda: 1000GB\nPartition Table: gpt\nNumber Start End Size File system Name Flags\n1 1049kB 1000GB 1000GB ext4 primary", "man_reference": "https://man7.org/linux/man-pages/man8/parted.8.html", "original_des...
[ { "role": "user", "content": "Find which package provides the file /usr/bin/nginx on Debian-based systems." }, { "role": "assistant", "reasoning_content": "The command 'apt-file search /usr/bin/nginx' is used because apt-file is the standard tool on Debian-based systems to determine which instal...
{ "id": "cmd-400", "category": "Package Management", "example_output": "nginx: /usr/bin/nginx", "man_reference": "https://man7.org/linux/man-pages/man1/apt-file.1.html", "original_description": "Finds which package provides /usr/bin/nginx on Debian-based systems." }