tail auf verschiedene Dateien innerhalb des Verzeichnisbaums
tail -f -n 1 */log/app.log
tail auf verschiedene Dateien innerhalb des Verzeichnisbaums
tail -f -n 1 */log/app.log
### download core | |
``` | |
brew tap --force homebrew/core | |
``` | |
### ansible@7 open Formula and comment out "!disable-row" | |
``` | |
brew edit ansible@7 | |
``` | |
### install ansible@7 | |
``` |
# create local fonts folder, if not existing | |
mkdir $HOME/.local/share/fonts | |
# copy desired font to fonts folder (wsl2-style) | |
cp /mnt/c/Users/pinkyanddabrain/Downloads/JetBrainsMono-2.304/fonts/ttf/* $HOME/.local/share/fonts/ | |
# reset font cache | |
fc-cache -f $HOME/.local/share/fonts | |
# restart terminal - now you can choose the installed font e.g. in terminator |
lsof | grep '(deleted)' | |
# stop/kill corresponding service |
## /etc/modprobe.d/modprobe.conf | |
options snd_intel_dspcfg dsp_driver=2 | |
## init 6 |
-> where to place? | |
/etc/profile.d/aliases.sh | |
-> ansible example | |
- name: Ensure aliases are present in /etc/profile.d/aliases.sh | |
lineinfile: | |
path: /etc/profile.d/aliases.sh | |
line: "{{ item }}" | |
loop: | |
- "alias sudi='sudo -i'" |
## install docker | |
yum check-update | |
curl -fsSL https://get.docker.com/ | sh | |
systemctl start docker | |
systemctl status docker | |
systemctl enable docker | |
-> docker with non-root user | |
usermod -aG docker $(whoami) |
[Strg]+[Win]+[Alt] für ca. 5-10 Sekunden gedrückt halten. (bei Notebooks [Strg]+[Alt]+[Fn]) | |
Das hat offenbar bei einigen Leuten gut funktioniert :) | |
siehe auch hier: | |
https://social.technet.microsoft.com/Forums/office/en-US/2f965e8a-d9d3-4c80-b0d7-c6560999ee4c/only-numerics-key-5-and-6-work-and-keyboard?forum=w7itprohardware |
git config --global user.email "email@example.com" |
#!/bin/bash | |
set -x | |
echo "[$(date "+%Y-%m-%d %H:%M:%S")] started ..." | |
# set date | |
month=$(date +"%-m") | |
month_prev=$((month - 3)) | |
month_end=$month | |
month_start=$(date -d "$(date +%Y-%m-1) -3 month" +%-m) |