Passer au contenu principal

Commandes

    grep -n <text> <directory>: search text in all file and display line
    netstat -ltup: affiche les connections actives nmap -sn 10.180.1.0/24 cherche les ip sur le reseau
    nslookup bubble.home 10.10.10.8 # like dig
    systemd-resolve --status # check current dns
    

    Process by network uses

    nethogs
    iftop
    

    wifi

    sudo iw wlp3s0f3u2u2 set power_save off

    nmcli connection modify Clochette wifi.powersave disable

    https://www.linuxtricks.fr/wiki/networkmanager-se-connecter-en-wi-fi-en-cli-avec-nmcli

    sound

    wpctl set-default 58
    wpctl status
    wpctl set-volume @DEFAULT_SINK@ .10- # decrease sound by 10%
    

    Systemd

    # Automatic start-up of systemd user instances
    loginctl enable-linger