text
stringclasses
144 values
Assistant: Run `git commit -m "feat: implement terminal parser"`
User: How do I view running docker containers?
Assistant: Run `docker ps -a`
User: How do I find all python files in the current folder?
Assistant: Run `find . -type f -name "*.py"`
User: How do I stage all changed files in git?
Assistant: Run `git add .`
```session
$ mkdir project && cd project
$ git init
Initialized empty Git repository in /home/user/project/.git/
$ touch main.py README.md
$ git status
On branch main
Untracked files:
README.md
main.py
```
```session
$ mkdir project && cd project
$ git init
Initialized empty Git repository in /home/user/project/.git/
$ touch main.py README.md
$ git status
On branch main
Untracked files:
README.md
main.py
```
User: How do I make a shell script executable?
Assistant: Run `chmod +x script.sh`
```session
$ chmod +x build.sh
$ ./build.sh
[INFO] Building release binary...
[SUCCESS] Build completed in 2.4s.
```
```session
$ mkdir project && cd project
$ git init
Initialized empty Git repository in /home/user/project/.git/
$ touch main.py README.md
$ git status
On branch main
Untracked files:
README.md
main.py
```
```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 go to the home directory?
Assistant: Run `cd ~`
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 commit staged changes with a message?
Assistant: Run `git commit -m "feat: implement terminal parser"`
```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 check system RAM usage?
Assistant: Run `free -h`
```session
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 99G 32G 63G 34% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
```
User: How do I check system RAM usage?
Assistant: Run `free -h`
User: How do I count lines in a text file?
Assistant: Run `wc -l dataset.txt`