1 lien privé
Guide complet pour maîtriser la gestion des paquets avec APT sous Linux : apt update, install, upgrade, remove et toutes les commandes essentielles sous Debian.
In this article, you will learn everything about Linux kernel boot parameters, how to use them, troubleshoot startup issues, and optimize system performance.
Introduction
Dans cet article, on va voir comment arrêter, redémarrer le système avec les commandes mises à notre...
Quand on travaille régulièrement sous Linux, il est intéressant de savoir quelles commandes on utilise le plus souvent. Cela peut vous aider à optimiser vos alias, automatiser certaines tâches ou tout simplement mieux comprendre votre utilisation quotidienne.
history | awk '{print $2}' | sort | uniq -c | sort -nr | head -10
Explication étape par étape :
history : affiche l'historique des commandes que vous avez tapées dans votre terminal
awk '{print $2}' : avec awk, on récupère uniquement la deuxième colonne, qui correspond à la commande (le premier mot)
sort : trie toutes les commandes par ordre alphabétique
uniq -c : compte les occurrences de chaque commande
sort -nr : trie numériquement (-n) et en ordre décroissant (-r), pour avoir les plus fréquentes en premier
head -10 : affiche uniquement les 10 premières lignes, soit les 10 commandes les plus utilisées
Vous pouvez aussi modifier la commande pour compter non seulement le premier mot, mais toute la ligne de commande (exemple : git status vs git pull). Dans ce cas, remplacez awk '{print $2}' par awk '{$1=""; print $0}'. Ce qui donne :
history | awk '{$1=""; print $0}' | sort | uniq -c | sort -nr | head -10
Star Labs, the English company formed in 2016 to make computers that can run Linux
In this article, we cover 10 lesser-known Linux commands like startx, pdftk, lsof, and find to help boost your productivity in the terminal.
11 Lesser Known Useful Linux Commands – Part 1
https://www.tecmint.com/lesser-known-linux-commands/
10 Lesser Known Linux Commands – Part 2
https://www.tecmint.com/10-lesser-known-linux-commands-part-2/
10 Advanced Linux Commands You’ve Probably Never Used – Part 3
https://www.tecmint.com/lesser-known-commands-linux/
10 Must-Know Linux Commands You Probably Missed – Part 4
https://www.tecmint.com/secret-linux-commands/
In this guide, we’ll explore some of the best Ubuntu apps for beginners, covering everything from productivity tools to entertainment options.
In this article, we will look at how to find a process name by its process identification number (PID) with the help of commands such as ps, top, and pidof.
This tutorial series will teach you how to use GPG (Gnu Privacy Guard) in the Linux terminal, so you will be able to send encrypted email messages and digitally sign documents.
A Practical Guide to GPG Part 2: Public Key Management
https://www.linuxbabe.com/security/gpg-guide-public-key-management
A Practical GPG Guide Part 3: Encrypt and Decrypt Files
https://www.linuxbabe.com/security/gpg-encrypt-and-decrypt-message
How to configure GPG in the Thunderbird email client
https://www.linuxbabe.com/security/encrypt-emails-gpg-thunderbird
A Practical Guide to GPG Part 5: Digital Signature
https://www.linuxbabe.com/security/gpg-digital-signature
How to Verify PGP Signature of Downloaded Software on Linux
https://www.linuxbabe.com/security/verify-pgp-signature-software-downloads-linux
In this guide, we’ll walk you through various methods to compare text files in Linux, from basic command-line tools to advanced visual diff tools.
In short, we're just a bunch of geeks. Back in 2016, Star Labs was formed in a pub. We all depended on using Linux, all with different laptops and all with different complaints about them. It always perplexed us that a laptop had never been made specifically for Linux. Whilst many had been "converted" to run Linux - they seldom offered the experience that macOS and Windows users had. So, after a few pints, we decided to make one.
StarBook Mk V From Star Labs Review
https://fossbytes.com/starbook-mk-v-from-star-labs-review/
If you need to downgrade the Kernel version on Ubuntu Linux, here's how you can safely do this with the linux-image and related packages.
ck@ubuntu:~$ dpkg -l|grep linux-image
ii linux-image-5.15.0-73-generic 5.15.0-73.80 amd64 Signed kernel image generic
ii linux-image-5.15.0-75-generic 5.15.0-75.82 amd64 Signed kernel image generic
ck@ubuntu:~$ grep TIMEOUT /etc/default/grub
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
Change the values to:
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
Followed by the command sudo update-grub. At the next system (re-)boot, the GRUB menu should show up.
The Linux Portal Site
Our goal is to make it simple for all types of Linux users, whether they be a complete beginner or a UNIX wizard, to find the most useful Linux software and sites on the internet in the least amount of time.
LinuxLinks has come a long way since then. We currently publish Linux related articles, reviews, and Group Tests on a daily basis.
wmctrl -r Firefox -e 0,110,15,1450,1030
Anyone knows a good way to resize any window to for example 640x480?
Reason is, of course, screencasting.
Under windows I've used ZoneSize from donationcoder. (Btw: For Firefox it's easy, just us...
Use the wmctrl command:
To list the windows:
$ wmctrl -l
0x00c00003 -1 rgamble-desktop Bottom Expanded Edge Panel
0x00c00031 -1 rgamble-desktop Top Expanded Edge Panel
0x00e00022 -1 rgamble-desktop Desktop
0x0260007c 0 rgamble-desktop Google - Mozilla Firefox
To resize a window based on its title:
wmctrl -r Firefox -e 0,0,0,640,480
The arguments to the resize option are gravity,X,Y,width,height so this will place the window at the top-left corner of the screen and resize it to 640X480.
Linux Window Managers quietly control app windows, ensuring their appearance and arrangement, working in the background of your OS.
Bonjour, Si Linux Mint se porte bien et que je ne compte pas spécialement changer de distribution, je me suis demandé quelle serait la distribution que j’utiliserais si jamais Linux Mint venait à disparaître.
Debian 12 KDE – Retours d’expérience après quelques jours d’utilisation réelle
https://tugaleres.com/2024/12/11/debian-12-kde-retours-dexperience-apres-quelques-jours-dutilisation-reelle/
Cette section se donne pour objectif d'expliquer pourquoi il est généralement peu utile d'installer un antivirus sous un système d'exploitation GNU/Linux, dans le cadre d'une utilisation du type « ordinateur personnel » (dite poste client).
les médias d'un individu n'affichent plus lors d'un clic droit
xdg-open {file | URL}
Delete the file /usr/share/applications/wslview.desktop.
I hit this too on a fresh Ubuntu 22.04.1 LTS release.
I deleted the file /usr/share/applications/wslview.desktop and xdg-open started to work as expected.
I don't know what exactly happens but it seems that the wslview.desktop launcher is meant for using Ubuntu in Windows WSL. But for some reason it's launched for every xdg-open invocation. When it's removed, xdg-open will use another launcher associated with the URL, the correct one.
xdg-open command in Linux with Examples
https://www.geeksforgeeks.org/xdg-open-command-in-linux-with-examples/
Counting video frames can be useful in various scenarios, such as video editing, quality analysis, or determining frame rates.
This article will walk you through how to use FFmpeg on Linux to count video frames.