| Shortcut | Description |
|---|---|
ranger |
Start Ranger |
Q |
Quit Ranger |
R |
Reload current directory |
? |
Ranger Manpages / Shortcuts |
| # www.fduran.com | |
| # redirect from apache port (:8080 for ex for tomcat etc) to subdomain | |
| # in apache config: | |
| <VirtualHost *:80> | |
| ServerName subdomain.example.com | |
| ProxyPass / http://127.0.0.1:8080/ | |
| ProxyPassReverse / http://127.0.0.1:8080/ | |
| </VirtualHost> |
| 17 Command Line Tools to Monitor Linux Performance | |
| 1. Top – Linux Process Monitoring | |
| used to dipslay all the running and active real-time processes in ordered list and updates it regularly. It display CPU usage, Memory usage, Swap Memory, Cache Size, Buffer Size, Process PID, User, Commands and much more. It also shows high memory and cpu utilization of a running processess. | |
| 2. VmStat – Virtual Memory Statistics | |
| used to display statistics of virtual memory, kernerl threads, disks, system processes, I/O blocks, interrupts, CPU activity and much more. | |
| 3. Lsof – List Open Files | |
| used to display list of all the open files and the processes. |
| <div id="container"> | |
| <!-- Edit the letter attr to: N, E, T, F, L, I or X --> | |
| <netflixintro letter="D"> | |
| <div class="helper-1"> | |
| <div class="effect-brush"> | |
| <span class="fur-31"></span> | |
| <span class="fur-30"></span> | |
| <span class="fur-29"></span> | |
| <span class="fur-28"></span> | |
| <span class="fur-27"></span> |
| <html> | |
| <head> | |
| <title>Your Page Title</title> | |
| <meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> | |
| </head> | |
| <body> | |
| Optional page text here. | |
| </body> | |
| </html> |
Terminator, ZSH (+ .zshrc) + Oh My Zsh + Powerlevel9k + plugins, Rust, FNM + VSCode (+ext) and Nerd Font
To setup Linux for WSL2, see this gist
| Section "InputClass" | |
| Identifier "touchpad" | |
| Driver "libinput" | |
| MatchIsTouchpad "on" | |
| Option "Tapping" "on" | |
| Option "TappingButtonMap" "lmr" | |
| EndSection |
| # Default termtype. If the rcfile sets $TERM, that overrides this value. | |
| set -g default-terminal screen-256color | |
| # support logging out and back in | |
| set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION" | |
| # pbcopy support | |
| set-option -g default-command "reattach-to-user-namespace -l bash" | |
| # vi mode |
Locking down a linux machine is getting easier by the day. Recent advancements in systemd-boot have enabled a host of features to help users ensure that their machines have not been tampered with. This guide provides a walkthrough of how to turn on many of these features during installation, as well as reasoning for why certain features help improve security.
The steps laid out below draw on a wide variety of existing resources, and in places I'll point to them rather than attempt to regurgitate full explanations of the various security components. The most significant one, which I highly encourage everyone to read, is Rod Smith's site about secure boot, which is the most comprehensive and cogent explanation of UEFI, boot managers and boot loaders, and secure boot. Another incredibly useful resources is Safeboot, which encapsulates many of the setup steps below in a Debian application.
