Tag: terminal

  • Come gestire le date in bash

    Se dovete manipolare ore, giorni, mesi in bash ecco a voi una tabella semplice semplice per gestirli comodamente. Lo script vi permette di visualizzare l’ora e minuti senza simboli in mezzo (scoprirete nei prossimi articoli l’utilità specifica). #!/bin/bash string=`date ‘+%H%M’` echo string Cambiate le lettere o aggiungetele in base alle vostre esigenze: %a locale’s abbreviated […]

  • Come fare gli aggiornamenti di macOS da terminale

    L’App Store su macOS c’è oramai da diversi anni ed è molto comodo e user friendly. Resta però un fatto che ancora oggi il terminale non ha perso il suo fascino, quindi ecco a voi come fare l’aggiornamento delle vostre app (chiamarli programmi suona strano da un’App Store). Per la lista degli aggiornamenti da fare […]

  • How to set locale variables automatically

    On macOS of course, because in Ubuntu and other distro you probably already have. So… open terminal and create a new file: sudo nano ~/.profile Then paste this two line and save: export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 You need to have the mark on “Set locale environment variables on startup” like in the screenshot.

  • How to sniff iPhone web traffic with Wireshark

    Open Xcode and click on top Devices like in the image below: Copy the identifier (in the black row): Now open the terminal and paste: rvictl -s idcopyed If it show: Starting device identifiercopiato [SUCCEEDED] with interface rvi0 Open Wireshark and start sniffing from rvi0. Voilà!