this post was submitted on 16 Dec 2025
165 points (98.2% liked)

Linux

63252 readers
456 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I've been setting up a new Proxmox server and messing around with VMs, and wanted to know what kind of useful commands I'm missing out on. Bonus points for a little explainer.

Journalctl | grep -C 10 'foo' was useful for me when I needed to troubleshoot some fstab mount fuckery on boot. It pipes Journalctl (boot logs) into grep to find 'foo', and prints 10 lines before and after each instance of 'foo'.

you are viewing a single comment's thread
view the rest of the comments
[–] utopiah@lemmy.ml 1 points 2 months ago
fabien@debian2080ti:~$ history  | sed 's/ ..... //' | sort | uniq -c | sort -n | tail
# with parameters
     13 cd Prototypes/
     14 adb disconnect; cd ~/Downloads/Shows/ ; adb connect videoprojector ;
     14 cd ..
     21 s # alias s='ssh shell -t "screen -raAD"'
     36 node .
     36 ./todo 
     42 vi index.js 
     42 vi todo # which I use as metadata or starting script in ~/Prototypes
     44 ls
    105 lr # alias lr="ls -lrth"
fabien@debian2080ti:~$ history  | sed 's/ ..... //' | sed 's/ .*//' | sort | uniq -c | sort -n | tail
# without parameters
     35 rm
     36 node
     36 ./todo
     39 git
     39 mv
     70 ls
     71 adb
     96 cd
    110 lr
    118 vi