-
Find a Pravega Java process (while avoiding seeing a wall of text shown on
ps -ef | grep java
):pgrep -f logback.configurationFile
VIM:
- Copying file contents
- Yank the whole file:
$ ggVGy # Or alternatively: $ gg"*yG # gg - gets the cursor to the first character # "*y - Start the yank command to the register * from the first line # G - end of the file
- Yank the whole file:
Further Reading:
- Show IP addresses:
ip addr show
- Avoid having to type
sudo <command>
:sudo -s
- Disk space usage of a directory https://www.ostechnix.com/find-size-directory-linux/
- Remove all directories with name
build
:find -path "*/build/*" -delete
- Disk usage:
$ du -sh * $ du -sh <dir>
- Installing Minikube:
- https://kubernetes.io/docs/tasks/tools/install-minikube/
- I used steps mentioned here.
- Nano editor cheat sheet https://www.nano-editor.org/dist/latest/cheatsheet.html