blog where you can find some shell ressources and concepts, ideas
-
ssh-hosts TOP NEW
Here is a sample configuration file for the SSH client (ssh_config): # SSH client configuration file # Global settings Host * # Set default options for all hosts ForwardAgent yes ForwardX11 yes PasswordAuthentication yes PubkeyAuthentication yes ServerAliveInterval 60 # Host-specific settings Host example.com # Set... Read More
-
weather-cli TOP NEW
Yes, there is a command-line tool called “wttr.in” that provides weather information from Google without the need for an API key. You can use it by simply running the following command in your terminal: curl wttr.in This will display the current weather information for your location. You can also specify a specific location by appending it to... Read More
-
qemu-debian12 TOP NEW
To install QEMU and run Debian 12 on your Debian 12 system, you can follow these steps: Open the terminal. Update the package lists by running the following command: sudo apt update Install QEMU by running the following command: sudo apt install qemu-system Download the Debian 12 ISO image from the ... Read More
-
prevent-autocomplete TOP NEW
To prevent zsh from getting stuck in a loop while auto-completing apt install, you can disable the auto-completion feature for the apt command. Here’s how you can do it: Open your zsh configuration file in a text editor. The default configuration file is usually located at ~/.zshrc. Search for the line that starts with autoloa... Read More
-
polybar-dark-tray TOP NEW
To change the nm-applet icon to a dark theme in polybar, you can follow these steps: Open your polybar configuration file. Usually, it is located at ~/.config/polybar/config. Find the module section for the nm-applet in the configuration file. It should look something like this: [module/nm-applet] type = internal/network ... Read More
-
openvpn3 TOP NEW
You can connect to your OpenVPN-AS (Access Server) without using the OpenVPN3 client by using the profile.ovpn file. Here’s how you can do it: Install the OpenVPN package on your Linux system if it’s not already installed. You can do this by running the following command: sudo apt-get install openvpn Copy the profile.ovpn ... Read More
-
music-player-cli TOP NEW
-
metasploit-install TOP NEW
To install Metasploit on Debian 12, you can follow these steps: Update the package lists and upgrade the system: sudo apt update sudo apt upgrade Install the required dependencies: sudo apt install curl gnupg2 Import the Metasploit repository GPG key: curl https://apt.metasploit.com/metasploit-framework.gpg.ke... Read More
-
mariadb_debian12 TOP NEW
To connect to MariaDB on Debian 12 and create a table, you can follow these steps: Install MariaDB: sudo apt update sudo apt install mariadb-server Start the MariaDB service: sudo systemctl start mariadb Secure the MariaDB installation: sudo mysql_secure_installation This command will prompt you to s... Read More
-
grub-update TOP NEW
Yes, there is a package called os-prober that can help you configure GRUB to include your Windows 10 partition for UEFI boot. You can install it by running the following command: sudo apt install os-prober After installing os-prober, you can update GRUB to include the Windows 10 partition by running: sudo update-grub This will scan your sy... Read More
-
fix-steam-debian12 TOP NEW
-
feh-wallpaper TOP NEW
To set a wallpaper in i3, you can use a program called feh. Here’s how you can do it: Install feh if it’s not already installed. You can do this by running the following command: sudo apt-get install feh Choose the image you want to set as your wallpaper and remember its file path. Open your i3 configuration file... Read More
-
current-city TOP NEW
To know your current city using the curl command in the command line interface (CLI), you can make use of a geolocation API service. One popular service is the ipapi API, which provides geolocation data based on IP addresses. Here’s an example command to retrieve your current city using curl and the ipapi API: curl -s 'https://ipapi.co/json/' ... Read More
-
compton TOP NEW
To correctly set up Compton in i3, follow these steps: Install Compton: sudo apt install compton Create a Compton configuration file: touch ~/.config/compton.conf Open the Compton configuration file in a text editor: nano ~/.config/compton.conf Add the following lines to the configuration file: #... Read More
-
change-keycode TOP NEW
To replace keycode 180 with keycode 9 in Debian 12, you can follow these steps: Open a terminal. Run the following command to edit the evdev file: sudo nano /usr/share/X11/xkb/keycodes/evdev In the evdev file, locate the line that contains 180 and change it to 9. Save the file by pressing Ctrl + O, then press Enter to confi... Read More
-
bt-keymap-script TOP NEW
To start a custom keymap when using your Bluetooth keyboard on Debian 12, you can follow these steps: Identify the device ID of your Bluetooth keyboard by running the following command: $ xinput list Look for the entry corresponding to your Bluetooth keyboard. Note down the device ID. Create a new udev rule to apply the cu... Read More
-
appimage TOP NEW
Create a bin for my AppImage To create a bin for your AppImage, you can follow these steps: Open a terminal. Navigate to the directory where your AppImage is located. Create a new directory for your bin file. For example, you can use the following command to create a directory named “myapp”: mkdir myapp ... Read More
-
cmus-guide TOP NEW
Sure! Here’s a quick guide on how to use cmus: Install cmus: For Debian-based systems, open the terminal and run the command: sudo apt-get install cmus For other Linux distributions, refer to their respective package managers. Launch cmus: Open the terminal and run the command: cmus Basic contr... Read More