completion stringlengths 1 920 | category stringclasses 18
values | conversations listlengths 2 2 |
|---|---|---|
python3 -m http.server 8000 | web | [
{
"from": "human",
"value": "Convert to Linux command: Python simple HTTP server"
},
{
"from": "gpt",
"value": "python3 -m http.server 8000"
}
] |
python3 -m http.server --directory /share 8000 | web | [
{
"from": "human",
"value": "Convert to Linux command: Python HTTP server with dir"
},
{
"from": "gpt",
"value": "python3 -m http.server --directory /share 8000"
}
] |
nc -l -p 8000 < backup.tar.gz | files | [
{
"from": "human",
"value": "Convert to Linux command: Quick file share"
},
{
"from": "gpt",
"value": "nc -l -p 8000 < backup.tar.gz"
}
] |
nc 192.168.1.100 8000 > backup.tar.gz | files | [
{
"from": "human",
"value": "Convert to Linux command: Receive file"
},
{
"from": "gpt",
"value": "nc 192.168.1.100 8000 > backup.tar.gz"
}
] |
nc -l -p 9999 | network | [
{
"from": "human",
"value": "Convert to Linux command: Chat with netcat"
},
{
"from": "gpt",
"value": "nc -l -p 9999"
}
] |
curl -I https://archlinux.org | web | [
{
"from": "human",
"value": "Convert to Linux command: Check website headers"
},
{
"from": "gpt",
"value": "curl -I https://archlinux.org"
}
] |
curl -C - -O http://example.com/file.iso | web | [
{
"from": "human",
"value": "Convert to Linux command: Download with resume"
},
{
"from": "gpt",
"value": "curl -C - -O http://example.com/file.iso"
}
] |
wget -r -l 2 http://example.com | web | [
{
"from": "human",
"value": "Convert to Linux command: Wget recursive"
},
{
"from": "gpt",
"value": "wget -r -l 2 http://example.com"
}
] |
wget -mkEpnp http://example.com | web | [
{
"from": "human",
"value": "Convert to Linux command: Mirror website"
},
{
"from": "gpt",
"value": "wget -mkEpnp http://example.com"
}
] |
git status -s | git | [
{
"from": "human",
"value": "Convert to Linux command: Check git status"
},
{
"from": "gpt",
"value": "git status -s"
}
] |
git clone https://github.com/archlinux/archlinux.org.git | git | [
{
"from": "human",
"value": "Convert to Linux command: Clone Git repo"
},
{
"from": "gpt",
"value": "git clone https://github.com/archlinux/archlinux.org.git"
}
] |
git pull origin main | git | [
{
"from": "human",
"value": "Convert to Linux command: Git pull"
},
{
"from": "gpt",
"value": "git pull origin main"
}
] |
git add . | git | [
{
"from": "human",
"value": "Convert to Linux command: Add Git"
},
{
"from": "gpt",
"value": "git add ."
}
] |
git commit -m ""Update config"" | git | [
{
"from": "human",
"value": "Convert to Linux command: Commit Git"
},
{
"from": "gpt",
"value": "git commit -m \"\"Update config\"\""
}
] |
git push origin main | git | [
{
"from": "human",
"value": "Convert to Linux command: Push Git"
},
{
"from": "gpt",
"value": "git push origin main"
}
] |
git log --oneline -n 10 | git | [
{
"from": "human",
"value": "Convert to Linux command: Git log"
},
{
"from": "gpt",
"value": "git log --oneline -n 10"
}
] |
git diff HEAD~1 | git | [
{
"from": "human",
"value": "Convert to Linux command: Git diff"
},
{
"from": "gpt",
"value": "git diff HEAD~1"
}
] |
git stash save ""WIP"" | git | [
{
"from": "human",
"value": "Convert to Linux command: Git stash"
},
{
"from": "gpt",
"value": "git stash save \"\"WIP\"\""
}
] |
git branch -a | git | [
{
"from": "human",
"value": "Convert to Linux command: Git branch"
},
{
"from": "gpt",
"value": "git branch -a"
}
] |
git checkout -b new-feature | git | [
{
"from": "human",
"value": "Convert to Linux command: Git checkout"
},
{
"from": "gpt",
"value": "git checkout -b new-feature"
}
] |
git merge feature --no-ff | git | [
{
"from": "human",
"value": "Convert to Linux command: Git merge"
},
{
"from": "gpt",
"value": "git merge feature --no-ff"
}
] |
git rebase -i HEAD~5 | git | [
{
"from": "human",
"value": "Convert to Linux command: Git rebase"
},
{
"from": "gpt",
"value": "git rebase -i HEAD~5"
}
] |
git reset --soft HEAD~1 | git | [
{
"from": "human",
"value": "Convert to Linux command: Git reset"
},
{
"from": "gpt",
"value": "git reset --soft HEAD~1"
}
] |
git tag -a v1.0 -m ""Release 1.0"" | git | [
{
"from": "human",
"value": "Convert to Linux command: Git tag"
},
{
"from": "gpt",
"value": "git tag -a v1.0 -m \"\"Release 1.0\"\""
}
] |
git remote -v | git | [
{
"from": "human",
"value": "Convert to Linux command: Git remote"
},
{
"from": "gpt",
"value": "git remote -v"
}
] |
git fetch --prune | git | [
{
"from": "human",
"value": "Convert to Linux command: Git fetch"
},
{
"from": "gpt",
"value": "git fetch --prune"
}
] |
git clean -fd | git | [
{
"from": "human",
"value": "Convert to Linux command: Git clean"
},
{
"from": "gpt",
"value": "git clean -fd"
}
] |
git blame -L 10, 20 script.sh | git | [
{
"from": "human",
"value": "Convert to Linux command: Git blame"
},
{
"from": "gpt",
"value": "git blame -L 10, 20 script.sh"
}
] |
git bisect start | git | [
{
"from": "human",
"value": "Convert to Linux command: Git bisect"
},
{
"from": "gpt",
"value": "git bisect start"
}
] |
git submodule update --init --recursive | git | [
{
"from": "human",
"value": "Convert to Linux command: Git submodule"
},
{
"from": "gpt",
"value": "git submodule update --init --recursive"
}
] |
git worktree add ../hotfix hotfix-branch | git | [
{
"from": "human",
"value": "Convert to Linux command: Git worktree"
},
{
"from": "gpt",
"value": "git worktree add ../hotfix hotfix-branch"
}
] |
file -i document.txt | files | [
{
"from": "human",
"value": "Convert to Linux command: Check file encoding"
},
{
"from": "gpt",
"value": "file -i document.txt"
}
] |
iconv -f ISO-8859-1 -t UTF-8 old.txt -o new.txt | files | [
{
"from": "human",
"value": "Convert to Linux command: Convert encoding"
},
{
"from": "gpt",
"value": "iconv -f ISO-8859-1 -t UTF-8 old.txt -o new.txt"
}
] |
cat -A script.sh | files | [
{
"from": "human",
"value": "Convert to Linux command: Check line endings"
},
{
"from": "gpt",
"value": "cat -A script.sh"
}
] |
dos2unix script.sh | files | [
{
"from": "human",
"value": "Convert to Linux command: Convert DOS to Unix"
},
{
"from": "gpt",
"value": "dos2unix script.sh"
}
] |
unix2dos script.sh | files | [
{
"from": "human",
"value": "Convert to Linux command: Convert Unix to DOS"
},
{
"from": "gpt",
"value": "unix2dos script.sh"
}
] |
aspell check document.txt | files | [
{
"from": "human",
"value": "Convert to Linux command: Check spelling"
},
{
"from": "gpt",
"value": "aspell check document.txt"
}
] |
cloc /home/user/project | development | [
{
"from": "human",
"value": "Convert to Linux command: Count code lines"
},
{
"from": "gpt",
"value": "cloc /home/user/project"
}
] |
ctags -R . | development | [
{
"from": "human",
"value": "Convert to Linux command: Generate tags"
},
{
"from": "gpt",
"value": "ctags -R ."
}
] |
grep -r "TODO\|FIXME" src/ | development | [
{
"from": "human",
"value": "Convert to Linux command: Find TODO comments"
},
{
"from": "gpt",
"value": "grep -r \"TODO\\|FIXME\" src/"
}
] |
man 5 passwd | system | [
{
"from": "human",
"value": "Convert to Linux command: Check man pages"
},
{
"from": "gpt",
"value": "man 5 passwd"
}
] |
man -k "network" | system | [
{
"from": "human",
"value": "Convert to Linux command: Search man pages"
},
{
"from": "gpt",
"value": "man -k \"network\""
}
] |
man -t bash | ps2pdf - > bash.pdf | system | [
{
"from": "human",
"value": "Convert to Linux command: Man page to PDF"
},
{
"from": "gpt",
"value": "man -t bash | ps2pdf - > bash.pdf"
}
] |
info coreutils | system | [
{
"from": "human",
"value": "Convert to Linux command: Check info pages"
},
{
"from": "gpt",
"value": "info coreutils"
}
] |
info --apropos=""file system"" | system | [
{
"from": "human",
"value": "Convert to Linux command: Short info"
},
{
"from": "gpt",
"value": "info --apropos=\"\"file system\"\""
}
] |
man ascii | development | [
{
"from": "human",
"value": "Convert to Linux command: View ASCII table"
},
{
"from": "gpt",
"value": "man ascii"
}
] |
cal -3 | system | [
{
"from": "human",
"value": "Convert to Linux command: Calendar"
},
{
"from": "gpt",
"value": "cal -3"
}
] |
date -R | system | [
{
"from": "human",
"value": "Convert to Linux command: Date in RFC format"
},
{
"from": "gpt",
"value": "date -R"
}
] |
date "+%Y-%m-%d %H:%M:%S" | system | [
{
"from": "human",
"value": "Convert to Linux command: Custom date format"
},
{
"from": "gpt",
"value": "date \"+%Y-%m-%d %H:%M:%S\""
}
] |
sudo date -s "2024-01-15 10:30:00" | system | [
{
"from": "human",
"value": "Convert to Linux command: Set date"
},
{
"from": "gpt",
"value": "sudo date -s \"2024-01-15 10:30:00\""
}
] |
time ls -R / | system | [
{
"from": "human",
"value": "Convert to Linux command: Timer for command"
},
{
"from": "gpt",
"value": "time ls -R /"
}
] |
sleep 5 && echo ""Done"" | system | [
{
"from": "human",
"value": "Convert to Linux command: Sleep"
},
{
"from": "gpt",
"value": "sleep 5 && echo \"\"Done\"\""
}
] |
watch -n 2 free -h | system | [
{
"from": "human",
"value": "Convert to Linux command: Watch command"
},
{
"from": "gpt",
"value": "watch -n 2 free -h"
}
] |
alias ll='ls -la' | system | [
{
"from": "human",
"value": "Convert to Linux command: Create alias"
},
{
"from": "gpt",
"value": "alias ll='ls -la'"
}
] |
alias | system | [
{
"from": "human",
"value": "Convert to Linux command: List aliases"
},
{
"from": "gpt",
"value": "alias"
}
] |
unalias ll | system | [
{
"from": "human",
"value": "Convert to Linux command: Remove alias"
},
{
"from": "gpt",
"value": "unalias ll"
}
] |
function mkcd { mkdir -p "$1" && cd "$1"; } | development | [
{
"from": "human",
"value": "Convert to Linux command: Create function"
},
{
"from": "gpt",
"value": "function mkcd { mkdir -p \"$1\" && cd \"$1\"; }"
}
] |
declare -f | development | [
{
"from": "human",
"value": "Convert to Linux command: List functions"
},
{
"from": "gpt",
"value": "declare -f"
}
] |
printenv | system | [
{
"from": "human",
"value": "Convert to Linux command: Environment variables"
},
{
"from": "gpt",
"value": "printenv"
}
] |
export PATH=$PATH:/new/path | system | [
{
"from": "human",
"value": "Convert to Linux command: Set variable"
},
{
"from": "gpt",
"value": "export PATH=$PATH:/new/path"
}
] |
unset TEMP_VAR | system | [
{
"from": "human",
"value": "Convert to Linux command: Unset variable"
},
{
"from": "gpt",
"value": "unset TEMP_VAR"
}
] |
echo $PATH | system | [
{
"from": "human",
"value": "Convert to Linux command: Check variable"
},
{
"from": "gpt",
"value": "echo $PATH"
}
] |
export PATH=$PATH:/home/user/bin | system | [
{
"from": "human",
"value": "Convert to Linux command: Add to PATH"
},
{
"from": "gpt",
"value": "export PATH=$PATH:/home/user/bin"
}
] |
echo 'export PATH=$PATH:/home/user/bin' >> ~/.bashrc | system | [
{
"from": "human",
"value": "Convert to Linux command: Persistent PATH"
},
{
"from": "gpt",
"value": "echo 'export PATH=$PATH:/home/user/bin' >> ~/.bashrc"
}
] |
history | grep ssh | system | [
{
"from": "human",
"value": "Convert to Linux command: Command history"
},
{
"from": "gpt",
"value": "history | grep ssh"
}
] |
Ctrl+R then type ""ssh"" | system | [
{
"from": "human",
"value": "Convert to Linux command: Search history"
},
{
"from": "gpt",
"value": "Ctrl+R then type \"\"ssh\"\""
}
] |
!123 | system | [
{
"from": "human",
"value": "Convert to Linux command: Execute by number"
},
{
"from": "gpt",
"value": "!123"
}
] |
!! | system | [
{
"from": "human",
"value": "Convert to Linux command: Last command"
},
{
"from": "gpt",
"value": "!!"
}
] |
!$ | system | [
{
"from": "human",
"value": "Convert to Linux command: Last argument"
},
{
"from": "gpt",
"value": "!$"
}
] |
echo "Today is $(date)" | system | [
{
"from": "human",
"value": "Convert to Linux command: Command substitution"
},
{
"from": "gpt",
"value": "echo \"Today is $(date)\""
}
] |
diff <(ls dir1) <(ls dir2) | system | [
{
"from": "human",
"value": "Convert to Linux command: Process substitution"
},
{
"from": "gpt",
"value": "diff <(ls dir1) <(ls dir2)"
}
] |
sleep 30 & | system | [
{
"from": "human",
"value": "Convert to Linux command: Background job"
},
{
"from": "gpt",
"value": "sleep 30 &"
}
] |
jobs -l | system | [
{
"from": "human",
"value": "Convert to Linux command: List jobs"
},
{
"from": "gpt",
"value": "jobs -l"
}
] |
fg %1 | system | [
{
"from": "human",
"value": "Convert to Linux command: Bring to foreground"
},
{
"from": "gpt",
"value": "fg %1"
}
] |
bg %1 | system | [
{
"from": "human",
"value": "Convert to Linux command: Continue in background"
},
{
"from": "gpt",
"value": "bg %1"
}
] |
disown %1 | system | [
{
"from": "human",
"value": "Convert to Linux command: Disown job"
},
{
"from": "gpt",
"value": "disown %1"
}
] |
screen -S mysession | system | [
{
"from": "human",
"value": "Convert to Linux command: Screen session"
},
{
"from": "gpt",
"value": "screen -S mysession"
}
] |
tmux new -s work | system | [
{
"from": "human",
"value": "Convert to Linux command: Tmux session"
},
{
"from": "gpt",
"value": "tmux new -s work"
}
] |
tmux ls | system | [
{
"from": "human",
"value": "Convert to Linux command: List tmux sessions"
},
{
"from": "gpt",
"value": "tmux ls"
}
] |
Ctrl+b d | system | [
{
"from": "human",
"value": "Convert to Linux command: Detach tmux"
},
{
"from": "gpt",
"value": "Ctrl+b d"
}
] |
script session.log | files | [
{
"from": "human",
"value": "Convert to Linux command: Script recording"
},
{
"from": "gpt",
"value": "script session.log"
}
] |
scriptreplay timing.txt session.log | files | [
{
"from": "human",
"value": "Convert to Linux command: Playback script"
},
{
"from": "gpt",
"value": "scriptreplay timing.txt session.log"
}
] |
echo $TERM | system | [
{
"from": "human",
"value": "Convert to Linux command: Check terminal type"
},
{
"from": "gpt",
"value": "echo $TERM"
}
] |
export TERM=xterm-256color | system | [
{
"from": "human",
"value": "Convert to Linux command: Set terminal type"
},
{
"from": "gpt",
"value": "export TERM=xterm-256color"
}
] |
clear | system | [
{
"from": "human",
"value": "Convert to Linux command: Clear screen"
},
{
"from": "gpt",
"value": "clear"
}
] |
reset | system | [
{
"from": "human",
"value": "Convert to Linux command: Reset terminal"
},
{
"from": "gpt",
"value": "reset"
}
] |
echo -e '\a' | system | [
{
"from": "human",
"value": "Convert to Linux command: Bell sound"
},
{
"from": "gpt",
"value": "echo -e '\\a'"
}
] |
figlet "Hello" | development | [
{
"from": "human",
"value": "Convert to Linux command: ASCII art"
},
{
"from": "gpt",
"value": "figlet \"Hello\""
}
] |
banner "Warning" | development | [
{
"from": "human",
"value": "Convert to Linux command: Banner text"
},
{
"from": "gpt",
"value": "banner \"Warning\""
}
] |
cowsay "Hello Arch!" | development | [
{
"from": "human",
"value": "Convert to Linux command: Cowsay"
},
{
"from": "gpt",
"value": "cowsay \"Hello Arch!\""
}
] |
fortune | development | [
{
"from": "human",
"value": "Convert to Linux command: Fortune"
},
{
"from": "gpt",
"value": "fortune"
}
] |
shuf -n 1 /usr/share/fortune/* | development | [
{
"from": "human",
"value": "Convert to Linux command: Random quote"
},
{
"from": "gpt",
"value": "shuf -n 1 /usr/share/fortune/*"
}
] |
cmatrix -a | development | [
{
"from": "human",
"value": "Convert to Linux command: Matrix effect"
},
{
"from": "gpt",
"value": "cmatrix -a"
}
] |
aafire | development | [
{
"from": "human",
"value": "Convert to Linux command: Fire effect"
},
{
"from": "gpt",
"value": "aafire"
}
] |
telnet towel.blinkenlights.nl | development | [
{
"from": "human",
"value": "Convert to Linux command: Star Wars telnet"
},
{
"from": "gpt",
"value": "telnet towel.blinkenlights.nl"
}
] |
curl cheat.sh/tar | development | [
{
"from": "human",
"value": "Convert to Linux command: Cheat sheets"
},
{
"from": "gpt",
"value": "curl cheat.sh/tar"
}
] |
tldr tar | development | [
{
"from": "human",
"value": "Convert to Linux command: TLDR pages"
},
{
"from": "gpt",
"value": "tldr tar"
}
] |
Use website or curl | development | [
{
"from": "human",
"value": "Convert to Linux command: Explain shell"
},
{
"from": "gpt",
"value": "Use website or curl"
}
] |
pkgfile nano | system | [
{
"from": "human",
"value": "Convert to Linux command: Command not found"
},
{
"from": "gpt",
"value": "pkgfile nano"
}
] |
pacman -F /usr/bin/firefox | package | [
{
"from": "human",
"value": "Convert to Linux command: What provides file"
},
{
"from": "gpt",
"value": "pacman -F /usr/bin/firefox"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.