Dataset Viewer
Auto-converted to Parquet Duplicate
input
stringlengths
0
503
input_args
listlengths
1
34
output
stringlengths
0
8.4M
exit_code
int64
0
255
redundancy_score
float64
0
1
context_patch
stringlengths
2
305k
session_id
int64
0
588k
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...
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--...
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...
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_backu...
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_note...
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...
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-...
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 ...
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 "Sys...
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 | [-c...
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=@...
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'' ...
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 ...
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:...
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--",...
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","...
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: ...
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 versio...
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-0...
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--...
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-1...
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 DATABAS...
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...
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 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 unique 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: Inputs constructed by a grammar-constrained command synthesizer building arguments from command-specific context-free grammars.
  • UCS: Inputs constructed by an unconstrained command synthesizer that builds arguments from a universal production space.
  • NL2CMD: Inputs sourced from NL2CMD that are modified to use system-specific arguments for the target environment.
  • eval: human-annotated samples sourced from user logs for evaluation.

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.

Sample record:

{
  "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{ragsdale2026shioenv,
      title={ShIOEnv: A Command Evaluation Environment for Grammar-Constrained Synthesis and Execution Behavior Modeling}, 
      author={Jarrod Ragsdale and Rajendra Boppana},
      year={2026},
      eprint={2505.18374},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.18374}, 
}
Downloads last month
1,854

Paper for jragsdale1/ShIO-bash-26.1