Neticegear
  • Member for 7 years, 5 months
  • Last seen this week
What specifically can swap do that RAM can't?
16 votes

What can be done with swap which would not also be done by adding RAM? This question could actually be reworded into What can be done with non-volatile RAM which would not also be done by adding more ...

View answer
Wifi suddenly stopped working on Ubuntu 18.04
Accepted answer
12 votes

Per request, here is the solution to fixing the Failed to start INIT ucode: -5 issue Solution First, before you even move onto any steps having anything to do with the Linux kernel itself, make sure ...

View answer
How to enable 2560x1440 option for display in Linux Mint?
Accepted answer
10 votes

First create the appropriate modeline with cvt $ cvt 2560 1440 # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 ...

View answer
How may I recover a lost pdf file?
7 votes

Definitely start with leaving the partition with the data alone, if at all possible (you would be surprised what you can recover even a month later if it is not your main system partition). Then ...

View answer
red terminal font when root
Accepted answer
6 votes

You can either add this to /etc/bash.bashrc or edit /etc/profile/ force_color_prompt=yes if [ "$LOGNAME" = root ] || [ "`id -u`" -eq 0 ] ; then PS1='\[\033[01;31m\]\u@\h\[\033[00m\]:\[\...

View answer
Correct way to create users without home (for shadow.service)
Accepted answer
4 votes

Debian-based If you are on a Debian-based system, the new - already somewhat present by default in multiple debian-based distributions, (as well as already included in the source code of both pwck and ...

View answer
Can I see a GUI for and/or kill/interrupt (NOT disable) unattended-upgrades?
Accepted answer
3 votes

Yes, yes you can. Actually you can conform it to behave exactly as you would like, but please elaborate on: So once in a while I'd like to stop it. ps -ef | grep -v grep | grep unattended-upgrade ...

View answer
Understanding a dmesg kernel warning message
Accepted answer
3 votes

Have you tried following backwards from end of stack trace with addr2line? For example looking at the last line sysenter_do_call+0x12/0x28 It tells us that the offset is 0x12 and the length is 0x28 ...

View answer
In Bash, how can I compute and capture the result from an intermediate node in a pipeline?
Accepted answer
2 votes

If you are strictly looking to both assign the result to a variable AND output the list of numbers to standard output in a single line then the following will give you what you want (I changed the ...

View answer
Show logged in users from yesterday
2 votes

You can do it very nicely using last --since yesterday which will show you, users still logged in, times of reboot, tty consoles open and other nice and useful information. Like this : $ last ...

View answer
Audio to multiple HDMI sinks
2 votes

The easiest and quickest way is to simply load a loopback. pactl load-module module-loopback 1) Then in pavucontrol in Playback, if you have a video playing with VLC for example, you will have two ...

View answer
Verbose useradd in Red Hat Enterprise Linux
2 votes

OPTION 1 (RHEL,DEBIAN) Here are two additional possibilities available to RHEL, based on inotify-tools (these are not installed by default as far as I remember). The /dev/null pipe is to prevent ...

View answer
Resetting bluetooth on Archlinux
2 votes

I think the easiest thing is to use bluetoothctl to simply switch the bluetooth controller itself on and off. echo -e 'show\npower off\npower on\nquit' | bluetoothctl

View answer
common intranet service to reflect IP address
1 votes

There are many different ways of doing so: ping -4 $(hostname) Pinging DESKTOP-MYHOSTNAME [10.4.0.10] with 32 bytes of data: Reply from 10.4.0.10: bytes=32 time<1ms TTL=64 hostname -i 10.4.0....

View answer
How to loop over grep command results and check condition for each value inside the loop?
1 votes

I formatted your question, including your pseudocode , but the way you are attempting to do this will not work. Your $names variable is not an array, but a single long string with line breaks included....

View answer
Pulseaudio errors - relevant files: Debian
1 votes

You seem to be "overwriting" the configuration that would normally be pulled from the system-wide default.pa file, with an blank one from the located default.pa file that belongs to your ...

View answer
No sound output from Guitarix
1 votes

You appear to have two separate issues in your error log: Permission/Memory Allocation error When jackd starts your log shows: connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such ...

View answer
Cannot resize my partition, although I have enough free space
1 votes

You cannot do this from inside the operating system you're on, because you will need to perform operations on /dev/sda disk as a whole, and certain partitions will continue to be mounted, thus ...

View answer
More issues with WIFI Intel Corporation Wireless-AC 9260: networks detected but not connecting
1 votes

First, you should check if your adapter can find your AP with nmcli d wifi list * SSID MODE CHAN RATE SIGNAL BARS SECURITY [YOUR_SSID] Infra 1 54 Mbit/s 99 If ...

View answer
How to completely stop atop from creating logs for good?
Accepted answer
1 votes

atop runs as a systemd service located in /lib/systemd/system/atop.service, and its executable is: ExecStart=/usr/share/atop/atop.daily This atop.daily wrapper file configures the logging of atop , as ...

View answer
Configure pulseaudio default input port
1 votes

First, you will have to narrow down the name of the analog microphone by getting the list of available sources. pacmd list-sources | grep -i "name:" One of these sources will correspond to ...

View answer
Extract Folders With Certain Name To Parallel Directory Structure?
Accepted answer
1 votes

One thing you need to take into consideration before looking at the following answer is that you will effectively be recreating the whole path all the way from / This will be a multi-step process, ...

View answer
Raspberry Pi 4 Model B - External RT3070 WiFi adapter - Hostapd crashing
1 votes

Ok, after running multiple tests on the RT3070 dongle, I can state with certainty that it is related to the tx-power setting. There are several issues at play here: 1. The database for CRDA regulation ...

View answer
Running vncserver as a normal user on Fedora 32
1 votes

The reason why starting vncserver as user may fail, is when the check for vncUserDir gets ran in the vncserver script. vncserver script itself does not need sudo to be simply executable from the path ...

View answer
No sound after ubuntu upgrade to 20.04
1 votes

Option 1 Before you go with the custom service below, the way alsa reloads your configureation is by checking if /var/lib/alsa/asound.state exists and what is in it (your list of sound devices) , ...

View answer
Extending default partition without losing data
1 votes

What I believe you are looking is changing the mount point of /var to a new partition on disk sdb, while preserving all of the data in that folder. Since this is a running server, I will be as ...

View answer
How can I get rid of the NetworkManager applet if I use wicd?
1 votes

Why don't you just disable the network-manager service if you rely on wicd, and simply disable the autostart of nm-applet with: $ sudo systemctl disable network-manager.service $ sudo echo "Hidden=...

View answer
Delete directories that contain a certain file except directories starting with "!"
1 votes

First of all, I think your approach is very dangerous because you are searching and basing a delete operation of results of something not found. It would be way safer and beneficial if you appended ...

View answer
Stop asking for admin/sudo password in print settings dialog
1 votes

Ok, your question still presents itself in two parts, so I am going to break it down and answer each issue separately: 1. CUPS policy and access CUPS is the defacto printing server in linux, ...

View answer
Copy and rename file
Accepted answer
1 votes

Given your scheme, and assuming Folder 1, Folder 2, Folder 3 etc. actually do hold some meaning (otherwise you can just append the current timestamp to every filename you have to avoid the problem you ...

View answer