Delete Empty Directories

Refer: https://unix.stackexchange.com/questions/46322/how-can-i-recursively-delete-empty-directories-in-my-home-directory

The find command is the primary tool for recursive file system operations. Use the -type d expression to tell find you're interested in finding directories only (and not plain files).
The GNU version of find supports the -empty test, so

Print all empty directories below your current directory.
find . -type d -empty -print

After you've verified that this is selecting the correct directories, use -delete to delete all matches:
find . -type d -empty -delete

Issues with Virtual Box – File Not Found

Refer: https://forums.virtualbox.org/viewtopic.php?f=6&t=75068

These are the steps that VirtualBox takes when it writes a new Vbox file. Each step is contingent on the last one being completed without errors.

  • Make a backup of the temporary file with ".vbox-tmp" extension.
  • Delete any existing ".vbox-prev" file or change it to -BAK001 extension
  • Rename existing ".vbox" file to ".vbox-prev".
  • Rename ".vbox-tmp" to ".vbox"

Refer: https://www.techprevue.com/virtualbox-inaccessible-file-not-found/

iii) Out of the above-mentioned issues, "File not found" is the most common one. During that situation, you can go to the location of the file. One of the possibilities is that you might find suffixes after the extension .xml for eg. .xmlmog or .xmlemf. So if you are looking for file abcd.xml it actually exists there by name abcd.xmlemf and hence your system was unable to find the file abcd.xml because it did not exist. Now what you can do is, simply copy the file and paste it in the same location and rename it with extension just .xml. This would solve the issue of an inaccessible "file not found" error.

Installing Wine 5.0 on Ubuntu 18.04

Refer: https://itsfoss.com/wine-5-release/

Troubleshooting

Things worked much better when changing the compatibility to Windows XP.  Navigate to each *.exe and add compatibility to Windows XP.  Have done this for Dreamweaver, Fireworks, TN3270, WinSCP and Textpad

winecfg

How to install Wine 5.0 on Ubuntu and Linux Mint

If you have Wine installed before, you should remove it completely to avoid any conflict (as you wish). Also, the WineHQ key repository key was changed recently, you should refer to its download page for additional instructions on that according to your Linux distribution.

The source for Wine 5.0 is available on its official website. You can read more about building wine in order to make it work. Arch-based users should be getting it soon.

Here’ I’ll show you the steps to install Wine 5.0 on Ubuntu and other Ubuntu-based distributions.

First, remove existing Wine install with this command:

sudo apt remove winehq-stable wine-stable wine1.6

Download the official Wine repository key and add it:

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Now the next step involves adding the repository and for that, you need to know your Ubuntu version first.

For Ubuntu 19.10, add this repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

If you are using Ubuntu 18.04 or Linux Mint 19.x, use this command to add the repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

For Ubuntu 16.04 and Linux Mint 18.x series, you can use this command:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

Now that you have added the correct repository, you can install Wine 5.0 using this command:

sudo apt update && sudo apt install --install-recommends winehq-stable

CPM Triage Notes / Oracle Connection Problem

Oracle Problems

Unable to get managed connection for jdbc/springdb)

grep -i "Unable to get managed connection for jdbc/springdb" /var/lib/jbossas/server/halprdjbs03/log/server.log

ORA-01017: invalid username/password; logon denied

grep -i "ORA-01017" /var/lib/jbossas/server/halprdjbs03/log/server.log

Server Started

/wbi/haldata/webprd_cluster1/cms/web/spa/spaImageMap.xml (No such file or directory)

CreditCardProcess :

Error was happening on this
http://book.hollandamerica.com/checkout/purchaseItems.action

This is the confirmation page
/checkout/checkoutConfirmationDetermineJsp.action

Swan – Better Linux on Windows

Refer: https://hackaday.com/2017/03/29/swan-better-linux-on-windows/

Install WSL on Window: https://docs.microsoft.com/en-us/windows/wsl/install-win10

Open and Run the Following PowerShell Command as Administrator:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Download your Distribution of Choice and then you need to initialize it from the start menu.

Background of Swan, I'm using MobXterm.

If you are a Linux user that has to use Windows — or even a Windows user that needs some Linux support — Cygwin has long been a great tool for getting things done. It provides a nearly complete Linux toolset. It also provides almost the entire Linux API, so that anything it doesn’t supply can probably be built from source. You can even write code on Windows, compile and test it and (usually) port it over to Linux painlessly.

However, Cygwin’s package management is a little clunky and setting up the GUI environment has always been tricky, especially for new users. A project called Swan aims to make a full-featured X11 Linux environment easy to install on Windows.

The project uses Cygwin along with Xfce for its desktop. Cygwin provides pretty good Windows integration, but Swan also includes extra features. For example, you can make your default browser the Windows browser with a single click. It also includes spm — a package manager for Cygwin that is somewhat easier to use, although it still launches the default package manager to do the work (this isn’t a new idea, by the way).