LINUX
* KeyboardLayout umstellen:
<blockquote>
loadkeys de
setxkbmap de
</blockquote>
Networking with DEBIAN jessie
<blockquote> invoke-rc.d networking restart </blockquote>
Note:
' invoke-rc.d networking $ACTION' is exactly the same
as running '/etc/init.d/networking $ACTION '
* Having multiple interfaces and you need to ifdown/ifup all of them at once:
<blockquote> sudo invoke-rc.d networking stop && invoke-rc.d networking start </blockquote>
* Dateien nach Alter anzeigen: <blockquote> ls -alt </blockquote>
Dateigrößen
<blockquote>
du -h | sort -h | less
df -h
ncdu
ls -la
</blockquote>
NixOS
- upgrade:
<blockquote> nixos-rebuild switch </blockquote>
- install
paket
<blockquote>
nix-env -i paket
</blockquote>
- allowUnfree:
<blockquote>
nix-env -i paket
–arg config '{ allowUnfree = true; }'
</blockquote>