Change BASH shell to FISH shell

I used the change shell command chsh to change the default shell environment for my id from BASH to the FISH shell. >_ chsh Changing shell for danesh.manoharan. New shell [/bin/bash]: /usr/bin/fish Password: Shell changed. >_ chsh -s /usr/bin/fish Changing shell for danesh.manoharan. chsh: Shell changed.

2020-04-20 · 1 min · Danesh Manoharan

Adding thunderbolt devices in Fedora server 30

I recently purchased a thunderbolt 3 to 10GbE adapter ( QNA-T310G1S ) for my homelab NUC ( NUC7i5BNH ) running Fedora server 30. The network interface was not showing up when I connected the adapter. Some googling later and I figured out what I was not doing. Thunderbolt devices need to be authorized and added to the thunderbolt device manager before they can be used. This requirement can be changed in the BIOS if desired. ...

2019-06-29 · 2 min · Danesh Manoharan

Error in option spec: “long|!”

Installed mytop on a CentOS 6.2 box and ran into a bug. The fix was simple. Comment out the problem line in the perl file. [root@dbserver local]# mytop Error in option spec: "long|!" [root@dbserver local]# which mytop /usr/bin/mytop [root@dbserver local]# vi /usr/bin/mytop From "long|!" => \$config{long_nums}, To # "long|!" => \$config{long_nums},

2019-06-27 · 1 min · Danesh Manoharan

Extract .xz file

I generally just use the tar utility to extract files from a .xz archive. >_ file tsetup.1.7.7.tar.xz tsetup.1.7.7.tar.xz: XZ compressed data >_ tar -tvf tsetup.1.7.7.tar.xz drwxrwxr-x preston/preston 0 2019-06-10 05:25 Telegram/ -rwxrwxr-x preston/preston 97436648 2019-06-10 05:24 Telegram/Telegram -rwxrwxr-x preston/preston 1400643 2019-06-10 04:52 Telegram/Updater >_ tar -xvf tsetup.1.7.7.tar.xz Telegram/ Telegram/Telegram Telegram/Updater >_ ls -l Telegram/ total 96524 -rwxrwxr-x. 1 user1 user1 97436648 Jun 10 05:24 Telegram -rwxrwxr-x. 1 user1 user1 1400643 Jun 10 04:52 Updater

2019-06-10 · 1 min · Danesh Manoharan

cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied

Installed kernel 4.18 on my Ubuntu recently, since then snap packages broke with the following error. It has something to do with the AppArmor exception rule for ptrace for what I could gather. danesh@hades:$ spotify cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied The workaround for now is to upgrade your snap core to the beta channel. danesh@hades:~/kernel$ sudo snap refresh --channel=beta core

2018-08-18 · 1 min · Danesh Manoharan