completion stringlengths 1 920 | category stringclasses 18
values | conversations listlengths 2 2 |
|---|---|---|
python3 -m http.server 8000 | web | [
{
"from": "human",
"value": "Converta para comando linux: Servidor HTTP simples Python"
},
{
"from": "gpt",
"value": "python3 -m http.server 8000"
}
] |
python3 -m http.server --directory /share 8000 | web | [
{
"from": "human",
"value": "Converta para comando linux: Servidor HTTP Python com diretório"
},
{
"from": "gpt",
"value": "python3 -m http.server --directory /share 8000"
}
] |
nc -l -p 8000 < backup.tar.gz | files | [
{
"from": "human",
"value": "Converta para comando linux: Compartilhamento rápido de arquivos"
},
{
"from": "gpt",
"value": "nc -l -p 8000 < backup.tar.gz"
}
] |
nc 192.168.1.100 8000 > backup.tar.gz | files | [
{
"from": "human",
"value": "Converta para comando linux: Receber arquivo"
},
{
"from": "gpt",
"value": "nc 192.168.1.100 8000 > backup.tar.gz"
}
] |
nc -l -p 9999 | network | [
{
"from": "human",
"value": "Converta para comando linux: Bater papo com netcat"
},
{
"from": "gpt",
"value": "nc -l -p 9999"
}
] |
curl -I https://archlinux.org | web | [
{
"from": "human",
"value": "Converta para comando linux: Verificar cabeçalhos do site"
},
{
"from": "gpt",
"value": "curl -I https://archlinux.org"
}
] |
curl -C - -O http://example.com/file.iso | web | [
{
"from": "human",
"value": "Converta para comando linux: Baixar com retomada"
},
{
"from": "gpt",
"value": "curl -C - -O http://example.com/file.iso"
}
] |
wget -r -l 2 http://example.com | web | [
{
"from": "human",
"value": "Converta para comando linux: Wget recursivo"
},
{
"from": "gpt",
"value": "wget -r -l 2 http://example.com"
}
] |
wget -mkEpnp http://example.com | web | [
{
"from": "human",
"value": "Converta para comando linux: Espelhar site"
},
{
"from": "gpt",
"value": "wget -mkEpnp http://example.com"
}
] |
git status -s | git | [
{
"from": "human",
"value": "Converta para comando linux: Verificar status do Git"
},
{
"from": "gpt",
"value": "git status -s"
}
] |
git clone https://github.com/archlinux/archlinux.org.git | git | [
{
"from": "human",
"value": "Converta para comando linux: Clonar repositório Git"
},
{
"from": "gpt",
"value": "git clone https://github.com/archlinux/archlinux.org.git"
}
] |
git pull origin main | git | [
{
"from": "human",
"value": "Converta para comando linux: Git pull"
},
{
"from": "gpt",
"value": "git pull origin main"
}
] |
git add . | git | [
{
"from": "human",
"value": "Converta para comando linux: Adicionar Git"
},
{
"from": "gpt",
"value": "git add ."
}
] |
git commit -m ""Update config"" | git | [
{
"from": "human",
"value": "Converta para comando linux: Git commit"
},
{
"from": "gpt",
"value": "git commit -m \"\"Update config\"\""
}
] |
git push origin main | git | [
{
"from": "human",
"value": "Converta para comando linux: Git push"
},
{
"from": "gpt",
"value": "git push origin main"
}
] |
git log --oneline -n 10 | git | [
{
"from": "human",
"value": "Converta para comando linux: Git log"
},
{
"from": "gpt",
"value": "git log --oneline -n 10"
}
] |
git diff HEAD~1 | git | [
{
"from": "human",
"value": "Converta para comando linux: Git diff"
},
{
"from": "gpt",
"value": "git diff HEAD~1"
}
] |
git stash save ""WIP"" | git | [
{
"from": "human",
"value": "Converta para comando linux: Git stash"
},
{
"from": "gpt",
"value": "git stash save \"\"WIP\"\""
}
] |
git branch -a | git | [
{
"from": "human",
"value": "Converta para comando linux: Git branch"
},
{
"from": "gpt",
"value": "git branch -a"
}
] |
git checkout -b new-feature | git | [
{
"from": "human",
"value": "Converta para comando linux: Git checkout"
},
{
"from": "gpt",
"value": "git checkout -b new-feature"
}
] |
git merge feature --no-ff | git | [
{
"from": "human",
"value": "Converta para comando linux: Git merge"
},
{
"from": "gpt",
"value": "git merge feature --no-ff"
}
] |
git rebase -i HEAD~5 | git | [
{
"from": "human",
"value": "Converta para comando linux: Git rebase"
},
{
"from": "gpt",
"value": "git rebase -i HEAD~5"
}
] |
git reset --soft HEAD~1 | git | [
{
"from": "human",
"value": "Converta para comando linux: Git reset"
},
{
"from": "gpt",
"value": "git reset --soft HEAD~1"
}
] |
git tag -a v1.0 -m ""Release 1.0"" | git | [
{
"from": "human",
"value": "Converta para comando linux: Git tag"
},
{
"from": "gpt",
"value": "git tag -a v1.0 -m \"\"Release 1.0\"\""
}
] |
git remote -v | git | [
{
"from": "human",
"value": "Converta para comando linux: Git remote"
},
{
"from": "gpt",
"value": "git remote -v"
}
] |
git fetch --prune | git | [
{
"from": "human",
"value": "Converta para comando linux: Git fetch"
},
{
"from": "gpt",
"value": "git fetch --prune"
}
] |
git clean -fd | git | [
{
"from": "human",
"value": "Converta para comando linux: Git clean"
},
{
"from": "gpt",
"value": "git clean -fd"
}
] |
git blame -L 10, 20 script.sh | git | [
{
"from": "human",
"value": "Converta para comando linux: Git blame"
},
{
"from": "gpt",
"value": "git blame -L 10, 20 script.sh"
}
] |
git bisect start | git | [
{
"from": "human",
"value": "Converta para comando linux: Git bisect"
},
{
"from": "gpt",
"value": "git bisect start"
}
] |
git submodule update --init --recursive | git | [
{
"from": "human",
"value": "Converta para comando linux: Git submodule"
},
{
"from": "gpt",
"value": "git submodule update --init --recursive"
}
] |
git worktree add ../hotfix hotfix-branch | git | [
{
"from": "human",
"value": "Converta para comando linux: Git worktree"
},
{
"from": "gpt",
"value": "git worktree add ../hotfix hotfix-branch"
}
] |
file -i document.txt | files | [
{
"from": "human",
"value": "Converta para comando linux: Verificar codificação de arquivos"
},
{
"from": "gpt",
"value": "file -i document.txt"
}
] |
iconv -f ISO-8859-1 -t UTF-8 old.txt -o new.txt | files | [
{
"from": "human",
"value": "Converta para comando linux: Converter codificação"
},
{
"from": "gpt",
"value": "iconv -f ISO-8859-1 -t UTF-8 old.txt -o new.txt"
}
] |
cat -A script.sh | files | [
{
"from": "human",
"value": "Converta para comando linux: Verificar finais de linha"
},
{
"from": "gpt",
"value": "cat -A script.sh"
}
] |
dos2unix script.sh | files | [
{
"from": "human",
"value": "Converta para comando linux: Converter DOS para Unix"
},
{
"from": "gpt",
"value": "dos2unix script.sh"
}
] |
unix2dos script.sh | files | [
{
"from": "human",
"value": "Converta para comando linux: Converter Unix para DOS"
},
{
"from": "gpt",
"value": "unix2dos script.sh"
}
] |
aspell check document.txt | files | [
{
"from": "human",
"value": "Converta para comando linux: Verificar ortografia"
},
{
"from": "gpt",
"value": "aspell check document.txt"
}
] |
cloc /home/user/project | development | [
{
"from": "human",
"value": "Converta para comando linux: Contar linhas de código"
},
{
"from": "gpt",
"value": "cloc /home/user/project"
}
] |
ctags -R . | development | [
{
"from": "human",
"value": "Converta para comando linux: Gerar tags"
},
{
"from": "gpt",
"value": "ctags -R ."
}
] |
grep -r "TODO\|FIXME" src/ | development | [
{
"from": "human",
"value": "Converta para comando linux: Encontrar comentários TODO"
},
{
"from": "gpt",
"value": "grep -r \"TODO\\|FIXME\" src/"
}
] |
man 5 passwd | system | [
{
"from": "human",
"value": "Converta para comando linux: Verificar páginas man"
},
{
"from": "gpt",
"value": "man 5 passwd"
}
] |
man -k "network" | system | [
{
"from": "human",
"value": "Converta para comando linux: Pesquisar páginas man"
},
{
"from": "gpt",
"value": "man -k \"network\""
}
] |
man -t bash | ps2pdf - > bash.pdf | system | [
{
"from": "human",
"value": "Converta para comando linux: Página man para PDF"
},
{
"from": "gpt",
"value": "man -t bash | ps2pdf - > bash.pdf"
}
] |
info coreutils | system | [
{
"from": "human",
"value": "Converta para comando linux: Verificar páginas info"
},
{
"from": "gpt",
"value": "info coreutils"
}
] |
info --apropos=""file system"" | system | [
{
"from": "human",
"value": "Converta para comando linux: Informação curta"
},
{
"from": "gpt",
"value": "info --apropos=\"\"file system\"\""
}
] |
man ascii | development | [
{
"from": "human",
"value": "Converta para comando linux: Ver tabela ASCII"
},
{
"from": "gpt",
"value": "man ascii"
}
] |
cal -3 | system | [
{
"from": "human",
"value": "Converta para comando linux: Calendário"
},
{
"from": "gpt",
"value": "cal -3"
}
] |
date -R | system | [
{
"from": "human",
"value": "Converta para comando linux: Data no formato RFC"
},
{
"from": "gpt",
"value": "date -R"
}
] |
date "+%Y-%m-%d %H:%M:%S" | system | [
{
"from": "human",
"value": "Converta para comando linux: Formato de data personalizado"
},
{
"from": "gpt",
"value": "date \"+%Y-%m-%d %H:%M:%S\""
}
] |
sudo date -s "2024-01-15 10:30:00" | system | [
{
"from": "human",
"value": "Converta para comando linux: Definir data"
},
{
"from": "gpt",
"value": "sudo date -s \"2024-01-15 10:30:00\""
}
] |
time ls -R / | system | [
{
"from": "human",
"value": "Converta para comando linux: Temporizador para comando"
},
{
"from": "gpt",
"value": "time ls -R /"
}
] |
sleep 5 && echo ""Done"" | system | [
{
"from": "human",
"value": "Converta para comando linux: Dormir"
},
{
"from": "gpt",
"value": "sleep 5 && echo \"\"Done\"\""
}
] |
watch -n 2 free -h | system | [
{
"from": "human",
"value": "Converta para comando linux: Observar comando"
},
{
"from": "gpt",
"value": "watch -n 2 free -h"
}
] |
alias ll='ls -la' | system | [
{
"from": "human",
"value": "Converta para comando linux: Criar alias"
},
{
"from": "gpt",
"value": "alias ll='ls -la'"
}
] |
alias | system | [
{
"from": "human",
"value": "Converta para comando linux: Listar alias"
},
{
"from": "gpt",
"value": "alias"
}
] |
unalias ll | system | [
{
"from": "human",
"value": "Converta para comando linux: Remover alias"
},
{
"from": "gpt",
"value": "unalias ll"
}
] |
function mkcd { mkdir -p "$1" && cd "$1"; } | development | [
{
"from": "human",
"value": "Converta para comando linux: Criar função"
},
{
"from": "gpt",
"value": "function mkcd { mkdir -p \"$1\" && cd \"$1\"; }"
}
] |
declare -f | development | [
{
"from": "human",
"value": "Converta para comando linux: Listar funções"
},
{
"from": "gpt",
"value": "declare -f"
}
] |
printenv | system | [
{
"from": "human",
"value": "Converta para comando linux: Variáveis de ambiente"
},
{
"from": "gpt",
"value": "printenv"
}
] |
export PATH=$PATH:/new/path | system | [
{
"from": "human",
"value": "Converta para comando linux: Definir variável"
},
{
"from": "gpt",
"value": "export PATH=$PATH:/new/path"
}
] |
unset TEMP_VAR | system | [
{
"from": "human",
"value": "Converta para comando linux: Remover variável"
},
{
"from": "gpt",
"value": "unset TEMP_VAR"
}
] |
echo $PATH | system | [
{
"from": "human",
"value": "Converta para comando linux: Verificar variável"
},
{
"from": "gpt",
"value": "echo $PATH"
}
] |
export PATH=$PATH:/home/user/bin | system | [
{
"from": "human",
"value": "Converta para comando linux: Adicionar ao PATH"
},
{
"from": "gpt",
"value": "export PATH=$PATH:/home/user/bin"
}
] |
echo 'export PATH=$PATH:/home/user/bin' >> ~/.bashrc | system | [
{
"from": "human",
"value": "Converta para comando linux: PATH persistente"
},
{
"from": "gpt",
"value": "echo 'export PATH=$PATH:/home/user/bin' >> ~/.bashrc"
}
] |
history | grep ssh | system | [
{
"from": "human",
"value": "Converta para comando linux: Histórico de comandos"
},
{
"from": "gpt",
"value": "history | grep ssh"
}
] |
Ctrl+R then type ""ssh"" | system | [
{
"from": "human",
"value": "Converta para comando linux: Pesquisar histórico"
},
{
"from": "gpt",
"value": "Ctrl+R then type \"\"ssh\"\""
}
] |
!123 | system | [
{
"from": "human",
"value": "Converta para comando linux: Executar por número"
},
{
"from": "gpt",
"value": "!123"
}
] |
!! | system | [
{
"from": "human",
"value": "Converta para comando linux: Último comando"
},
{
"from": "gpt",
"value": "!!"
}
] |
!$ | system | [
{
"from": "human",
"value": "Converta para comando linux: Último argumento"
},
{
"from": "gpt",
"value": "!$"
}
] |
echo "Today is $(date)" | system | [
{
"from": "human",
"value": "Converta para comando linux: Substituição de comando"
},
{
"from": "gpt",
"value": "echo \"Today is $(date)\""
}
] |
diff <(ls dir1) <(ls dir2) | system | [
{
"from": "human",
"value": "Converta para comando linux: Substituição de processo"
},
{
"from": "gpt",
"value": "diff <(ls dir1) <(ls dir2)"
}
] |
sleep 30 & | system | [
{
"from": "human",
"value": "Converta para comando linux: Trabalho em segundo plano"
},
{
"from": "gpt",
"value": "sleep 30 &"
}
] |
jobs -l | system | [
{
"from": "human",
"value": "Converta para comando linux: Listar trabalhos"
},
{
"from": "gpt",
"value": "jobs -l"
}
] |
fg %1 | system | [
{
"from": "human",
"value": "Converta para comando linux: Trazar para primeiro plano"
},
{
"from": "gpt",
"value": "fg %1"
}
] |
bg %1 | system | [
{
"from": "human",
"value": "Converta para comando linux: Continuar em segundo plano"
},
{
"from": "gpt",
"value": "bg %1"
}
] |
disown %1 | system | [
{
"from": "human",
"value": "Converta para comando linux: Desligar trabalho"
},
{
"from": "gpt",
"value": "disown %1"
}
] |
screen -S mysession | system | [
{
"from": "human",
"value": "Converta para comando linux: Sessão de tela"
},
{
"from": "gpt",
"value": "screen -S mysession"
}
] |
tmux new -s work | system | [
{
"from": "human",
"value": "Converta para comando linux: Sessão tmux"
},
{
"from": "gpt",
"value": "tmux new -s work"
}
] |
tmux ls | system | [
{
"from": "human",
"value": "Converta para comando linux: Listar sessões tmux"
},
{
"from": "gpt",
"value": "tmux ls"
}
] |
Ctrl+b d | system | [
{
"from": "human",
"value": "Converta para comando linux: Desanexar tmux"
},
{
"from": "gpt",
"value": "Ctrl+b d"
}
] |
script session.log | files | [
{
"from": "human",
"value": "Converta para comando linux: Gravação de script"
},
{
"from": "gpt",
"value": "script session.log"
}
] |
scriptreplay timing.txt session.log | files | [
{
"from": "human",
"value": "Converta para comando linux: Script de reprodução"
},
{
"from": "gpt",
"value": "scriptreplay timing.txt session.log"
}
] |
echo $TERM | system | [
{
"from": "human",
"value": "Converta para comando linux: Verificar tipo de terminal"
},
{
"from": "gpt",
"value": "echo $TERM"
}
] |
export TERM=xterm-256color | system | [
{
"from": "human",
"value": "Converta para comando linux: Definir tipo de terminal"
},
{
"from": "gpt",
"value": "export TERM=xterm-256color"
}
] |
clear | system | [
{
"from": "human",
"value": "Converta para comando linux: Limpar tela"
},
{
"from": "gpt",
"value": "clear"
}
] |
reset | system | [
{
"from": "human",
"value": "Converta para comando linux: Reiniciar terminal"
},
{
"from": "gpt",
"value": "reset"
}
] |
echo -e '\a' | system | [
{
"from": "human",
"value": "Converta para comando linux: Som de sino"
},
{
"from": "gpt",
"value": "echo -e '\\a'"
}
] |
figlet "Hello" | development | [
{
"from": "human",
"value": "Converta para comando linux: Arte ASCII"
},
{
"from": "gpt",
"value": "figlet \"Hello\""
}
] |
banner "Warning" | development | [
{
"from": "human",
"value": "Converta para comando linux: Texto de banner"
},
{
"from": "gpt",
"value": "banner \"Warning\""
}
] |
cowsay "Hello Arch!" | development | [
{
"from": "human",
"value": "Converta para comando linux: Cowsay"
},
{
"from": "gpt",
"value": "cowsay \"Hello Arch!\""
}
] |
fortune | development | [
{
"from": "human",
"value": "Converta para comando linux: Sorte"
},
{
"from": "gpt",
"value": "fortune"
}
] |
shuf -n 1 /usr/share/fortune/* | development | [
{
"from": "human",
"value": "Converta para comando linux: Citação aleatória"
},
{
"from": "gpt",
"value": "shuf -n 1 /usr/share/fortune/*"
}
] |
cmatrix -a | development | [
{
"from": "human",
"value": "Converta para comando linux: Efeito matriz"
},
{
"from": "gpt",
"value": "cmatrix -a"
}
] |
aafire | development | [
{
"from": "human",
"value": "Converta para comando linux: Efeito de fogo"
},
{
"from": "gpt",
"value": "aafire"
}
] |
telnet towel.blinkenlights.nl | development | [
{
"from": "human",
"value": "Converta para comando linux: Star Wars Telnet"
},
{
"from": "gpt",
"value": "telnet towel.blinkenlights.nl"
}
] |
curl cheat.sh/tar | development | [
{
"from": "human",
"value": "Converta para comando linux: Folhas de dicas"
},
{
"from": "gpt",
"value": "curl cheat.sh/tar"
}
] |
tldr tar | development | [
{
"from": "human",
"value": "Converta para comando linux: Páginas TLDR"
},
{
"from": "gpt",
"value": "tldr tar"
}
] |
Use website or curl | development | [
{
"from": "human",
"value": "Converta para comando linux: Explicar shell"
},
{
"from": "gpt",
"value": "Use website or curl"
}
] |
pkgfile nano | system | [
{
"from": "human",
"value": "Converta para comando linux: Comando não encontrado"
},
{
"from": "gpt",
"value": "pkgfile nano"
}
] |
pacman -F /usr/bin/firefox | package | [
{
"from": "human",
"value": "Converta para comando linux: O que fornece o arquivo"
},
{
"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.