10pm.ca – Tidbits for the wandering Googler

command line

Getting lynx to work on shared hosting after the error Lynx file “/etc/lynx.lss” is not available.

Cats: command line, linux, web development

By PJ on September 24, 2013


Getting the error message: Lynx file “/etc/lynx.lss” is not available.

Command Line Fix for a Super Large MySQL Table Marked as Damaged

Cats: command line, mysql, web development

By PJ on August 7, 2013


Repairing a MySQL table that was over 4Gb in size would have taken days without this command:

Bash Script: Pull the Username from the Path, or Determining Whose Home Directory We’re In

Cats: bash, command line, linux, web development

By PJ on August 1, 2013


I needed a bash script to quickly update the ownership of a bunch of files, based on what directoy I’m currently in. The username is pulled from the present working directory (pwd): /home/SOMEUSER/the/rest/of/the/path

Bash Script to Centre The Active Window for Ubuntu/Linux Mint

Cats: bash, command line, keyboard shortcuts, linux, linux mint

By PJ on June 17, 2013


I recently discovered that Linux Mint lets you use the Super/Win key plus left, right, up, down to control the current window size (window left, window right, maximize, unmaximize, respectively!), which is awesome. But I also like my windows centred … Continued

Killing an Out of Control MySql Query Using the Command Line

Cats: command line, web development

By PJ on May 17, 2013


If you created a query monster and doesn’t seem to end and is eating up all of your resources, you can stop it.

Bash Helper Scripts for Mounting and Unmounting SSH/SFTP drives

Cats: command line, linux, linux mint

By PJ on April 24, 2013


These are the helper scripts I use to set up SSH mountpoints.

Location of the “brightness” file on Samsung Series 9 (NP900X3B/C) in Ubuntu/Linux Mint

Cats: command line, linux mint, series 9

By PJ on April 15, 2013


If you need to change the brightness of the screen on your Samsung Series 9 in Ubuntu/Linux Mint, you can find it here.

RSync with a non-standard port

Cats: command line, linux, web development

By PJ on April 12, 2013


If you’re using rsync through SSH and you need to use a different (non-standard) port, then use the -e. The -e switch lets you use any remote shell you like (including ssh) and use whatever parameters you like. For example, … Continued

Location of Nautilus-mounted network shares under Linux Mint

Cats: command line, linux, linux mint

By PJ on April 2, 2013


More for my reference than anything… When you mount a network share using Nautilus under Linux Mint, the location of the mounts sit here: ~/.gvfs/ For example: ~/.gvfs/SomeShare on Server1 UPDATE: On Linux Mint 14 Cinnamon, the (Nemo) shares are … Continued

  • Newer posts →

Recent Posts

  • SpeedCrunch “Plugin”: Currency Converter
  • OctoPi/OctoPrint Change Webcam Resolution
  • Polono PL60 Label Printer on Ubuntu/Linux Mint
  • Flash Custom Firmware onto Iris v7
  • GIMP – Save for Web Plugin

Archives

  • April 2024
  • August 2023
  • July 2023
  • May 2022
  • April 2022
  • February 2022
  • August 2021
  • June 2021
  • March 2021
  • October 2020
  • April 2020
  • February 2020
  • October 2019
  • April 2019
  • March 2019
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • March 2018
  • January 2018
  • December 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • September 2016
  • August 2016
  • January 2016
  • July 2015
  • March 2015
  • February 2015
  • October 2014
  • August 2014
  • February 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

© 2025 10pm.ca – Tidbits for the wandering Googler