text stringclasses 144
values |
|---|
HTTP/2 200 |
server: GitHub.com |
date: Sun, 02 Aug 2026 00:00:00 GMT |
content-type: application/json; charset=utf-8 |
``` |
User: How do I check system RAM usage? |
Assistant: Run `free -h` |
```session |
$ curl -I https://api.github.com |
HTTP/2 200 |
server: GitHub.com |
date: Sun, 02 Aug 2026 00:00:00 GMT |
content-type: application/json; charset=utf-8 |
``` |
User: How do I view open listening network ports? |
Assistant: Run `netstat -tulpn` |
User: How do I copy a local file to a remote server using scp? |
Assistant: Run `scp -P 2222 local_file.txt user@remote-host:/tmp/` |
User: How do I stage all changed files in git? |
Assistant: Run `git add .` |
User: How do I commit staged changes with a message? |
Assistant: Run `git commit -m "feat: implement terminal parser"` |
User: How do I create an empty file? |
Assistant: Run `touch index.js` |
User: How do I check disk space usage in human readable format? |
Assistant: Run `df -h` |
```session |
$ cd .. |
$ pwd |
/home/user |
$ ls -la |
total 32 |
drwxr-xr-x 4 user user 4096 Aug 2 00:00 . |
drwxr-xr-x 8 user user 4096 Aug 2 00:00 .. |
-rw-r--r-- 1 user user 220 Aug 2 00:00 .bashrc |
``` |
```session |
$ git commit -m "fix: resolve permission issue" |
[main a1b2c3d] fix: resolve permission issue |
2 files changed, 14 insertions(+), 3 deletions(-) |
$ git push origin main |
To github.com:user/repo.git |
e4f5g6h..a1b2c3d main -> main |
``` |
User: How do I build a Docker image with tag? |
Assistant: Run `docker build -t myapp:latest .` |
User: How do I install python packages from requirements? |
Assistant: Run `pip install -r requirements.txt` |
User: How do I install npm dependencies? |
Assistant: Run `npm install` |
```session |
$ grep -rn "import torch" src/ |
src/model.py:1:import torch |
src/train.py:2:import torch |
src/utils.py:1:import torch |
``` |
User: How do I move or rename a file? |
Assistant: Run `mv old_filename.txt new_filename.txt` |
User: How do I create an empty file? |
Assistant: Run `touch index.js` |
```session |
$ cd .. |
$ pwd |
/home/user |
$ ls -la |
total 32 |
drwxr-xr-x 4 user user 4096 Aug 2 00:00 . |
drwxr-xr-x 8 user user 4096 Aug 2 00:00 .. |
-rw-r--r-- 1 user user 220 Aug 2 00:00 .bashrc |
``` |
User: How do I create and switch to a new git branch? |
Assistant: Run `git checkout -b feature/new-architecture` |
```session |
$ git commit -m "fix: resolve permission issue" |
[main a1b2c3d] fix: resolve permission issue |
2 files changed, 14 insertions(+), 3 deletions(-) |
$ git push origin main |
To github.com:user/repo.git |
e4f5g6h..a1b2c3d main -> main |
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.