Instance Info

Download : https://github.com/samanweb/instance-info.git Code By : Saman Wijseinghe Version : 1.0 License : GNU GENERAL PUBLIC LICENSE Platform : Arch Linux or Linux compatible distributions The “Instance Info” tool is a simple Bash script that provides an interactive way to access key system information on your computer. With a user-friendly menu, it allows you to effortlessly view details about your system’s RAM, hard disk, battery (if available), and processor. Additionally, the tool offers an “About” option to provide a brief introduction to itself, making it a handy utility for quickly accessing essential system data....

November 5, 2023 · 1 min · 104 words · Saman Wijesinghe

Unveiling Your System: Linux Terminal Tips

Display information about your PC’s processor You can use the lscpu command in a Linux terminal to display information about your PC’s processor. Here’s a simple Bash program that runs the lscpu command and displays the processor information: #!/bin/bash echo "Processor Information:" lscpu You can save this script to a file, for example, processor_info.sh, and make it executable using the following command: chmod +x processor_info.sh Then, you can run the script in your terminal:...

November 3, 2023 · 3 min · 613 words · Saman Wijesinghe

Easy MP3 to M4A Conversion with Linux Terminal

Step 1: Install ffmpeg If you don’t already have ffmpeg installed, you can do so with the following commands: For Debian-based distributions (e.g., Debian, Ubuntu): sudo apt update sudo apt install ffmpeg For Arch-based distributions (e.g., Arch Linux): sudo pacman -Sy ffmpeg Step 2: Navigate to the directory containing your MP3 files Use the cd command to change to the directory where your MP3 files are located. For example, if your MP3 files are in a folder called “music,” you can navigate to it like this:...

October 31, 2023 · 2 min · 343 words · Saman Wijesinghe

Secure Your Data: ecryptfs on Arch Linux

Please Note: Before you begin, ensure that you have a backup of your data in case anything goes wrong during the encryption process. Data encryption can be irreversible if you forget your password. Step 1: Install ecryptfs-utils If you don’t already have ecryptfs-utils installed on your Arch Linux system, you can do so by running the following command in your terminal: sudo pacman -S ecryptfs-utils Step 2: Create a Mount Point You need to create a directory where the encrypted data will be mounted....

October 29, 2023 · 3 min · 431 words · Saman Wijesinghe

Dumping a MySQL database

Note: Before proceeding, make sure you have the necessary permissions to access the MySQL database you want to dump. You should have at least read access to the database. 01. Open Terminal: Open your Linux terminal. You can usually find it in your applications or use keyboard shortcuts like Ctrl + Alt + T. 02. Login to MySQL: If your MySQL server requires authentication, you should log in first using the mysql command....

October 25, 2023 · 2 min · 282 words · Saman Wijesinghe