Tag: Terminal

A Terminal is a command-line interface application that allows users to interact with their computer using text-based commands for various tasks and operations.

  • sudo -s = Root Shell

    sudo -s = Root Shell

    By

    in

    –

    Just as a reminder for future usage: sudo -s opens a shell with the privileges of the target user, usually root. You can then run commands without typing sudo every time. Be careful: commands in this shell run with elevated privileges. Use exit to leave the root shell. Photo by Jake Walker on Unsplash

    Read more

  • Linux: display user account information

    Linux: display user account information

    By

    in

    –

    When dealing with Linux systems and user administration, it might be necessary to get information about user accounts on the system. There are multiple ways to get such information. This post summarizes some possibilities. lslogins Command – list users and groups The lslogins command gives you an overview of users and groups, not only regarding their account…

    Read more

  • Terminal: Größe eines Verzeichnisses ausgeben

    By

    in

    –

    Um die Größe eines Verzeichnisses unter macOS im Terminal auszugeben, kann man den Befehl du verwenden. Hier ist ein Beispiel, wie man die Größe eines Verzeichnisses ausgeben lässt: Das -s-Option gibt die zusammengefasste Größe aller Unterverzeichnisse aus, während das -h-Option die Größe in einer lesbaren Form (z.B. KB, MB, GB) ausgibt. Oder ein Beispiel für…

    Read more

  • Konsole: prüfen ob ein Port geöffnet ist

    By

    in

    –

    Mit folgendem Befehl kann man aus der Konsole heraus schnell prüfen, ob ein Port zu einem Server geöffnet ist: nc -z <host> <port>; echo $? Der Rückgabewert 0 heißt der Port ist offen. 1 wird bei geschlossenem Port zurückgegeben.

    Read more

  • Windows7 x64 nebst OS X Lion

    By

    in

    –

    Mit dieser Anleitung wird nun auch die letzte “Hürde” genommen um ein MacBook Pro (getestet mit Early 2008) mit 2 Festplatten (oder auch SSD/SSD oder SSD/HDD-Kombi) statt dem obsoleten optischen Laufwerk auszustatten. Aus dem Umbau folgt ein Ärgernis welches nicht ausschließlich mit Boardmitteln von 10.7 bekämpft werden kann. Durch den Umbau kann Windows nichtmehr mit…

    Read more

  • Rekursive Deinstallation (uninstall) eines ports (Macports)

    By

    in ,

    –

    Um einen port (portname) und dessen abhängige ports zu deinstallieren ist folgende Zeile im Terminal notwendig. sudo port uninstall –follow-dependents portname

    Read more