CAPTCHA
Image CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are human.
  • Create new account
  • Reset your password

User account menu

Home
The Hyperlogos
Read Everything

Main navigation

  • Home
  • My Resumé
  • blog
  • Howtos
  • Pages
  • Contact
  • Search

shell

Breadcrumb

  • Home
  • shell

Keep that command running - keeprunning

By drink | Sun May 24, 2015

I wanted to keep some programs running, which is to say restart them if they crashed, but I also wanted them to be able to exit normally. The platform is Linux, the problem is compiz, the solution is a very small shell script. Surely the internets will let me know if there is something grossly wrong with it. This script is not meant for long-running daemons, there are plenty of tools for that already.

shell
script
  • Read more about Keep that command running - keeprunning
  • Log in or register to post comments

How to launch an Android app from adb - And toggle bluetooth

By drink | Wed June 26, 2013

Have you ever wanted to launch an Android app from the shell, but you were confused as to how to go about it? Me too, but after a bit of searching about I found a couple of posts that explain how to do it. Short short form, you use aapt to find the activity you want to execute, and then you can use the am command (on the device) to launch the program.

android
bluetooth
adb
shell
howto
  • Read more about How to launch an Android app from adb - And toggle bluetooth
  • Log in or register to post comments

Updating drupal 7 core manually

By drink | Thu December 20, 2012

I guess this should have been obvious to me long ago, but if you have shell access you can near-instantly upgrade drupal like this:

wget (new drupal release)
tar xfz (new drupal release)
cd drupal-(new drupal version)
rm -rf sites
rsync .htaccess * (your drupal root)

If you need it spelled out a little more closely, here's what the commands look like for me for 7.18, which seems to be a security update...

D7
upgrade
shell
howto
  • Read more about Updating drupal 7 core manually
  • Log in or register to post comments
Subscribe to shell

Footer menu

  • Contact
Powered by Drupal

Copyright © 2025 Martin Espinoza - All rights reserved