Evan Harmon - Memex

Nix

img A Unix-like operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-like application is one that behaves like the corresponding Unix command or shell. Although there are general philosophies for Unix design, there is no technical standard defining the term, and opinions can differ about the degree to which a particular operating system or application is Unix-like.
wikipedia:: Unix-like

System

  • Everything is a file
    • directories are files, keyboards (are represented by a file), hard drives, etc.

System Freeze

  • REISUB

Shutdown & Reboot

  • shutdown
  • halt
  • reboot
  • -h now
    • Shutdown and stay off
  • -r now
    • Reboot

OS

  • cat /proc/version
    • version of unix
  • cat /etc/os-release
  • cat /etc/*-release file
  • uname
    • name of OS’s kernel
    • -a
  • lsb_release -a

Startup Message

  • Display Ip Address on Startup
    • On CentOS 7 and Debian 8 (and maybe other as well), just append the following line to /etc/issue My IP address: \4 and that will resolve to the machine's IPv4 address. If you have multiple network interfaces and you want to pick one specific, you can specify it with My IP address: \4{eth0}

X

  • Virtual Terminals
    • Ctrl-alt-F1-F6
      • Start a numbered virtual terminal
    • Ctrl-alt-F7
      • Exit

Commands

  • startx
    • the original way to launch the desktop environment/GUI from the terminal
  • neofetch
    great looking way to capture your system’s info, OS, CPU, etc. and share
    it easily (Linux, Mac, Windows)
  • hostnamectl
  • hostname
  • host
  • mail command
  • uptime

Hardware

Commands

  • cat /proc/cpuinfo
  • cat /proc/meminfo
  • cpu temp
    • cat /sys/class/thermal/thermal_zone0/temp ? didn’t work
    • lmsensors app
      • sudo sensors-detect to setup lmsensors
      • then sensors to run it
  • screenfetch
  • hardinfo
  • lshw
    • -short
    • -html > sysinfo.html
  • lscpu
  • lspci
  • lsusb
  • free
  • arch

Security & Privacy

Windows

Sources

Inbox

  • Headless Chrome
  • nohup
    • run a command with no hangups
  • dmesg
    • to check the kernel log for anything odd
Nix
Interactive graph
On this page
Nix
Nix Distributions
Shell
System
System Freeze
Shutdown & Reboot
OS
Startup Message
X
Commands
Hardware
Commands
Nix Services, Processes, & init System
Nix Data
nix Files & Directories
Shell Text Processing
nix Networking & Internet
nix Users, Permissions, & Ownersuip
nix Apps & Packaging
nix GUI Apps
Security & Privacy
Windows
Windows Subsystem for Linux
Git Bash
Sources
Inbox