proctree command acts like the Linux
pstree and displays the hierarchy of processes from a given starting process id.
View Large Files
If, when you
view a large file you get an errors about it being too big, try the following:
echo "set ll=3501720 dir=/tmp" >> ~/.exrc
That will allow you to read up to 3501720 lines in a single text file.
I have recently come across a pretty nifty Linux utility that allows me to mount a remote filesystem on an SSH server, locally and without requiring root privileges to do so. The remote filesystem happens to be where my backups are located, so that’s going to be useful for making and restoring backups! Continue reading Using FUSE to Mount an SSH Folder Locally
I have ripped all my music, well most of it, to FLAC for the quality aspect. Sometimes though, I need to convert to MP3 for some of the lesser audio players out there that I might have to use from time to time.
I have recently come across a pretty nifty (Linux) way to do this, without having to cope with having duplicate files in FLAC and MP3 formats on my hard drives. Continue reading FLAC to MP3 as Easy as Pie!
This applies to Linux, Unix as well as Windows, but affected me on a Windows 2012 Server running Oracle 184.108.40.206 Enterprise Edition.
My user on the server was an administration user, but not in the
ora_dba group. This is required to
connect / as sysdba within SQL*Plus. The SYS password had been changed recently but whoever did it, did not update the password vault. The users were urgently requiring their database be started, I was the only DBA in the office, the SYS password was unknown, and my user didn’t belong directly to the
ora_dba group. What to do? Continue reading How to Start an Oracle Database When You Are Not in the DBA Group
As a contractor I often have to fill in and sign various contract agreements. These are usually tens of pages in length, and while I only have to sign one page, I still must scan in and send back each and every page, even the untouched ones. It would help if a PDF with form filling abilities was supplied, but hey, that’s only rarely the case. This is how I do it. (On Linux – Windows users mileage may vary!) Continue reading Printing, Completing & Scanning PDF Documents
I hate it when I click on a task bar icon to open up a snoozing application, and a couple of seconds later, there’s a preview of the application showing at the bottom of the screen. I don’t need it as the icon tells me what it is, thanks! Getting rid is easy: Continue reading Turn Off Task Bar Thumbnail Previews on Linux Mint Cinnamon 17.3
Do I like problems or what? 🙂 I’m running Linux Mint 17.2 as my host, and I have a VirtualBox 5.0 VM running Windows 7 Professional. I decided I’d like to be able to run the Arduino software from within the VM, but not talking to an Arduino, but to a bare bones setup and programming AtTiny85 devices. The following might be of use to other people’s needs as it explains how the FDTI device cane be automatically assigned to the VM rather than to the host, when plugged in and the VM is running. Continue reading Getting Arduino Working from a Windows 7 VirtualBox Guest
I was able to use HPLIP with Mint 17.1 but when I upgraded to 17.2, I had the problem where attempting to run the utility caused nothing at all to happen. The solution:
sudo apt-get install hplip-gui
Works perfectly for me now.
Ever wanted to set a variable to the name of another variable, and from there, somehow get the value of the other variable? I did, recently, and this is what I had to do. Continue reading Shell Variable Indirection in a Database Build Script
Recently at work, I was on an HP server and needed to
grep -B3 a large log file to find the three lines prior to a number of Oracle error messages I was searching for, in order to fix things. It turned out that HP-UX doesn’t have the -B (or the -A) options. Bummer. A bit of
awk fixed the former, but the latter I leave as an exercise for the reader as they say! Continue reading A Couple of Useful Linux & HP-UX Tricks
For some strange reason, my Linux Mint Cinnamon desktop suddenly stopped showing the running program buttons on the task bar. I could only switch between running programs with ALT+TAB. Continue reading Linux Mint (Cinnamon) Not Showing Programs on Task Bar.
I think this topic has the longest title of all my postings! Never mind. Have you ever started Thunderbird fetching your emails, and encountered a pop-up message that starts off by saying “The message could not be filtered for folder ‘whatever’ because writing to folder failed“? Read on for the cure. Continue reading Thunderbird – Message Filters stop Working on Email Download – But Work Ok Manually.
As standard, VirtualBox has a menu option (machine->Insert CTRL+ALT+Backspace or Insert CTRL+ALT+DEL) which is fine if you need these key combinations sending to the guest and not grabbed by the host, however, how can you send CTRL+ALT+F1 through CTRL+ALT+F8 to a Linux guest OS to get it to startup one of its virtual consoles? Continue reading VirtualBox – Sending Special Key Combinations to the Guest OS.
Continuing with the setting up and such like, using Arch Linux on the Raspberry Pi. This is the second blog post on the subject. Continue reading Beginner’s Guide to Arch Linux on the Raspberry Pi – Part 2