question
stringlengths
23
58
answer
stringlengths
21
55
input_ids
sequencelengths
13
31
attention_mask
sequencelengths
13
31
labels
sequencelengths
13
31
How do you print the current working directory?
Use the command 'pwd'.
[ 2347, 513, 368, 3379, 253, 1655, 2444, 9617, 32, 11244, 253, 3923, 686, 81, 14066, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3379, 253, 1655, 2444, 9617, 32, 11244, 253, 3923, 686, 81, 14066, 5983 ]
How do you display the first 10 lines of a file?
Use the command 'head -n 10 <file>'.
[ 2347, 513, 368, 3148, 253, 806, 884, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 2522, 428, 79, 884, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 806, 884, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 2522, 428, 79, 884, 654, 3140, 31, 5983 ]
How do you list all files in a directory?
Use the command 'ls'.
[ 2347, 513, 368, 1618, 512, 4367, 275, 247, 9617, 32, 11244, 253, 3923, 686, 5200, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1618, 512, 4367, 275, 247, 9617, 32, 11244, 253, 3923, 686, 5200, 5983 ]
How do you move or rename a file?
Use the command 'mv <source> <destination>'.
[ 2347, 513, 368, 2118, 390, 41838, 247, 1873, 32, 11244, 253, 3923, 686, 36386, 654, 6756, 31, 654, 41011, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 2118, 390, 41838, 247, 1873, 32, 11244, 253, 3923, 686, 36386, 654, 6756, 31, 654, 41011, 31, 5983 ]
How do you display running processes in real-time?
Use the command 'top'.
[ 2347, 513, 368, 3148, 3515, 4870, 275, 1524, 14, 2606, 32, 11244, 253, 3923, 686, 3956, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 3515, 4870, 275, 1524, 14, 2606, 32, 11244, 253, 3923, 686, 3956, 5983 ]
How do you list installed packages?
Use the command 'dpkg -l'.
[ 2347, 513, 368, 1618, 8038, 12149, 32, 11244, 253, 3923, 686, 12132, 5840, 428, 77, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1618, 8038, 12149, 32, 11244, 253, 3923, 686, 12132, 5840, 428, 77, 5983 ]
How do you show hidden files?
Use the command 'ls -a'.
[ 2347, 513, 368, 921, 8763, 4367, 32, 11244, 253, 3923, 686, 5200, 428, 66, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 921, 8763, 4367, 32, 11244, 253, 3923, 686, 5200, 428, 66, 5983 ]
How do you repeat the last command?
Use the command '!!'.
[ 2347, 513, 368, 10280, 253, 1390, 3923, 32, 11244, 253, 3923, 686, 4672, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 10280, 253, 1390, 3923, 32, 11244, 253, 3923, 686, 4672, 5983 ]
How do you create a new directory?
Use the command 'mkdir <directory>'.
[ 2347, 513, 368, 2794, 247, 747, 9617, 32, 11244, 253, 3923, 686, 50202, 654, 26758, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 2794, 247, 747, 9617, 32, 11244, 253, 3923, 686, 50202, 654, 26758, 31, 5983 ]
How do you change the current directory?
Use the command 'cd <directory>'.
[ 2347, 513, 368, 1818, 253, 1655, 9617, 32, 11244, 253, 3923, 686, 2428, 654, 26758, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1818, 253, 1655, 9617, 32, 11244, 253, 3923, 686, 2428, 654, 26758, 31, 5983 ]
How do you change file ownership?
Use the command 'chown <owner>:<group> <file>'.
[ 2347, 513, 368, 1818, 1873, 12851, 32, 11244, 253, 3923, 686, 348, 628, 654, 18602, 32056, 29, 4399, 31, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1818, 1873, 12851, 32, 11244, 253, 3923, 686, 348, 628, 654, 18602, 32056, 29, 4399, 31, 654, 3140, 31, 5983 ]
How do you remove a file?
Use the command 'rm <file>'.
[ 2347, 513, 368, 5386, 247, 1873, 32, 11244, 253, 3923, 686, 1109, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 5386, 247, 1873, 32, 11244, 253, 3923, 686, 1109, 654, 3140, 31, 5983 ]
How do you display a calendar?
Use the command 'cal'.
[ 2347, 513, 368, 3148, 247, 16832, 32, 11244, 253, 3923, 686, 1179, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 247, 16832, 32, 11244, 253, 3923, 686, 1179, 5983 ]
How do you display network interfaces?
Use the command 'ifconfig'.
[ 2347, 513, 368, 3148, 2990, 19069, 32, 11244, 253, 3923, 686, 338, 5397, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 2990, 19069, 32, 11244, 253, 3923, 686, 338, 5397, 5983 ]
How do you display system information?
Use the command 'uname -a'.
[ 2347, 513, 368, 3148, 985, 1491, 32, 11244, 253, 3923, 686, 328, 482, 428, 66, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 985, 1491, 32, 11244, 253, 3923, 686, 328, 482, 428, 66, 5983 ]
How do you set an environment variable?
Use the command 'export VAR_NAME=value'.
[ 2347, 513, 368, 873, 271, 3126, 4778, 32, 11244, 253, 3923, 686, 15035, 30226, 64, 9536, 30, 2877, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 873, 271, 3126, 4778, 32, 11244, 253, 3923, 686, 15035, 30226, 64, 9536, 30, 2877, 5983 ]
How do you trace the route packets take to a network host?
Use the command 'traceroute <hostname>'.
[ 2347, 513, 368, 10711, 253, 7622, 20342, 1379, 281, 247, 2990, 3167, 32, 11244, 253, 3923, 686, 1206, 9661, 5380, 654, 5465, 1590, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 10711, 253, 7622, 20342, 1379, 281, 247, 2990, 3167, 32, 11244, 253, 3923, 686, 1206, 9661, 5380, 654, 5465, 1590, 31, 5983 ]
How do you display the first lines of a file?
Use the command 'head <file>'.
[ 2347, 513, 368, 3148, 253, 806, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 2522, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 806, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 2522, 654, 3140, 31, 5983 ]
How do you change the owner of a file?
Use the command 'chown <user>:<group> <file>'.
[ 2347, 513, 368, 1818, 253, 7302, 273, 247, 1873, 32, 11244, 253, 3923, 686, 348, 628, 654, 4537, 32056, 29, 4399, 31, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1818, 253, 7302, 273, 247, 1873, 32, 11244, 253, 3923, 686, 348, 628, 654, 4537, 32056, 29, 4399, 31, 654, 3140, 31, 5983 ]
How do you display environment variables?
Use the command 'printenv'.
[ 2347, 513, 368, 3148, 3126, 4903, 32, 11244, 253, 3923, 686, 3845, 12540, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 3126, 4903, 32, 11244, 253, 3923, 686, 3845, 12540, 5983 ]
How do you display detailed information about a package?
Use the command 'apt-cache show <package>'.
[ 2347, 513, 368, 3148, 7000, 1491, 670, 247, 5522, 32, 11244, 253, 3923, 686, 1739, 14, 12985, 921, 654, 10708, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 7000, 1491, 670, 247, 5522, 32, 11244, 253, 3923, 686, 1739, 14, 12985, 921, 654, 10708, 31, 5983 ]
How do you create a symbolic link?
Use the command 'ln -s <target> <link>'.
[ 2347, 513, 368, 2794, 247, 24762, 3048, 32, 11244, 253, 3923, 686, 6677, 428, 84, 654, 7831, 31, 654, 4492, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 2794, 247, 24762, 3048, 32, 11244, 253, 3923, 686, 6677, 428, 84, 654, 7831, 31, 654, 4492, 31, 5983 ]
How do you create a new file with specified content?
Use the command 'echo "content" > <file>'.
[ 2347, 513, 368, 2794, 247, 747, 1873, 342, 7616, 2600, 32, 11244, 253, 3923, 686, 13088, 346, 6071, 3, 2239, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 2794, 247, 747, 1873, 342, 7616, 2600, 32, 11244, 253, 3923, 686, 13088, 346, 6071, 3, 2239, 654, 3140, 31, 5983 ]
How do you view system logs?
Use the command 'tail -f /var/log/syslog'.
[ 2347, 513, 368, 1859, 985, 20131, 32, 11244, 253, 3923, 686, 14694, 428, 71, 1227, 2044, 16, 2808, 16, 10404, 2808, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1859, 985, 20131, 32, 11244, 253, 3923, 686, 14694, 428, 71, 1227, 2044, 16, 2808, 16, 10404, 2808, 5983 ]
How do you display the current date and time?
Use the command 'date'.
[ 2347, 513, 368, 3148, 253, 1655, 3522, 285, 673, 32, 11244, 253, 3923, 686, 2754, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 1655, 3522, 285, 673, 32, 11244, 253, 3923, 686, 2754, 5983 ]
How do you append content to a file?
Use the command 'echo "content" >> <file>'.
[ 2347, 513, 368, 14801, 2600, 281, 247, 1873, 32, 11244, 253, 3923, 686, 13088, 346, 6071, 3, 11396, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 14801, 2600, 281, 247, 1873, 32, 11244, 253, 3923, 686, 13088, 346, 6071, 3, 11396, 654, 3140, 31, 5983 ]
How do you search for a command in the manual?
Use the command 'man <command>'.
[ 2347, 513, 368, 3186, 323, 247, 3923, 275, 253, 11595, 32, 11244, 253, 3923, 686, 1342, 654, 12467, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3186, 323, 247, 3923, 275, 253, 11595, 32, 11244, 253, 3923, 686, 1342, 654, 12467, 31, 5983 ]
How do you remove a package?
Use the command 'sudo apt-get remove <package>'.
[ 2347, 513, 368, 5386, 247, 5522, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 5386, 654, 10708, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 5386, 247, 5522, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 5386, 654, 10708, 31, 5983 ]
How do you list open files?
Use the command 'lsof'.
[ 2347, 513, 368, 1618, 1527, 4367, 32, 11244, 253, 3923, 686, 77, 601, 71, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1618, 1527, 4367, 32, 11244, 253, 3923, 686, 77, 601, 71, 5983 ]
How do you install a new package?
Use the command 'sudo apt-get install <package>'.
[ 2347, 513, 368, 3334, 247, 747, 5522, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 3334, 654, 10708, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3334, 247, 747, 5522, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 3334, 654, 10708, 31, 5983 ]
How do you clear the terminal screen?
Use the command 'clear'.
[ 2347, 513, 368, 2590, 253, 8351, 3601, 32, 11244, 253, 3923, 686, 8250, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 2590, 253, 8351, 3601, 32, 11244, 253, 3923, 686, 8250, 5983 ]
How do you display the last lines of a file?
Use the command 'tail <file>'.
[ 2347, 513, 368, 3148, 253, 1390, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 14694, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 1390, 3104, 273, 247, 1873, 32, 11244, 253, 3923, 686, 14694, 654, 3140, 31, 5983 ]
How do you copy a file?
Use the command 'cp <source> <destination>'.
[ 2347, 513, 368, 3491, 247, 1873, 32, 11244, 253, 3923, 686, 7693, 654, 6756, 31, 654, 41011, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3491, 247, 1873, 32, 11244, 253, 3923, 686, 7693, 654, 6756, 31, 654, 41011, 31, 5983 ]
How do you display the contents of a file?
Use the command 'cat <file>'.
[ 2347, 513, 368, 3148, 253, 9410, 273, 247, 1873, 32, 11244, 253, 3923, 686, 8076, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 9410, 273, 247, 1873, 32, 11244, 253, 3923, 686, 8076, 654, 3140, 31, 5983 ]
How do you delete a user?
Use the command 'sudo deluser <username>'.
[ 2347, 513, 368, 11352, 247, 2608, 32, 11244, 253, 3923, 686, 28119, 1448, 4537, 654, 19721, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 11352, 247, 2608, 32, 11244, 253, 3923, 686, 28119, 1448, 4537, 654, 19721, 31, 5983 ]
How do you display disk space usage?
Use the command 'df -h'.
[ 2347, 513, 368, 3148, 7592, 2317, 10393, 32, 11244, 253, 3923, 686, 4989, 428, 73, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 7592, 2317, 10393, 32, 11244, 253, 3923, 686, 4989, 428, 73, 5983 ]
How do you monitor network traffic?
Use the command 'netstat'.
[ 2347, 513, 368, 5724, 2990, 7137, 32, 11244, 253, 3923, 686, 3024, 8766, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 5724, 2990, 7137, 32, 11244, 253, 3923, 686, 3024, 8766, 5983 ]
How do you edit a file with a text editor?
Use the command 'nano <file>' or 'vim <file>'.
[ 2347, 513, 368, 12921, 247, 1873, 342, 247, 2505, 8121, 32, 11244, 253, 3923, 686, 79, 4692, 654, 3140, 28120, 390, 686, 35676, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 12921, 247, 1873, 342, 247, 2505, 8121, 32, 11244, 253, 3923, 686, 79, 4692, 654, 3140, 28120, 390, 686, 35676, 654, 3140, 31, 5983 ]
How do you extract a tar.gz file?
Use the command 'tar -xzvf <file>.tar.gz'.
[ 2347, 513, 368, 4908, 247, 13586, 15, 20449, 1873, 32, 11244, 253, 3923, 686, 17447, 428, 39344, 39985, 654, 3140, 13208, 17447, 15, 20449, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 4908, 247, 13586, 15, 20449, 1873, 32, 11244, 253, 3923, 686, 17447, 428, 39344, 39985, 654, 3140, 13208, 17447, 15, 20449, 5983 ]
How do you view the contents of a compressed file?
Use the command 'zcat <file>.gz'.
[ 2347, 513, 368, 1859, 253, 9410, 273, 247, 21012, 1873, 32, 11244, 253, 3923, 686, 91, 8076, 654, 3140, 13208, 20449, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1859, 253, 9410, 273, 247, 21012, 1873, 32, 11244, 253, 3923, 686, 91, 8076, 654, 3140, 13208, 20449, 5983 ]
How do you display the history of commands?
Use the command 'history'.
[ 2347, 513, 368, 3148, 253, 2892, 273, 13896, 32, 11244, 253, 3923, 686, 22328, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 2892, 273, 13896, 32, 11244, 253, 3923, 686, 22328, 5983 ]
How do you view the content of a file page by page?
Use the command 'less <file>'.
[ 2347, 513, 368, 1859, 253, 2600, 273, 247, 1873, 3239, 407, 3239, 32, 11244, 253, 3923, 686, 1417, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1859, 253, 2600, 273, 247, 1873, 3239, 407, 3239, 32, 11244, 253, 3923, 686, 1417, 654, 3140, 31, 5983 ]
How do you display disk usage of files and directories?
Use the command 'du'.
[ 2347, 513, 368, 3148, 7592, 10393, 273, 4367, 285, 33266, 32, 11244, 253, 3923, 686, 563, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 7592, 10393, 273, 4367, 285, 33266, 32, 11244, 253, 3923, 686, 563, 5983 ]
How do you combine multiple files into one?
Use the command 'cat <file1> <file2> > <outputfile>'.
[ 2347, 513, 368, 13398, 2709, 4367, 715, 581, 32, 11244, 253, 3923, 686, 8076, 654, 3140, 18, 31, 654, 3140, 19, 31, 2239, 654, 9252, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 13398, 2709, 4367, 715, 581, 32, 11244, 253, 3923, 686, 8076, 654, 3140, 18, 31, 654, 3140, 19, 31, 2239, 654, 9252, 3140, 31, 5983 ]
How do you search for a string in a file?
Use the command 'grep <string> <file>'.
[ 2347, 513, 368, 3186, 323, 247, 2876, 275, 247, 1873, 32, 11244, 253, 3923, 686, 72, 4762, 654, 2703, 31, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3186, 323, 247, 2876, 275, 247, 1873, 32, 11244, 253, 3923, 686, 72, 4762, 654, 2703, 31, 654, 3140, 31, 5983 ]
How do you count lines, words, and characters in a file?
Use the command 'wc <file>'.
[ 2347, 513, 368, 1385, 3104, 13, 3000, 13, 285, 5810, 275, 247, 1873, 32, 11244, 253, 3923, 686, 38212, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 1385, 3104, 13, 3000, 13, 285, 5810, 275, 247, 1873, 32, 11244, 253, 3923, 686, 38212, 654, 3140, 31, 5983 ]
How do you display the size of a file?
Use the command 'stat -c%s <file>'.
[ 2347, 513, 368, 3148, 253, 1979, 273, 247, 1873, 32, 11244, 253, 3923, 686, 8766, 428, 68, 6, 84, 654, 3140, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3148, 253, 1979, 273, 247, 1873, 32, 11244, 253, 3923, 686, 8766, 428, 68, 6, 84, 654, 3140, 31, 5983 ]
How do you search for files with a specific extension?
Use the command 'find <directory> -name "*.extension"'.
[ 2347, 513, 368, 3186, 323, 4367, 342, 247, 2173, 6880, 32, 11244, 253, 3923, 686, 8606, 654, 26758, 31, 428, 1590, 346, 4556, 24210, 3, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 3186, 323, 4367, 342, 247, 2173, 6880, 32, 11244, 253, 3923, 686, 8606, 654, 26758, 31, 428, 1590, 346, 4556, 24210, 3, 5983 ]
How do you remove a directory?
Use the command 'rmdir <directory>'.
[ 2347, 513, 368, 5386, 247, 9617, 32, 11244, 253, 3923, 686, 1109, 7341, 654, 26758, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 5386, 247, 9617, 32, 11244, 253, 3923, 686, 1109, 7341, 654, 26758, 31, 5983 ]
How do you ping a host?
Use the command 'ping <hostname>'.
[ 2347, 513, 368, 33346, 247, 3167, 32, 11244, 253, 3923, 686, 14650, 654, 5465, 1590, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 33346, 247, 3167, 32, 11244, 253, 3923, 686, 14650, 654, 5465, 1590, 31, 5983 ]
How do you kill a process?
Use the command 'kill <pid>'.
[ 2347, 513, 368, 5159, 247, 1232, 32, 11244, 253, 3923, 686, 24212, 654, 4239, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 5159, 247, 1232, 32, 11244, 253, 3923, 686, 24212, 654, 4239, 31, 5983 ]
How do you upgrade all packages?
Use the command 'sudo apt-get upgrade'.
[ 2347, 513, 368, 15047, 512, 12149, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 15047, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 15047, 512, 12149, 32, 11244, 253, 3923, 686, 28119, 13390, 14, 788, 15047, 5983 ]
How do you compress a directory into a tar.gz file?
Use the command 'tar -czvf <file>.tar.gz <directory>'.
[ 2347, 513, 368, 19477, 247, 9617, 715, 247, 13586, 15, 20449, 1873, 32, 11244, 253, 3923, 686, 17447, 428, 14617, 39985, 654, 3140, 13208, 17447, 15, 20449, 654, 26758, 31, 5983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2347, 513, 368, 19477, 247, 9617, 715, 247, 13586, 15, 20449, 1873, 32, 11244, 253, 3923, 686, 17447, 428, 14617, 39985, 654, 3140, 13208, 17447, 15, 20449, 654, 26758, 31, 5983 ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
37
Edit dataset card