General Q&A about Linux and Unix-like operating systems
Filters (None)
I'm currently using Fedora 34 and want to install Fedora 35 while keeping around just my home folder. Currently I don't have a separate home partition, but I read online that it's easy to make one ...
Since the Pause key is useless, I tried to map it to a modifier key. What is straightforward for other keys turned out not to work fine for Pause. By inspecting the output of xev -event keyboard |...
Less does not display data files normally, but if it were some sort of Xxd. $ bash --norc $ export LESS= $ file -i /var/log/lastlog /var/log/lastlog: application/octet-stream; charset=binary $...
I'd like to hide/dismiss/remove all the notifications that applications like Signal have created. I know I can create notifications with, for example, notify-send -t 10000 "🤖 Here goes my message"...
I have a handful of shell scripts that accept any number of command line arguments, then do some relatively expensive processing based on each command line argument in turn. The general format for ...
How can I manually set default audio device? I connected docking station and Lubuntu is somehow convinced that it can play audio. I want to continue using laptop speakers. Detaching docking stati...
I have the following problems working with sed: It doesn't allow multiline operations (thus, no indentations, no nesting) It is generally obligatory to wrap entire commands in quote marks (sed ...
On a Linux system, a lot of files are installed from packages, many of which have different licenses (and sometimes different licenses for different files in the package). If I want to figure out ...
Is it possible to change bit of a system? My system is using 64 bit kernel. I was trying to install chrome in my system. But, I couldn't since chrome doesn't support 32 bit. Since my system is usin...
apt install google-chrome-stable_current_amd64.deb E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/...
I had installed Kali Linux recently. I can't update or upgrade my system. Even, I can't install anything. Here's the error log apt update Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRele...
I don't know what these things are called exactly in the Linux world. But there is the concept of a drive in RAM, to write files onto and read them like it was any disk drive. There is also the c...
This blog post describes a privilege escalation, exploiting tar's --checkpoint-action option. The privilege escalation is used to solve a TryHackMe challenge. The root user calls tar via cron whi...
Hi everyone, First post! I'm trying to be able to print from a client machine over my lan to an older HP Laserjet 1012 connected via USB to a Debian box. It prints fine directly. I've gone thro...
I have ordered (but am still waiting for it to arrive) a USB-connected webcam that is supposed to be V4L2 compatible. Once it arrives, I'm obviously going to want to mount it such that it provides...
I plan to set up a Raspberry Pi to host some dockerized apps, for it to be accessible to the Internet through a remote proxy, and since I'm no sysadmin, I'm trying to come up with a suitable policy...
I copy-paste several commands at once from a markdown editor (Typora) to Bash in a Putty window terminal; the file I work with reads as follows (empty lines included): $ non sed command 1 $ non s...
Every Gentoo user knows USE flags. Occasionally I stumble upon IUSE flags, for example, man emerge mention them in the description of an option: --newuse, -N ... USE flags may be toggled by yo...
I have used printers before in Arch Linux, but I can't figure out how to print with a Canon PIXMA TR4522 printer. More specifically, I am having trouble finding the correct driver. I have installe...
I got 2 small computers running Linux. One acts as ethernet gadget, connected via USB to the other, the host. I set up a bridge, like so: ip link add name br0 type bridge ip link set dev br0 up...
In Debian-based distributions, one can update the system with apt upgrade and cleanup unused dependencies with apt autoremove. Period. On Gentoo that is apparently not as straightforward. From G...
Assuming I have a running Linux system that has the /proc/config.gz file: Does the (unpacked) file always contain all of the options the particular kernel supports, including commented out like: ...
I have a RaspberyPi module, with USB connected to another module computer (as USB host) running Linux. The RasPi is configured as USB ethernet gadget. Once I boot the RasPi, and enter dmesg on th...
Usually, many new users are confused when it comes to deciding which Linux to use. After trying out some distros, they don't know which one to use next. Which Linux is for beginners, intermediates ...
I have a custom, ARM Cortex A53 based Linux system, based on Buildroot one RaspberryPi CM3 module, connected to the other system via USB The USB gadget is correctly set up on the CM3 module ...
How do I get the URL of the remote repository that pacman uses to download packages? I know that I can tell pacman which server to use by editing /etc/pacman.d/mirrorlist. But in my case, all of t...
That's my Bash script: #!bin/sh cd qpixel sudo systemctl enable mysql mysql -u root -p rails s When it executes the line mysql -u root -p it will ask for password. To do so, I have tried...
I was using Chrome for a moment in Manjaro. My theme was Adwaita dark which I chose from Tweaks. Suddenly, I noticed my theme was changed for no reason. I had updated my system 4-5 hours ago. When ...
..$ rails s => Booting Puma => Rails 5.2.6 application starting in development => Run `rails server -h` for more startup options A server is already running. Check /home/istiak/ruby/q...
I was using Libre Office Math. I thought I can write multiple equations in LO Math. But, I noticed I can't write more than one equation. I was trying to write multi-line. Unfortunately, I couldn't....
In my Ruby project, when I try bundle install, I got: Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6 I don't know how to solve it. I am using Windows Subsystem for Linux (WSL) U...
I have installed mysql-server on Ubuntu 20.04 then I tried to sign into mysql-server using sudo mysql -u root but I have got Error: Can't connect to local MySQL server through socket '/var/run/mys...
I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors. I set up things such that CM3 functions as USB Gadget, and once...
I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's gru...
I was installing Debian. But, I know that I have installed wireless connection system manually in Debian. are e needs non-free firmware files to operate. The firmware can be h as a USB stick o...
I find port forwarding and port triggering as advanced sub-topics of the topic of network protocols which include the "port" concept such as TCP and UDP. I am wondering if shells in general and Ba...
I had write some texts in LibreOffice Writer. Now, I want to print them to pages. For that reason, we use "printer". My printer's name is HP laserJet P1007. In Windows, I can simply download from h...
I have Prime OS and Windows 10 alongside Linux Manjaro. I was using Prime OS nearly 2 hours. Then, I turned off my laptop for 30-60 minutes. Then, I turned my laptop on and I was using Windows 10 f...
POSIX defines Text file as A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed {LINE_MAX} bytes in length, inclu...
I was using Linux mint and Windows 10 together (in different partitions). Few months I was using it freely. Today I got a message in Windows 10 (new updates available or shutdown and update) then, ...
While this is about grub loader, this is likely to be a question of OS related. If it doesn't belong to this site than I will remove it. I had installed Bliss in sda2. Device Boot Start...
I have an old Mac Mini (Late 2009 model) kicking around, and as Apple stopped providing patches for it (and as I'm not going to put an unpatched system on the Internet), I was looking for a Linux d...
When exploring the commands from this answer to my previous question, I found that the ist of packages includes a lot that were automatically installed due to dependencies. Obviously I'm interested...
I've got a Raspberry Pi running Raspbian, which I'd like to reinstall from scratch. However over time I've made many changes to the configuration (installed new packages, changed the name of the de...
Is it possible to install .deb extension file in Arch-Based Linux? I saw there's no dpkg package. But, if installing .deb file possible than, how?
I was reading the documentation. In Debian based Linux, I have to install build-essential, libssl-dev. But, what about Arch-Based Linux? I had tried sudo pacman -Syy build-essential libssl-dev ...
I am using Manjaro(Arch-based Linux). And, I had installed Avro using the following command by getting help of the documentation yay -S ibus-avro-git Avro is software using that software user w...
On a Debian Buster system I use, the password for connecting to a VPN is stored in the GNOME Keyring. Therefore, whenever I want to connect to the VPN in question, I get prompted to unlock my keyri...
- ← Previous
- 1
- 2
- 3
- 4
- 5
- Next →