Linux commands

Linux commands that I frequently use Open a file sudo vim server.log Open a log file and display the last 10 lines tail -f /opt/keycloak/standalone/log/server.log Exit vim without saving Press Esc Press “:” Press “q!” Save and exit vim Press Esc Press “:w” Press “:x” Create new file $ cat > daemon.json CTRL + D

Read More