Linux Tipps: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 37: Zeile 37:
 
  cat /etc/debian_version
 
  cat /etc/debian_version
 
  lsb_release -a
 
  lsb_release -a
 +
 +
 +
Update
 +
 +
sudo apt update && sudo apt -y full-upgrade
 +
[ -f /var/run/reboot-required ] && sudo reboot -f
 +
 +
 +
sudo apt install curl gpg gnupg2
 +
 +
curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox_2016.gpg
 +
curl -fsSL https://www.virtualbox.org/download/oracle_vbox.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox.gpg
 +
 +
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bullseye contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
 +
 +
 +
sudo apt update
 +
sudo apt install linux-headers-$(uname -r) dkms
 +
sudo apt install virtualbox virtualbox-ext-pack

Aktuelle Version vom 14. März 2022, 08:26 Uhr

Kali Linux Bildschirmauflössung richtig einstellen.

LVM Archlinux

Tree Tree für Linux CentOS. Install with "yum install tree" tree -L 3 -d //Level 3 only directorys


Linux script crontabs von Benutzer auflisten.


  1. !/bin/bash

for i in $(awk -F':' '{print $1}' /etc/passwd); do echo "Cronjobs by user $i:" sudo -u $i crontab -l done

Videobearbeitung mit avconv


  http://www.de.hscripts.com/tutorials/linux-commands/grep.html


KALI

Version anzeugen:

cat /etc/debian_version
lsb_release -a


Update

sudo apt update && sudo apt -y full-upgrade
[ -f /var/run/reboot-required ] && sudo reboot -f


sudo apt install curl gpg gnupg2
curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc%7Csudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox_2016.gpg
curl -fsSL https://www.virtualbox.org/download/oracle_vbox.asc%7Csudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox.gpg
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bullseye contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list


sudo apt update
sudo apt install linux-headers-$(uname -r) dkms
sudo apt install virtualbox virtualbox-ext-pack