request
stringlengths
13
923
response
dict
Extract the HTTP status code from http://127.0.0.1:18282/redirect, including error statuses without treating them as command failures.
{ "kind": "COMMAND", "value": "curl --silent --show-error --output /dev/null --write-out '%{http_code}\\n' http://127.0.0.1:18282/redirect" }
Show the HTTP status code from http://127.0.0.1:18283/payload, including error statuses without treating them as command failures.
{ "kind": "COMMAND", "value": "curl --silent --show-error --output /dev/null --write-out '%{http_code}\\n' http://127.0.0.1:18283/payload" }
Follow the actual local redirect from http://127.0.0.1:18280/inspect and print the final response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --location http://127.0.0.1:18280/inspect" }
Resolve the actual local redirect from http://127.0.0.1:18281/status and print the final response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --location http://127.0.0.1:18281/status" }
Fetch through the actual local redirect from http://127.0.0.1:18282/redirect and print the final response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --location http://127.0.0.1:18282/redirect" }
Send HEAD to http://127.0.0.1:18280/inspect and print its headers for HTTP 200 without downloading the body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --head http://127.0.0.1:18280/inspect" }
HEAD http://127.0.0.1:18281/status and print its headers for HTTP 404 without downloading the body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --head http://127.0.0.1:18281/status" }
Issue a HEAD request to http://127.0.0.1:18282/redirect and print its headers for HTTP 500 without downloading the body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --head http://127.0.0.1:18282/redirect" }
Request bytes 0 through 3 from http://127.0.0.1:18280/inspect and print exactly the four-byte prefix, even if the server ignores Range.
{ "kind": "COMMAND", "value": "curl --silent --show-error --range 0-3 http://127.0.0.1:18280/inspect | head -c 4" }
Fetch bytes 0 through 3 from http://127.0.0.1:18281/status and print exactly the four-byte prefix, even if the server ignores Range.
{ "kind": "COMMAND", "value": "curl --silent --show-error --range 0-3 http://127.0.0.1:18281/status | head -c 4" }
Read bytes 0 through 3 from http://127.0.0.1:18282/redirect and print exactly the four-byte prefix, even if the server ignores Range.
{ "kind": "COMMAND", "value": "curl --silent --show-error --range 0-3 http://127.0.0.1:18282/redirect | head -c 4" }
Retrieve bytes 0 through 3 from http://127.0.0.1:18283/payload and print exactly the four-byte prefix, even if the server ignores Range.
{ "kind": "COMMAND", "value": "curl --silent --show-error --range 0-3 http://127.0.0.1:18283/payload | head -c 4" }
POST the contents of network/request.txt to http://127.0.0.1:18280/echo and print the echoed body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --data-binary @network/request.txt http://127.0.0.1:18280/echo" }
Send the contents of network/request.txt to http://127.0.0.1:18281/echo and print the echoed body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --data-binary @network/request.txt http://127.0.0.1:18281/echo" }
Submit the contents of network/request.txt to http://127.0.0.1:18282/echo and print the echoed body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --data-binary @network/request.txt http://127.0.0.1:18282/echo" }
Send a POST containing the contents of network/request.txt to http://127.0.0.1:18283/echo and print the echoed body.
{ "kind": "COMMAND", "value": "curl --silent --show-error --data-binary @network/request.txt http://127.0.0.1:18283/echo" }
GET http://127.0.0.1:18280/echo with X-V3-Trace read from network/trace.txt and print the echoed header value.
{ "kind": "COMMAND", "value": "curl --silent --show-error -H \"X-V3-Trace: $(cat network/trace.txt)\" http://127.0.0.1:18280/echo" }
Request http://127.0.0.1:18281/echo with X-V3-Trace read from network/trace.txt and print the echoed header value.
{ "kind": "COMMAND", "value": "curl --silent --show-error -H \"X-V3-Trace: $(cat network/trace.txt)\" http://127.0.0.1:18281/echo" }
Fetch http://127.0.0.1:18282/echo with X-V3-Trace read from network/trace.txt and print the echoed header value.
{ "kind": "COMMAND", "value": "curl --silent --show-error -H \"X-V3-Trace: $(cat network/trace.txt)\" http://127.0.0.1:18282/echo" }
GET http://127.0.0.1:18280/inspect with query mode=v3-0 and print the response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error 'http://127.0.0.1:18280/inspect?mode=v3-0'" }
Fetch http://127.0.0.1:18281/status with query mode=v3-1 and print the response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error 'http://127.0.0.1:18281/status?mode=v3-1'" }
Request http://127.0.0.1:18282/redirect with query mode=v3-2 and print the response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error 'http://127.0.0.1:18282/redirect?mode=v3-2'" }
Retrieve http://127.0.0.1:18283/payload with query mode=v3-3 and print the response body.
{ "kind": "COMMAND", "value": "curl --silent --show-error 'http://127.0.0.1:18283/payload?mode=v3-3'" }
Count established TCP sockets have local server port 19480?
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19480$/ {n++} END {print n+0}'" }
Report established TCP sockets have local server port 19481?
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19481$/ {n++} END {print n+0}'" }
How many established TCP sockets have local server port 19482?
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19482$/ {n++} END {print n+0}'" }
Count TCP listeners on local port 19480.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19480' | awk 'END {print NR+0}'" }
Report TCP listeners on local port 19481.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19481' | awk 'END {print NR+0}'" }
In repository 'repo', List heads Git refs as pair fields, using full names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)' refs/heads" }
In repository 'repo', List heads Git refs as pair fields, using short names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)' refs/heads" }
In repository 'repo', List heads Git refs as pair fields, using full names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)' refs/heads --sort=-refname" }
In repository 'repo', List heads Git refs as pair fields, using short names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)' refs/heads --sort=-refname" }
In repository 'repo', List tags Git refs as name fields, using full names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname)' refs/tags" }
In repository 'repo', List tags Git refs as name fields, using short names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname:short)' refs/tags" }
In repository 'repo', List tags Git refs as name fields, using full names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname)' refs/tags --sort=-refname" }
In repository 'repo', List tags Git refs as name fields, using short names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname:short)' refs/tags --sort=-refname" }
In repository 'repo', List tags Git refs as pair fields, using full names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)' refs/tags" }
In repository 'repo', List tags Git refs as pair fields, using short names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)' refs/tags" }
In repository 'repo', List tags Git refs as pair fields, using full names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)' refs/tags --sort=-refname" }
In repository 'repo', List tags Git refs as pair fields, using short names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)' refs/tags --sort=-refname" }
In repository 'repo', List all Git refs as name fields, using full names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname)'" }
In repository 'repo', List all Git refs as name fields, using short names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname:short)'" }
In repository 'repo', List all Git refs as name fields, using full names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname)' --sort=-refname" }
In repository 'repo', List all Git refs as name fields, using short names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(refname:short)' --sort=-refname" }
In repository 'repo', List all Git refs as pair fields, using full names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)'" }
In repository 'repo', List all Git refs as pair fields, using short names in normal refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)'" }
In repository 'repo', List all Git refs as pair fields, using full names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname)' --sort=-refname" }
In repository 'repo', List all Git refs as pair fields, using short names in reverse refname order.
{ "kind": "COMMAND", "value": "git -C repo for-each-ref '--format=%(objectname) %(refname:short)' --sort=-refname" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~2 for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~2'" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~2 under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~2' -- src" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~2 under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~2' -- docs" }
In repository 'repo', List names only from Git tree HEAD~2 for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~2'" }
In repository 'repo', List names only from Git tree HEAD~2 under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~2' -- src" }
In repository 'repo', List names only from Git tree HEAD~2 under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~2' -- docs" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~1 for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~1'" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~1 under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~1' -- src" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD~1 under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name 'HEAD~1' -- docs" }
In repository 'repo', List names only from Git tree HEAD~1 for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~1'" }
In repository 'repo', List names only from Git tree HEAD~1 under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~1' -- src" }
In repository 'repo', List names only from Git tree HEAD~1 under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only 'HEAD~1' -- docs" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name HEAD" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name HEAD -- src" }
In repository 'repo', List full mode, type, object id, and path entries from Git tree HEAD under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name HEAD -- docs" }
In repository 'repo', List names only from Git tree HEAD for all paths.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only HEAD" }
In repository 'repo', List names only from Git tree HEAD under path 'src'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only HEAD -- src" }
In repository 'repo', List names only from Git tree HEAD under path 'docs'.
{ "kind": "COMMAND", "value": "git -C repo ls-tree -r --full-name --name-only HEAD -- docs" }
In repository 'repo', Print the local Git object HEAD type.
{ "kind": "COMMAND", "value": "git -C repo cat-file -t HEAD" }
In repository 'repo', Print the local Git object HEAD^{tree} type.
{ "kind": "COMMAND", "value": "git -C repo cat-file -t 'HEAD^{tree}'" }
In repository 'repo', Print the local Git object HEAD pretty.
{ "kind": "COMMAND", "value": "git -C repo cat-file -p HEAD" }
In repository 'repo', Print the local Git object HEAD^{tree} pretty.
{ "kind": "COMMAND", "value": "git -C repo cat-file -p 'HEAD^{tree}'" }
In repository 'repo', Resolve Git selector 'HEAD' in repository 'repo'.
{ "kind": "COMMAND", "value": "git -C repo rev-parse HEAD" }
In repository 'repo', Resolve Git selector 'HEAD' in repository 'repo' in abbreviated form.
{ "kind": "COMMAND", "value": "git -C repo rev-parse --short HEAD" }
In repository 'repo', Resolve Git selector 'HEAD^{tree}' in repository 'repo'.
{ "kind": "COMMAND", "value": "git -C repo rev-parse 'HEAD^{tree}'" }
In repository 'repo', Resolve Git selector 'HEAD^{tree}' in repository 'repo' in abbreviated form.
{ "kind": "COMMAND", "value": "git -C repo rev-parse --short 'HEAD^{tree}'" }
In repository 'repo', Describe HEAD using the nearest Git tag with Git's default abbreviation.
{ "kind": "COMMAND", "value": "git -C repo describe --tags" }
In repository 'repo', Describe HEAD using the nearest Git tag and abbreviation length 7.
{ "kind": "COMMAND", "value": "git -C repo describe --tags --abbrev=7" }
In repository 'repo', Describe HEAD using the nearest Git tag and abbreviation length 10.
{ "kind": "COMMAND", "value": "git -C repo describe --tags --abbrev=10" }
In repository 'repo', Preview Git clean with directories excluded and ignored paths included.
{ "kind": "COMMAND", "value": "git -C repo clean -n -x" }
In repository 'repo', Preview Git clean with directories included and ignored paths included.
{ "kind": "COMMAND", "value": "git -C repo clean -n -d -x" }
In repository 'repo', List local Git stashes as reflog selector and subject fields.
{ "kind": "COMMAND", "value": "git -C repo stash list --format='%gd %s'" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "eng"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"eng\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "sales"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"sales\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "ops"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"ops\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq ""; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq null; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == null)))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "missing"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"missing\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "finance"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"finance\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `dept` eq "Eng"; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(.dept == \"Eng\")))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 0; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 0))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 3; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 3))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 6; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 6))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 9; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 9))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 12; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 12))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 15; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 15))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt -1; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > -1))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gt 20; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score > 20))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gte 0; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score >= 0))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gte 3; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score >= 3))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gte 5; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score >= 5))))' inputs/data.json" }
Read the JSON array in `inputs/data.json`; keep records whose `score` gte 8; write compact JSON. Keep nulls and empty strings distinct.
{ "kind": "COMMAND", "value": "jq -c '(. | map(select(((.score | type) == \"number\" and .score >= 8))))' inputs/data.json" }