Skip to content

Instantly share code, notes, and snippets.

@celsopalmeiraneto
Last active February 10, 2024 15:26
Show Gist options
  • Save celsopalmeiraneto/71568bbb149a57cae70779e202831d1c to your computer and use it in GitHub Desktop.
Save celsopalmeiraneto/71568bbb149a57cae70779e202831d1c to your computer and use it in GitHub Desktop.
Celsos Linux Cheat Sheet

Celso's Linux / Unix Cheat Sheet

Applications

uname

Print Kernel and other software / device info, including Linux version:

uname -a

lsof

Lists open files. The command below lists also which processes are listening to a given port:

lsof -i -P -n

Proc

Wifi Info

In order to show RSSI and Noise for the wifi, cat the following file:

cat /proc/net/wireless

Servers

Pipewire

Pipewire is the audio manager for Debian 12, so, restarting it takes the following command:

systemctl restart --user pipewire

PulseAudio

Sometimes the on-board audio devices don't work on my E14 Gen3 running Debian 5.18.16-1~bpo11+1. Running the following command solves the issue:

systemctl --user restart pulseaudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment