Dataset Viewer
Auto-converted to Parquet Duplicate
input
string
input_args
list
output
string
exit_code
int64
redundancy_score
float64
context_patch
string
session_id
int64
touch /home/ubuntu/logs_archive.tar.gz contact.txt user_config.json
[ "touch", "/home/ubuntu/logs_archive.tar.gz contact.txt user_config.json" ]
0
1
[["=","/fs/contact.txt/time","20:02"],["=","/fs/contact.txt/month","Dec"],["=","/fs/contact.txt/day",3],["=","/fs/user_config.json/time","20:02"],["=","/fs/user_config.json/month","Dec"],["=","/fs/user_config.json/day",3],["=","/fs/logs_archive.tar.gz/time","20:02"],["=","/fs/logs_archive.tar.gz/month","Dec"],["=","/fs/logs_archive.tar.gz/day",3]]
0
touch server_config.py config_settings.json /home/ubuntu/config_settings.json
[ "touch", "server_config.py config_settings.json /home/ubuntu/config_settings.json" ]
0
1
[["=","/fs/config_settings.json/time","20:02"],["=","/fs/config_settings.json/month","Dec"],["=","/fs/config_settings.json/day",3],["=","/fs/server_config.py/time","20:02"],["=","/fs/server_config.py/month","Dec"],["=","/fs/server_config.py/day",3]]
1
touch maintenance_script.sh
[ "touch", "maintenance_script.sh" ]
0
1
[["=","/fs/maintenance_script.sh/time","20:02"],["=","/fs/maintenance_script.sh/month","Dec"],["=","/fs/maintenance_script.sh/day",3]]
2
touch newfile
[ "touch", "newfile" ]
0
1
[["a","/fs/newfile",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
3
touch khYYcSuFT system_info.txt
[ "touch", "khYYcSuFT system_info.txt" ]
0
1
[["a","/fs/khYYcSuFT",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["=","/fs/system_info.txt/time","20:02"],["=","/fs/system_info.txt/month","Dec"],["=","/fs/system_info.txt/day",3]]
4
touch web.html /home/ubuntu/update_notes.txt
[ "touch", "web.html /home/ubuntu/update_notes.txt" ]
0
1
[["=","/fs/update_notes.txt/time","20:02"],["=","/fs/update_notes.txt/month","Dec"],["=","/fs/update_notes.txt/day",3],["=","/fs/web.html/time","20:02"],["=","/fs/web.html/month","Dec"],["=","/fs/web.html/day",3]]
5
touch file.txt file.2
[ "touch", "file.txt file.2" ]
0
1
[["a","/fs/file.2",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/file.txt",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
6
touch /home/ubuntu/config_settings.json
[ "touch", "/home/ubuntu/config_settings.json" ]
0
1
[["=","/fs/config_settings.json/time","20:02"],["=","/fs/config_settings.json/month","Dec"],["=","/fs/config_settings.json/day",3]]
7
touch newfile1 O9GuQcFJfV file
[ "touch", "newfile1 O9GuQcFJfV file" ]
0
1
[["a","/fs/file",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/newfile1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/O9GuQcFJfV",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
8
touch file.1 newfile1
[ "touch", "file.1 newfile1" ]
0
1
[["a","/fs/newfile1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/file.1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
9
touch server_config.py
[ "touch", "server_config.py" ]
0
1
[["=","/fs/server_config.py/time","20:02"],["=","/fs/server_config.py/month","Dec"],["=","/fs/server_config.py/day",3]]
10
touch config_settings.json bumblebee .bashrc
[ "touch", "config_settings.json bumblebee .bashrc" ]
0
1
[["a","/fs/bumblebee",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["=","/fs/.bashrc/time","20:02"],["=","/fs/.bashrc/month","Dec"],["=","/fs/.bashrc/day",3],["=","/fs/.bashrc/year",2025],["=","/fs/config_settings.json/time","20:02"],["=","/fs/config_settings.json/month","Dec"],["=","/fs/config_settings.json/day",3]]
11
touch outlet user_data_backup.sh user_data.csv
[ "touch", "outlet user_data_backup.sh user_data.csv" ]
0
1
[["a","/fs/outlet",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["=","/fs/user_data.csv/time","20:02"],["=","/fs/user_data.csv/month","Dec"],["=","/fs/user_data.csv/day",3],["=","/fs/user_data_backup.sh/time","20:02"],["=","/fs/user_data_backup.sh/month","Dec"],["=","/fs/user_data_backup.sh/day",3]]
12
touch update_notes.txt.2
[ "touch", "update_notes.txt.2" ]
0
1
[["=","/fs/update_notes.txt.2/time","20:02"],["=","/fs/update_notes.txt.2/month","Dec"],["=","/fs/update_notes.txt.2/day",3]]
13
touch /home/ubuntu/user_data.csv Pq7V0hWUlL3 update_notes.txt.1
[ "touch", "/home/ubuntu/user_data.csv Pq7V0hWUlL3 update_notes.txt.1" ]
0
1
[["a","/fs/Pq7V0hWUlL3",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["=","/fs/user_data.csv/time","20:02"],["=","/fs/user_data.csv/month","Dec"],["=","/fs/user_data.csv/day",3],["=","/fs/update_notes.txt.1/time","20:02"],["=","/fs/update_notes.txt.1/month","Dec"],["=","/fs/update_notes.txt.1/day",3]]
14
touch .bashrc /home/ubuntu/user_data.csv.gz server_config.py
[ "touch", ".bashrc /home/ubuntu/user_data.csv.gz server_config.py" ]
0
1
[["=","/fs/.bashrc/time","20:02"],["=","/fs/.bashrc/month","Dec"],["=","/fs/.bashrc/day",3],["=","/fs/.bashrc/year",2025],["=","/fs/user_data.csv.gz/time","20:02"],["=","/fs/user_data.csv.gz/month","Dec"],["=","/fs/user_data.csv.gz/day",3],["=","/fs/server_config.py/time","20:02"],["=","/fs/server_config.py/month","Dec"],["=","/fs/server_config.py/day",3]]
15
touch .bash_logout /home/ubuntu/projects.html
[ "touch", ".bash_logout /home/ubuntu/projects.html" ]
0
1
[["=","/fs/.bash_logout/time","20:02"],["=","/fs/.bash_logout/month","Dec"],["=","/fs/.bash_logout/day",3],["=","/fs/.bash_logout/year",2025],["=","/fs/projects.html/time","20:02"],["=","/fs/projects.html/month","Dec"],["=","/fs/projects.html/day",3]]
16
touch file.1 file.1 newfile
[ "touch", "file.1 file.1 newfile" ]
0
1
[["a","/fs/file.1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/newfile",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
17
touch file.2 file.txt file.txt
[ "touch", "file.2 file.txt file.txt" ]
0
1
[["a","/fs/file.2",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/file.txt",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
18
touch --reference=accept biqk newfile1 file
[ "touch", "--reference=accept", "biqk newfile1 file" ]
touch: failed to get attributes of 'accept': No such file or directory
0
0.666667
[]
19
touch --no-create O9GuQcFJfV
[ "touch", "--no-create", "O9GuQcFJfV" ]
0
1
[]
20
touch -r user_config.json web.html environment_variables.sh /home/ubuntu/network_setup.sh
[ "touch", "<ns>r user_config.json", "web.html environment_variables.sh /home/ubuntu/network_setup.sh" ]
0
0.666667
[]
21
touch --date=7 month 5nGhrfj file.txt
[ "touch", "--date=7 month", "5nGhrfj file.txt" ]
0
0.333333
[["a","/fs/5nGhrfj",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"07:00"}],["a","/fs/file.txt",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"07:00"}],["a","/fs/month",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"07:00"}]]
22
touch --date=2017-02-17 web.html environment_variables.sh /home/ubuntu/web.html
[ "touch", "--date=2017-02-17", "web.html environment_variables.sh /home/ubuntu/web.html" ]
0
0.666667
[["=","/fs/environment_variables.sh/time","00:00"],["=","/fs/environment_variables.sh/month","Feb"],["=","/fs/environment_variables.sh/day",17],["=","/fs/environment_variables.sh/year",2017],["=","/fs/web.html/time","00:00"],["=","/fs/web.html/month","Feb"],["=","/fs/web.html/day",17],["=","/fs/web.html/year",2017]]
23
touch -h file newfile
[ "touch", "-h<ns>", "file newfile" ]
touch: setting times of 'file': No such file or directory touch: setting times of 'newfile': No such file or directory
0
0.666667
[]
24
touch -f file
[ "touch", "-f<ns>", "file" ]
0
0.666667
[["a","/fs/file",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
25
touch -f file.2
[ "touch", "<ns>f<ns>", "file.2" ]
0
0.666667
[["a","/fs/file.2",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
26
od /home/ubuntu/system_status_report.txt
[ "od", "/home/ubuntu/system_status_report.txt" ]
0000000 074523 072163 066545 051440 060564 072564 020163 062522 0000020 067560 072162 026440 043440 067145 071145 072141 062145 0000040 067440 020156 030062 031462 030455 026462 032460 005015 0000060 005015 062523 073162 071145 052440 072160 066551 035145 0000100 030440 031065 062040 074541 026163 033040 064040 072557 0000120 071562 020054 031064 066440 067151 072165 071545 005015 0000140 060514 072163 051040 061145 067557 035164 031040 031060 0000160 026463 033460 030055 020065 072141 030040 035063 034061 0000200 052440 041524 005015 005015 050103 020125 072125 066151 0000220 075151 072141 067551 035156 031040 022470 005015 062515 0000240 067555 074562 052440 060563 062547 020072 030467 020045 0000260 030450 027064 020062 041107 027440 031040 020060 041107 0000300 006451 042012 071551 020153 071525 063541 035145 005015 0000320 020040 020055 062057 073145 071457 060544 035061 034040 0000340 022465 072440 062563 020144 031450 030064 043440 020102 0000360 020057 030064 020060 041107 006451 020012 026440 027440 0000400 062544 027566 062163 030542 020072 032464 020045 071565 0000420 062145 024040 030071 043440 020102 020057 030062 020060 0000440 041107 006451 006412 047012 072145 067567 065562 044440 0000460 072156 071145 060546 062543 035163 005015 020040 020055 0000500 072145 030150 020072 061541 064564 062566 020054 050111 0000520 030440 031071 030456 034066 030456 030456 026060 051040 0000540 020130 027062 020064 041124 020054 054124 034040 033465 0000560 043440 006502 020012 026440 073440 060554 030156 020072 0000600 067151 061541 064564 062566 005015 005015 067524 020160 0000620 071120 061557 071545 062563 020163 074542 046440 066545 0000640 071157 020171 071525 063541 035145 005015 027061 065040 0000660 073141 020141 050050 042111 031440 033466 024462 026440 0000700 031040 034456 043440 006502 031012 020056 074555 070563 0000720 020154 050050 042111 031040 031064 024461 026440 031040 0000740 031456 043440 006502 031412 020056 067544 065543 071145 0000760 062055 062541 067555 020156 050050 042111 034040 032061 0001000 020051 020055 027061 020065 041107 005015 027064 070040 0001020 072171 067550 020156 050050 042111 034440 032466 020051 0001040 020055 027061 020062 041107 005015 027065 067040 062157 0001060 020145 050050 042111 031440 034465 024461 026440 030040 0001100 034456 020070 041107 005015 005015 062523 072543 064562 0001120 074564 006472 020012 026440 043040 071151 073545 066141 0001140 035154 040440 052103 053111 020105 062050 063145 072541 0001160 072154 062040 067145 024571 005015 020040 020055 062523 0001200 072543 064562 074564 070040 072141 064143 071545 020072 0001220 050125 052040 020117 040504 042524 005015 020040 020055 0001240 067111 071164 071565 067551 020156 072141 062564 070155 0001260 071564 062040 072145 061545 062564 035144 031440 024040 0001300 064563 061556 020145 060554 072163 071040 070145 071157 0001320 024564 005015 005015 060502 065543 070165 051440 060564 0001340 072564 035163 005015 020040 020055 060514 072163 071440 0001360 061565 062543 071563 072546 020154 060542 065543 070165 0001400 020072 030062 031462 030455 026462 032060 060440 020164 0001420 031060 030072 020060 052125 006503 020012 026440 047040 0001440 074145 020164 061563 062550 072544 062554 020144 060542 0001460 065543 070165 020072 030062 031462 030455 026462 033060 0001500 060440 020164 031060 030072 020060 052125 006503 006412 0001520 052012 066545 062560 060562 072564 062562 051040 060545 0001540 064544 063556 035163 005015 020040 020055 050103 035125 0001560 032440 141064 041660 005015 020040 020055 050107 035125 0001600 032040 141067 041660 005015 020040 020055 074523 072163 0001620 066545 020072 030063 130302 006503 006412 051412 066565 0001640 060555 074562 020072 064124 020145 074563 072163 066545 0001660 064440 020163 072543 071162 067145 066164 020171 072163 0001700 061141 062554 073440 072151 020150 067556 071440 063551 0001720 064556 064546 060543 072156 070040 071145 067546 066562 0001740 067141 062543 064440 071563 062565 027163 046440 067157 0001760 072151 071157 067151 020147 074563 072163 066545 020163 0002000 071141 020145 070157 071145 072141 067551 060556 026154 0002020 060440 062156 060440 066154 071440 064143 062145 066165 0002040 062145 072040 071541 071553 060440 062562 062440 062570 0002060 072543 062564 020144 064567 064164 072557 020164 067151 0002100 062564 071162 070165 064564 067157 020056 062522 072547 0002120 060554 020162 060555 067151 062564 060556 061556 020145 0002140 067141 020144 067555 064556 067564 064562 063556 060440 0002160 062562 071040 061545 066557 062555 062156 062145 072040 0002200 020157 060555 067151 060564 067151 067440 072160 066551 0002220 066141 070040 071145 067546 066562 067141 062543 060440 0002240 062156 071440 061545 071165 072151 027171 0002254
0
1
[]
27
nproc --all
[ "nproc", "--all" ]
1
0
1
[]
28
last
[ "last" ]
wtmp begins Mon Nov 10 21:48:11 2025
0
0
[]
29
lsblk -s
[ "lsblk", "<ns>s<ns>" ]
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 253:0 0 365.7M 1 disk
0
1
[]
30
dirname uproot
[ "dirname", "uproot" ]
.
0
1
[]
31
echo matrix
[ "echo", "matrix" ]
matrix
0
1
[]
32
file /home/ubuntu/user_data.csv .bash_logout
[ "file", "/home/ubuntu/user_data.csv .bash_logout" ]
/home/ubuntu/user_data.csv: CSV ASCII text .bash_logout: ASCII text
0
1
[]
33
ln system_info.txt temp_files
[ "ln", "system_info.txt", "temp_files" ]
0
1
[["=","/fs/system_info.txt/links",2],["=","/fs/temp_files/size",60],["=","/fs/temp_files/links",1],["=","/fs/temp_files/time","20:02"],["=","/fs/temp_files/month","Dec"],["=","/fs/temp_files/day",3]]
34
unlink /home/ubuntu/user_data.csv.gz
[ "unlink", "/home/ubuntu/user_data.csv.gz" ]
0
1
[["r","/fs/user_data.csv.gz"]]
35
export XDG_SESSION_CLASS
[ "export", "XDG_SESSION_CLASS" ]
0
1
[]
36
date '+%#tE%-z'
[ "date", "'+%#tE%-z'" ]
E+0
0
1
[]
37
ls .. /home/ubuntu/scripts | readlink -z
[ "ls", ".. /home/ubuntu/scripts", "|", "readlink", "<ns>z<ns>" ]
readlink: missing operand Try 'readlink --help' for more information.
1
1
[]
38
uniq /home/ubuntu/system_status.sh
[ "uniq", "/home/ubuntu/system_status.sh" ]
bash #!/bin/bash # Script to check system status echo "Checking system disk space:" df -h echo "Checking memory usage:" free -m echo "Checking CPU load:" uptime echo "Checking network connectivity status:" ping -c 3 google.com echo "Checking system services status:" systemctl status echo "System status check complete."
0
1
[]
39
netstat --ipx --help
[ "netstat", "--ipx", "--help" ]
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) rose (AMPR ROSE) ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) usage: netstat [-vWeenNcCF] [<Af>] -r netstat {-V|--version|-h|--help} netstat [-vWnNcaeol] [<Socket> ...] netstat { [-vWeenNac] -i | [-cnNe] -M | -s [-6tuw] } -r, --route display routing table -i, --interfaces display interface table -g, --groups display multicast group memberships -s, --statistics display networking statistics (like SNMP) -M, --masquerade display masqueraded connections -v, --verbose be verbose -W, --wide don't truncate IP addresses -n, --numeric don't resolve names --numeric-hosts don't resolve host names --numeric-ports don't resolve port names --numeric-users don't resolve user names -N, --symbolic resolve hardware names -e, --extend display other/more information -p, --programs display PID/Program name for sockets -o, --timers display timers -c, --continuous continuous listing -l, --listening display listening server sockets -a, --all display all sockets (default: connected) -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB -Z, --context display SELinux security context for sockets <Socket>={-t|--tcp} {-u|--udp} {-U|--udplite} {-S|--sctp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet List of possible address families (which support routing):
0
0.666667
[]
40
cut -f H,Y update_notes.txt.2 /home/ubuntu/database_backup.sql
[ "cut", "-f H,Y", "update_notes.txt.2 /home/ubuntu/database_backup.sql" ]
cut: invalid field value 'H,Y' Try 'cut --help' for more information.
1
0.333333
[]
41
touch -at 08142226.21 file.txt newfile1 newfile1
[ "touch", "<ns>a<ns>", "<ns>t 08142226.21", "file.txt newfile1 newfile1" ]
0
0.5
[["a","/fs/newfile1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}],["a","/fs/file.txt",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
42
touch -t 202101182338.20 -h file.1 newfile
[ "touch", "-t 202101182338.20", "-h<ns>", "file.1 newfile" ]
touch: setting times of 'file.1': No such file or directory touch: setting times of 'newfile': No such file or directory
1
0.4
[]
43
groups ubuntu
[ "groups", "ubuntu" ]
ubuntu : ubuntu
0
1
[]
44
touch -r z9TqkzgufLGVkMx -a contact.txt projects.html database_backup.sql
[ "touch", "-r z9TqkzgufLGVkMx", "<ns>a<ns>", "contact.txt projects.html database_backup.sql" ]
touch: failed to get attributes of 'z9TqkzgufLGVkMx': No such file or directory
0
0.4
[]
45
uname
[ "uname" ]
Linux
0
0
[]
46
printenv LS_COLORS SSH_AGENT_PID
[ "printenv", "LS_COLORS SSH_AGENT_PID" ]
1
1
[]
47
netstat
[ "netstat" ]
Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path
0
0
[]
48
basename -z -z /home/ubuntu/.
[ "basename", "<ns>z<ns>", "-z<ns>", "/home/ubuntu/." ]
.
0
0.6
[]
49
rev --help update_notes.txt.2 | nl --version
[ "rev", "--help", "update_notes.txt.2", "|", "nl", "--version" ]
nl (GNU coreutils) 9.4 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Scott Bartram and David MacKenzie.
0
0.75
[]
50
hostid
[ "hostid" ]
007f0101
0
0
[]
51
unlink system_status_report.txt | tail -
[ "unlink", "system_status_report.txt", "|", "tail", "-" ]
0
1
[["r","/fs/system_status_report.txt"]]
52
who network_setup.sh
[ "who", "network_setup.sh" ]
0
1
[]
53
sort matrix user_data_backup.sh 2XJaQPEYf4Vw5cWv
[ "sort", "matrix user_data_backup.sh 2XJaQPEYf4Vw5cWv" ]
sort: cannot read: matrix: No such file or directory
2
1
[]
54
unexpand database_backup.sql maintenance_script.sh
[ "unexpand", "database_backup.sql maintenance_script.sh" ]
-- MySQL dump 10.13 Distrib 5.7.32, for Linux (x86_64) -- -- Host: localhost Database: my_project_db -- ------------------------------------------------------ -- Server version 5.7.32-0ubuntu0.16.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `email` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`, `email`) VALUES (1, 'john_doe', 'hashed_password1', 'john.doe@email.com'), (2, 'jane_smith', 'hashed_password2', 'jane.smith@email.combash #!/bin/bash # Maintenance script for routine server checkup echo "Starting server maintenance operations." # Update all packages echo "Updating system packages..." sudo apt-get update && sudo apt-get upgrade -y # Clean up unnecessary files echo "Cleaning up disk space..." sudo apt-get autoremove -y sudo apt-get autoclean # Check disk space usage echo "Checking disk space..." df -h # Restarting services echo "Restarting essential services..." sudo systemctl restart apache2 sudo systemctl restart mysql echo "Maintenance operations completed." # Log maintenance activity echo "$(date '+%Y-%m-%d %H:%M:%S') - Maintenance run complete" >> /var/log/maintenance_log.log exit 0
0
1
[]
55
dd obs=732
[ "dd", "obs=732" ]
0+0 records in 0+0 records out 0 bytes copied, 2.0029e-05 s, 0.0 kB/s
0
1
[]
56
mkdir docs
[ "mkdir", "docs" ]
0
1
[["a","/fs/docs",{"perms":"drwxr-xr-x","links":2,"owner":"root","group":"root","size":40,"month":"Dec","day":3,"year":2025,"time":"19:59"}]]
57
fold config_settings.json | xargs -0 touch
[ "fold", "config_settings.json", "|", "xargs", "<ns>0<ns>", "touch" ]
touch: cannot touch '{'$'\r\n'' "database": {'$'\r\n'' "username": "admin",'$'\r\n'' "password": "securepassword123",'$'\r\n'' "host": "localhost",'$'\r\n'' "port": 3306'$'\r\n'' },'$'\r\n'' "server": {'$'\r\n'' "host": "0.0.0.0",'$'\r\n'' "port": 8080,'$'\r\n'' "max_connections": 100'$'\r\n'' },'$'\r\n'' "log_settings": {'$'\r\n'' "level": "INFO",'$'\r\n'' "file_path": "/home/ubuntu/logs_archive/server_log.log"'$'\r\n'' },'$'\r\n'' "backup_settings": {'$'\r\n'' "script_path": "/home/ubuntu/scripts/user_data_backup.sh",'$'\r\n'' "destination": "/home/ubuntu/logs_archive/"'$'\r\n'' },'$'\r\n'' "maintenance_window": {'$'\r\n'' "start_time": "01:00",'$'\r\n'' "end_time": "03:00",'$'\r\n'' "frequency": "weekly"'$'\r\n'' }'$'\r\n''}': File name too long
123
1
[]
58
nproc --help --version --all
[ "nproc", "--help", "--version", "--all" ]
Usage: nproc [OPTION]... Print the number of processing units available to the current process, which may be less than the number of online processors --all print the number of installed processors --ignore=N if possible, exclude N processing units --help display this help and exit --version output version information and exit GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report any translation bugs to <https://translationproject.org/team/> Full documentation <https://www.gnu.org/software/coreutils/nproc> or available locally via: info '(coreutils) nproc invocation'
0
0.5
[]
59
true
[ "true" ]
0
0
[]
60
rev --help user_data.csv
[ "rev", "--help", "user_data.csv" ]
Usage: rev [options] [file ...] Reverse lines characterwise. Options: -h, --help display this help -V, --version display version For more details see rev(1).
0
0.666667
[]
61
env -C MhV8L0Mv6er
[ "env", "<ns>C MhV8L0Mv6er" ]
env: must specify command with --chdir (-C) Try 'env --help' for more information.
125
1
[]
62
split -u -n 708 jcpu1VMiQyTW
[ "split", "<ns>u<ns>", "-n 708", "jcpu1VMiQyTW" ]
split: cannot open 'jcpu1VMiQyTW' for reading: No such file or directory
1
0.5
[]
63
lsblk -o PKNAME,FSUSED,PARTFLAGS --topology
[ "lsblk", "-o PKNAME,FSUSED,PARTFLAGS", "--topology" ]
PKNAME FSUSED PARTFLAGS
0
0.666667
[]
64
stat database_backup.sql config_settings.json user_data_backup.sh
[ "stat", "database_backup.sql config_settings.json user_data_backup.sh" ]
File: database_backup.sql Size: 1000 Blocks: 8 IO Block: 4096 regular file Device: 0,21 Inode: 58 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) Access: 2025-11-10 21:48:30.723559112 +0000 Modify: 2025-10-16 19:43:08.727921617 +0000 Change: 2025-11-10 21:48:30.727559145 +0000 Birth: 2025-11-10 21:48:30.723559112 +0000 File: config_settings.json Size: 593 Blocks: 8 IO Block: 4096 regular file Device: 0,21 Inode: 55 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) Access: 2025-11-10 21:48:30.719559079 +0000 Modify: 2025-10-16 19:43:08.727921617 +0000 Change: 2025-11-10 21:48:30.727559145 +0000 Birth: 2025-11-10 21:48:30.719559079 +0000 File: user_data_backup.sh Size: 732 Blocks: 8 IO Block: 4096 regular file Device: 0,21 Inode: 76 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) Access: 2025-11-10 21:48:30.723559112 +0000 Modify: 2025-10-16 19:43:08.731921631 +0000 Change: 2025-11-10 21:48:30.727559145 +0000 Birth: 2025-11-10 21:48:30.723559112 +0000
0
1
[]
65
touch --time=modify file.txt file.txt file
[ "touch", "--time=modify", "file.txt file.txt file" ]
0
0.666667
[["a","/fs/file",{"perms":"-rw-rw-r--","links":1,"owner":"ubuntu","group":"ubuntu","size":0,"month":"Dec","day":3,"year":2025,"time":"20:01"}],["a","/fs/file.txt",{"perms":"-rw-rw-r--","links":1,"owner":"ubuntu","group":"ubuntu","size":0,"month":"Dec","day":3,"year":2025,"time":"20:01"}]]
66
touch -fmd yesterday newfile file file.1
[ "touch", "<ns>f<ns>", "<ns>m<ns>", "<ns>d yesterday", "newfile file file.1" ]
0
0.448276
[["a","/fs/file",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":2,"year":2025,"time":"20:02"}],["a","/fs/file.1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":2,"year":2025,"time":"20:02"}],["a","/fs/newfile",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":2,"year":2025,"time":"20:02"}]]
67
chmod --quiet --preserve-root +u /home/ubuntu/contact.txt
[ "chmod", "--quiet", "--preserve-root", "+u /home/ubuntu/contact.txt" ]
0
0.5
[]
68
touch -t 200309130912 -d '3 year ago' --time=access data.csv
[ "touch", "-t 200309130912", "<ns>d '3 year ago'", "--time=access", "data.csv" ]
touch: cannot specify times from more than one source Try 'touch --help' for more information.
0
0.482759
[]
69
unlink /home/ubuntu/logs_archive.tar > 9HMsP02
[ "unlink", "/home/ubuntu/logs_archive.tar", ">", "9HMsP02" ]
0
1
[["r","/fs/logs_archive.tar"],["a","/fs/9HMsP02",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"19:59"}]]
70
touch -c -hf file.1
[ "touch", "-c<ns>", "-h<ns>", "<ns>f<ns>", "file.1" ]
0
0.724138
[]
71
touch -m --date=6 seconds -f 2dS8B1QusjzpcsR /home/ubuntu/contact.txt
[ "touch", "-m<ns>", "--date=6 seconds", "<ns>f<ns>", "2dS8B1QusjzpcsR /home/ubuntu/contact.txt" ]
0
0.172414
[["a","/fs/seconds",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"06:00"}],["a","/fs/2dS8B1QusjzpcsR",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"06:00"}],["=","/fs/contact.txt/time","06:00"],["=","/fs/contact.txt/month","Dec"],["=","/fs/contact.txt/day",3]]
72
head -z --help outlet | rev -Vh -h
[ "head", "-z<ns>", "--help", "outlet", "|", "rev", "-V<ns>", "<ns>h<ns>", "-h<ns>" ]
rev from util-linux 2.39.3
0
0.5
[]
73
date -s yesterday '+%:z0%0::z' | wc
[ "date", "<ns>s yesterday", "'+%:z0%0::z'", "|", "wc" ]
1 1 17
0
1
[]
74
mktemp --version -u XXXdir1XXXMhV8L0Mv6er | tr -s z
[ "mktemp", "--version", "<ns>u<ns>", "XXXdir1XXXMhV8L0Mv6er", "|", "tr", "<ns>s<ns>", "z" ]
mktemp (GNU coreutils) 9.4 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jim Meyering and Eric Blake.
0
0.615385
[]
75
basename /home/ubuntu/scripts
[ "basename", "/home/ubuntu/scripts" ]
scripts
0
1
[]
76
lscpu
[ "lscpu" ]
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Processor @ 2.10GHz CPU family: 6 Model: 79 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 Stepping: 1 BogoMIPS: 4199.99 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat umip md_clear flush_l1d arch_capabilities Hypervisor vendor: KVM Virtualization type: full L1d cache: 32 KiB (1 instance) L1i cache: 32 KiB (1 instance) L2 cache: 256 KiB (1 instance) L3 cache: 40 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Mitigation; PTE Inversion Vulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Mitigation; Clear CPU buffers; SMT Host state unknown
0
0
[]
77
/usr/bin/false --help
[ "/usr/bin/false", "--help" ]
Usage: /usr/bin/false [ignored command line arguments] or: /usr/bin/false OPTION Exit with a status code indicating failure. --help display this help and exit --version output version information and exit NOTE: your shell may have its own version of false, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports. GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report any translation bugs to <https://translationproject.org/team/> Full documentation <https://www.gnu.org/software/coreutils/false> or available locally via: info '(coreutils) false invocation'
1
1
[]
78
dirname /home/ubuntu/logs_archive
[ "dirname", "/home/ubuntu/logs_archive" ]
/home/ubuntu
0
1
[]
79
id | comm user_data.csv -
[ "id", "|", "comm", "user_data.csv", "-" ]
comm: file 1 is not in sorted order comm: input is not in sorted order id,username,email,registration_date,last_login 1,johndoe,johndoe@example.com,2021-06-15,2023-12-01 2,janesmith,janesmith@example.com,2021-08-23,2023-12-05 3,bobkay,bobkay@example.com,2022-01-09,2023-12-10 4,alicewong,alicewong@example.com,2022-03-15,2023-11-28 5,stevejobs,stevejobs@example.com,2022-05-21,2023-11-30 6,lisagriffin,lisagriffin@example.com,2022-07-30,2023-12-08 7,markzulu,markzulu@example.com,2022-09-11,2023-12-09 8,sarahconnor,sarahconnor@example.com,2023-01-02,2023-12-10 9,rickflagg,rickflagg@example.com,2023-03-22,2023-12-12 10,emilystone,emilystone@example.com,2023-06-18,2023-12-11 uid=0(root) gid=0(root) groups=0(root)
1
0.5
[]
80
wc --total 97 /home/ubuntu/server_config.py
[ "wc", "--total 97", "/home/ubuntu/server_config.py" ]
wc: invalid argument '97' for '--total' Valid arguments are: - 'auto' - 'always' - 'only' - 'never' Try 'wc --help' for more information.
1
0.666667
[]
81
touch --reference=web.html file.txt file newfile1
[ "touch", "--reference=web.html", "file.txt file newfile1" ]
0
0.666667
[["a","/fs/file",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Oct","day":16,"year":2025,"time":"19:43"}],["a","/fs/newfile1",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Oct","day":16,"year":2025,"time":"19:43"}],["a","/fs/file.txt",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Oct","day":16,"year":2025,"time":"19:43"}]]
82
cd -L ..
[ "cd", "-L<ns>", ".." ]
0
0.333333
[]
83
stat system_info.txt qPhZ update_notes.txt.2
[ "stat", "system_info.txt qPhZ update_notes.txt.2" ]
stat: cannot statx 'qPhZ': No such file or directory File: system_info.txt Size: 436 Blocks: 8 IO Block: 4096 regular file Device: 0,21 Inode: 67 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) Access: 2025-11-10 21:48:30.723559112 +0000 Modify: 2025-10-16 19:43:08.727921617 +0000 Change: 2025-11-10 21:48:30.727559145 +0000 Birth: 2025-11-10 21:48:30.723559112 +0000 File: update_notes.txt.2 Size: 726 Blocks: 8 IO Block: 4096 regular file Device: 0,21 Inode: 72 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ ubuntu) Gid: ( 1000/ ubuntu) Access: 2025-11-10 21:48:30.723559112 +0000 Modify: 2025-10-16 19:43:08.727921617 +0000 Change: 2025-11-10 21:48:30.727559145 +0000 Birth: 2025-11-10 21:48:30.723559112 +0000
1
1
[]
84
sort contact.txt environment_variables.sh
[ "sort", "contact.txt environment_variables.sh" ]
# Set environment variables for the application. #!/bin/bash Address: 123 Main Street, Anytown, USA Contact Information: Email: pharris@example.com Name: Peter Harris Phone: (555) 555-5555 bash echo "Environment variables set." export APP_ENV="production" export APP_NAME="MyApplication" export DATABASE_URL="mongodb://localhost:27017/myapp" export EMAIL_PASSWORD="password123" export EMAIL_USER="user@example.com" export REDIS_URL="redis://localhost:6379" export SECRET_KEY="yoursecretkey12345" export SMTP_SERVER="smtp.example.com"
0
1
[]
85
touch --time=access -h -h -r /home/ubuntu/user_config.json file.2 ySanqk
[ "touch", "--time=access", "-h<ns>", "-h<ns>", "-r /home/ubuntu/user_config.json", "file.2 ySanqk" ]
touch: setting times of 'file.2': No such file or directory touch: setting times of 'ySanqk': No such file or directory
0
0.118421
[]
86
pwd
[ "pwd" ]
/home/ubuntu
0
0
[]
87
rm -v -r /home/ubuntu/update_notes.txt.1 ; lsblk -z --bytes
[ "rm", "-v<ns>", "-r<ns>", "/home/ubuntu/update_notes.txt.1", ";", "lsblk", "<ns>z<ns>", "--bytes" ]
removed '/home/ubuntu/update_notes.txt.1' NAME ZONED ZONE-SZ ZONE-NR ZONE-AMAX ZONE-OMAX ZONE-APP ZONE-WGRAN vda none 0 0 0 0 0 0
0
0.769231
[["r","/fs/update_notes.txt.1"]]
88
netstat ; mkfifo -Z --help -m 4869 banana
[ "netstat", ";", "mkfifo", "-Z<ns>", "--help", "-m 4869", "banana" ]
Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path Usage: mkfifo [OPTION]... NAME... Create named pipes (FIFOs) with the given NAMEs. Mandatory arguments to long options are mandatory for short options too. -m, --mode=MODE set file permission bits to MODE, not a=rw - umask -Z set the SELinux security context to default type --context[=CTX] like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX --help display this help and exit --version output version information and exit GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report any translation bugs to <https://translationproject.org/team/> Full documentation <https://www.gnu.org/software/coreutils/mkfifo> or available locally via: info '(coreutils) mkfifo invocation'
0
0.466667
[]
89
file update_notes.txt.2
[ "file", "update_notes.txt.2" ]
update_notes.txt.2: ASCII text, with CRLF line terminators
0
1
[]
90
mkdir -v -m 89 --mode=954 newdir1
[ "mkdir", "<ns>v<ns>", "-m 89", "--mode=954", "newdir1" ]
mkdir: invalid mode '954'
1
0.137931
[]
91
mktemp XXXdirXXXeHxmuOxy | sort -
[ "mktemp", "XXXdirXXXeHxmuOxy", "|", "sort", "-" ]
XXXdirPLUeHxmuOxy
0
1
[["a","/fs/XXXdirPLUeHxmuOxy",{"perms":"-rw-------","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"20:02"}]]
92
rmdir -v -p immune
[ "rmdir", "-v<ns>", "-p<ns>", "immune" ]
rmdir: failed to remove 'immune': No such file or directory rmdir: removing directory, 'immune'
1
0.1
[]
93
wc -c /home/ubuntu/documents.tar
[ "wc", "<ns>c<ns>", "/home/ubuntu/documents.tar" ]
51200 /home/ubuntu/documents.tar
0
1
[]
94
netstat --appletalk -U
[ "netstat", "--appletalk", "-U<ns>" ]
Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State
0
0.666667
[]
95
unexpand -a -t 6 --version /home/ubuntu/system_info.txt /home/ubuntu/update_notes.txt.1
[ "unexpand", "<ns>a<ns>", "-t 6", "--version", "/home/ubuntu/system_info.txt /home/ubuntu/update_notes.txt.1" ]
unexpand (GNU coreutils) 9.4 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie.
0
0.448276
[]
96
netstat -f
[ "netstat", "-f" ]
netstat: feature `AF BLUETOOTH' not supported. Please recompile `net-tools' with newer kernel source or full configuration.
1
1
[]
97
logname
[ "logname" ]
logname: no login name
1
0
[]
98
chmod 2655 user_data.csv > file
[ "chmod", "2655 user_data.csv", ">", "file" ]
0
1
[["a","/fs/file",{"perms":"-rw-r--r--","links":1,"owner":"root","group":"root","size":0,"month":"Dec","day":3,"year":2025,"time":"19:58"}],["=","/fs/user_data.csv/perms","-rw-r-sr-x"]]
99
End of preview. Expand in Data Studio

ShIO-bash-26.1

Shell input-output (ShIO) Bash dataset produced by ShIOEnv, a Gymnasium-compatible Bash environment designed to collect execution-annotated command interactions in a Linux system.

Dataset summary

The dataset consists of command-line inputs paired with their execution artifacts, including observable outputs and a structured representation of latent environment state changes. Samples are produced by executing synthesized Bash inputs inside a snapshot-reverted Ubuntu 24.04 microVM, yielding system-grounded behavior for each input.

The dataset contains 2.1M samples spanning 86 Linux utilities executed on Ubuntu 24.04.

Motivation and intended use

The dataset targets learning problems that require predicting system-specific command behavior without executing commands at inference time. Typical uses include:

  • Execution-free CLI simulation that predicts stdout and stderr, exit status, and environment effects.
  • Training or evaluating sequence-to-sequence models that map input -> {output, context_patch}.
  • Studying argument sensitivity.

The dataset is not intended as a general corpus of human-authored shell usage. Inputs are primarily synthesized rather than collected from user sessions.

Dataset composition

Sampling sources

The dataset is organized by synthesis regime, as described in the paper:

  • GCS: grammar-constrained synthesis using command-specific context-free grammars.
  • UCS: unconstrained synthesis that expands from a universal production space.
  • Adapted NL2CMD: a bootstrapped subset derived from NL2CMD, modified to use system-specific artifacts present in the target environment.
  • live: human-annotated samples sourced from user logs used to benchmark modeling performance.

These appear as directory-level groupings (data/GCS/, data/UCS/, data/NL2CMD/, data/eval) with newline-delimited JSON shards.

Execution environment

All samples are grounded in a fixed Ubuntu 24.04 environment executed in a Firecracker microVM, reverted to a snapshot before each execution to ensure consistent context for contrasts and patch computation.

The environment includes a curated filesystem containing directories and artifacts intended to support diverse command behaviors.

Target system's filesystem tree

Unit of observation

Each record corresponds to one executed "session" input string. A session may be:

  • A single command invocation.
  • A composite input using operators such as pipes, redirections, and logical connectors, depending on the grammar and synthesis regime.

Data fields

Each record is a JSON object. The paper specifies seven fields (names may vary slightly across releases). In the provided .ndjson shards, the observed schema is:

Field Type Description
session_id integer Identifier for the sample.
input string Executed shell input string for the session. Some sessions may include an initial working-directory prefix (for example cd <cwd>;) to encode starting context.
input_args list[string] Tokenized argument list used to represent the input as removable arguments. The representation may include the marker <ns> to indicate "no-space" boundaries used to reconstruct compact flags or concatenated tokens.
exit_code integer Exit status returned by the last executed command in the session.
output string Observed output from execution, comprising stdout and stderr content (as recorded by the environment).
context_patch string JSON-encoded list of compact RFC 6902-style patch operations representing latent environment changes.
redundancy_score float A length-weighted ablation-based score in [0, 1] corresponding to irreducibility signal (higher values indicate more behaviorally informative arguments under ablation).

Context patch encoding

context_patch encodes a list of operations over an abstract environment context object. The paper uses a compact operation alphabet:

  • ["a", "/path", value] add
  • ["=", "/path", value] replace
  • ["r", "/path"] remove
  • ["m", "/from", "/to"] move

Patch paths are JSON Pointer-like strings into a system feature map containing elements such as filesystem metadata, working directory, environment variables, shell options, resource limits, and firewall rules.

Data format and storage

  • Files are stored as NDJSON (one JSON object per line).
  • Each file contains 1K entries in JSON long format.
  • Files are organized by synthesis source directory.

Example record structure:

{
  "session_id": 1853,
  "input": "mv -S Z -v .bash_logout newfile",
  "input_args": ["mv", "-S Z", "-v<ns>", ".bash_logout", "newfile"],
  "output": "renamed '.bash_logout' -> 'newfile'",
  "exit_code": 0,
  "redundancy_score": 0.896551724137931,
  "context_patch": "[[\"m\",\"/fs/.bash_logout\",\"/fs/newfile\"]]",
},
{
  "session_id": 1954,
  "input": "ls -w 8 --show-control-chars -a update_notes.txt config_settings.json",
  "input_args": ["ls", "-w 8", "--show-control-chars", "-a<ns>", "update_notes.txt config_settings.json"],
  "output": "config_settings.json\nupdate_notes.txt",
  "exit_code": 0,
  "redundancy_score": 0.4482758620689655,
  "context_patch": "[]",
}

Data generation and labeling process

  • Inputs are synthesized using context-free grammars over command syntaxes for a fixed set of utilities.

  • Each synthesized session is executed in a snapshot-reverted microVM to collect:

    • stdout and stderr output,
    • exit status,
    • a before-after snapshot of the abstract environment context, summarized as a patch.
  • Each sample includes an irreducibility score computed by comparing the full input’s execution artifacts against those produced by ablations that remove subsets of arguments, using a budgeted Monte Carlo estimator to avoid exhaustive enumeration.

Known characteristics and potential biases

  • System specificity: behaviors reflect those of a specific Ubuntu 24.04 filesystem. Models trained using this dataset should be expected to represent these same behaviors. Representing other systems can be done through changing ShIOEnv's execution backend.
  • Synthesis-induced distribution shift: grammar-constrained and unconstrained synthesis shape the command and argument distribution independent of usage trends. NL2CMD inherits distribution characteristics from its source.
  • Non-determinism and normalization: Commands may produce variable outputs when executed. The irreducibility computation uses a noise-tolerant similarity threshold to suppress spurious differences, which can bias scores for highly variable commands.

Limitations

  • Coverage is limited to the utilities with defined grammars and to the maximum argument horizons used during synthesis.
  • Changes to the system state are represented by a patch over a mined system feature map rather than a full system snapshot. As a result, the reported changes to the system a command induces should be treated as non-exhaustive.
  • Records may contain near-duplicates arising from syntactic variants or argument redundancy, though the irreducibility signal is intended to quantify this redundancy.
  • There may be repeated inputs as samples were collected across multiple hosts.

Ethical and safety considerations

The dataset contains command strings and system outputs that can include security-relevant tooling and patterns. While the dataset is intended to support safer execution-free simulation and honeypot design, it may also lower barriers to generating plausible CLI interactions. Deployment should consider misuse risk, especially in contexts involving adversarial emulation.

The dataset is synthesized and system-grounded rather than collected from users, so it is not expected to contain personal user data. However, outputs can include paths, filenames, and environment metadata that reflect the constructed system context, host information, or behavior-capturing inputs.

Citation

If this dataset is used in support of research, please use the following citation:

@misc{ragsdale2025shioenv,
      title={ShIOEnv: A CLI Behavior-Capturing Environment Enabling Grammar-Guided Command Synthesis for Dataset Curation}, 
      author={Jarrod Ragsdale and Rajendra Boppana},
      year={2025},
      eprint={2505.18374},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.18374}, 
}
Downloads last month
29

Paper for jragsdale1/ShIO-bash-26.1