Categories
Linux Mastering Development Ubuntu

Does grep distinguish a variable and the $ regex?

I want to grep for a variable that has the string test, but I also want to make sure that it will only find test if that is the only word on a line. So, I tried this: string=test echo "test" | grep "$string$" I would like to know if grep knows that the first […]

Categories
Linux Mastering Development Ubuntu

AOC Monitor Resolution problem

I am using Ubuntu 16.04, and I have been having problems with my new AOC monitor. The monitor is a replacement for an old Dell monitor. When I sign on (using GRUB), the left side of the screen is black (about the leftmost 1 inch). The bar at the bottom of the screen is not […]

Categories
Linux Mastering Development Ubuntu

How do I fix broken boot after shim update?

I have a MacBook Pro (15-inch, Late 2008) that was running Kubuntu 20.04 until yesterday. The system prompted me that a software update was available. As best I can recall, the packages updated were shim, shim-(something) and maybe one more. I waited for both the software updater and the separate grub updater to finish and […]

Categories
Linux Mastering Development Ubuntu

Commands in mosquitto broker in ubuntu displays command not found!

I have installed mosquitto broker on Ubuntu. I used apt-get update and apt-get upgrade followed by installation of mosquitto and mosquitto-clients. I had installed it once, and since some commands weren’t working I removed them using: sudo apt-get purge –remove mosquitto* sudo apt-add-repository –remove ppa:mosquitto-dev/mosquitto-ppa I am able to publish subscribe to topics but systemctl, […]

Categories
Linux Mastering Development Ubuntu

Internal Microphone not working in Ubuntu 18.04

I am using Ubuntu 18.04 with dual boot on Asus GL503GE. I encountered a very strange issue today. My internal microphone stopped working suddenly. I tried some other solutions posted on similar questions but none of them work. After reinstalling sound drivers, my internal microphone is still not working. Strangely, when I insert pin in […]

Categories
Linux Mastering Development Ubuntu

No sound on MacbookPro after kernel update in Ubuntu 20.04

I had a problem with my sound in ubuntu 20.04 and this fix Ubuntu 20.04 LTS no sound on MacbookPro did work for me for a couple of months. I updated my kernel to 5.4.0-48-generic (latest Ubuntu kernel), it cannot be compiled anymore and the solution does not work. Errors linking are: ERROR: "snd_hda_jack_detect_enable_callback" [/home/d/macBookPro/snd_hda_macbookpro/build/hda-5.4.0/snd-hda-codec-cirrus.ko] […]

Categories
Linux Mastering Development Ubuntu

Installing Black Box IC117A-R2 synchronous serial PCMCIA card on Ubuntu 18.04

I have a Black Box IC117A-R2 (which is similar/same to Sealevel PC-ACB-MP) PCMCIA card. I would like to use it under Ubuntu 18.04 i386. The system does not install any driver and therefore cannot detect it. After searching the Google for days I found nothing useful. Most sites I found were based on a probably […]

Categories
Linux Mastering Development Ubuntu

WSL2 Ubuntu 20.04 GUI and Remote connection issue

I am new to Linux and decided to install Ubuntu 20.04 via WSL2. Everything went well, I can run Ubuntu GUI and Windows in parallel using a Remote desktop connection. But when I am idle for around 10 minutes, the remote desktop connection becomes blank. To get back, I need to open a terminal and […]

Categories
Linux Mastering Development Ubuntu

NFS writes are not sent to the server before finishing on the client

I have a raspberry pi running an NFS server to which I connect on my Manjaro PC with the only mount option being the version, set to 4.1. The export’s options are (rw,sync,no_subtree_check,insecure). The issue: after mounting the share, I copy a file into the mounted directory. The reported speed is over 400MB/s which is […]

Categories
Linux Mastering Development Ubuntu

Home Server: Multiple Docker Services (Plex, GitLab etc), 16GB RAM – Help With Swap

I have a home server up and running. It has: AMD FX-6350 (I know), 16GB RAM, 256GB SSD boot/OS drive, 2xWD Red 4TB HDD in RAID1, WD Red 6TB as backup drive. 4GB swapfile with vm.swappiness = 60 This server runs several services, all of which are configured using docker-compose. These run perfectly fine and […]