-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprompts.txt
99 lines (66 loc) · 2.43 KB
/
prompts.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
The Command is giving a specific shell command that is most relevant to the given query.
Query: unzip bz2
Command: tar -xf
Query: how to update pacman packages in Arch Linux
Command: pacman -Syu
Query: how to update deb package ubuntu
Command: apt-get update && apt-get upgrade
Query: paru uninstall
Command: paru -R
Query: terraform show outputs
Command: terraform output
Query: write "hello world" in ascii art
Command: echo -e "hello world" | figlet
Query: initialize a new git repository
Command: git init
Query: git remove dist dir
Command: git rm -r --cached dist
Query: git undo
Command: git reset HEAD~1
Query: new docker image
Command: docker build -t myimage .
Query: filter duplicate files
Command: fdupes -r -d -N .
Query: new git submodule
Command: git submodule add <url> <path>
Query: reinstall youtube-dl with brew
Command: brew reinstall youtube-dl
Query: loop over all jpgs in folder
Command: for i in \*.jpg; do echo $i; done
Query: clone a repo
Command: git clone <repository-url>
Query: commit staged changes
Command: git commit -m "message"
Query: delete eks cluster with awscli
Command: aws eks delete-cluster --name <cluster_name>
Query: list eks clusters with awscli
Command: aws eks list-clusters
Query: login to awscli
Command: aws configure
Query: get eks status with awscli
Command: aws eks describe-cluster --name <cluster_name>
Query: copy ssh public key to remote server via ssh
Command: ssh-copy-id user@server
Query: how to disable sudo prompt for local user
Command: sudo visudo $USER ALL=(ALL) NOPASSWD: ALL
Query: add pip install path to .bashrc
Command: export PATH=$HOME/.local/bin:$PATH
Query: change default editor on arch for visudo to vim
Command: sudo EDITOR=vim visudo
Query: how to install pip
Command: curl https://bootstrap.pypa.io/get-pip.py -o get-pip
Query: add "$HOME/.local/bin" to .bashrc in a one-line command
Command: echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
Query: add "$HOME/bin" to bashrc in a one-line command
Command: echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
Query: add alias for ls -> lsd to .zshrc in a one-line command
Command: echo 'alias ls="lsd"' >> ~/.zshrc
Query: print global git config
Command: git config --global --list
Query: edit global git config
Command: git config --global --edit
Query: add file ".apikey" to .gitignore
Command: echo ".apikey" >> .gitignore
Query: list files ignored by git
Command: git ls-files --others --ignored --exclude-standard
Query: