rm -r deletes matching directories recursively, but not matching filenames. To delete matching files recursively, use:
find . -type f -name ‘pattern’ -delete
Articles, notes and random thoughts on Software Development and Technology
rm -r deletes matching directories recursively, but not matching filenames. To delete matching files recursively, use:
find . -type f -name ‘pattern’ -delete
I already have the Anniversary Update on my Windows 10 install, and I needed to ssh into one of my Raspberry Pis. I normally do this from my Mac, but since I’m in Windows 10 working on something, I thought this would be a great opportunity to install the new Ubuntu Bash support and then I can ssh from there right? (I could just install Putty, but then I wouldn’t have a reason to check out the Ubuntu Bash support, right?)
First attempt following instructions here, the bash windows opened and closed quick, too quick to read whether there was an error or not.
Second attempt, from a Command Prompt, entering bash, I got this:
Ok, to enable Developer Mode, into Settings, and click the radio button under ‘Use Developer Features’:
Then I got this error:
Hmm. Not very helpful. Clicking on Learn More opened a browser to a help page, but it didn’t load – I’d reconfigured my ip address to a static address on a local network for testing, and I didn’t have internet access. 0x80004005 probably could be a little more helpful, but enabling DHCP to get an internet connection and then tried selecting the Developer Mode option again, it downloaded, said ‘Some features may not be available until your PC is rebooted’. Rebooted, ran bash from Command Prompt, and now it prompted to download the Ubuntu Bash support. Why it couldn’t have done this already is beyond me, and I’ve already rebooted once, but answering ‘y’ it starts downloading:
After it completes you create a unix user and then you’re all set, and it even has ssh included.
This is my second attempt to get a Winlink client (see here for a high level overview of Winlink) working on the Raspberry Pi. I first tried Pat /wl2k-go but it crashed (I created a ticket on github to followup), so for my second attempt I took a look at paclink-unix.
This site has a very detailed step by step install and config steps – follow exactly and pay attention to any errors 🙂 : http://bazaudi.com/plu/doku.php?id=plu:install_plu
A few additional notes:
The usage sequence is:
The setup I got working is:
To send over vhf to my nearest Winlink gateway, I used:
wl2kax25 -a 1 -c KG6SJT-10 via KBERR
Where
-a 1 is port 1 defined in my /etc/ax25/axports
-c is the call of the Winlink gateway I’m connecting to, and I’m connecting via a packet digipeater, KBERR.
I recently upgraded my Mint 17.3 to Mint 18 using mintupgrade and following the instructions here, and unluckily had a powercut while in the middle of the upgrade. When I rebooted, some things had changed, like the logon screen had new background images, and the grub menu now said ‘Mint 18’, but as soon as I logged on, mdm crashed and there was a dialog saying that XWindows had crashed within seconds of starting. The popup dialog said to check ~/.xsession-errors, which contained this error:
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused syndaemon: no process found
A quick Google found this question with the same error message, and following the suggestion to run ‘sudo apt-get install cinnamon’ fixed my issues. I restarted mdm with ‘sudo service mdm restart’, logged on and eveything was good.
I’m not entirely sure how much of the upgrade completed, so re-running ‘mintupgrade upgrade’ again still prompted for a number of packages to be deleted or upgraded. Completed the upgrade, rebooted, and now everything looks good.
This could have been a lot worse, but luckily was able to recover with no noticeable issues so far. And Mint 18 looks great! (I like the new window animations!)