Link: How to Bake an Onion Pi (Tor proxy on Raspberry Pi)

Feel like someone is snooping on you? Browse the web anonymously anywhere you go with the Onion Pi Tor proxy. This is a cool weekend project that uses a Raspberry Pi mini computer, USB wi-fi adapter, and Ethernet cable to create a small, low-power, and portable privacy Pi.

Full article here:
How to Bake an Onion Pi (Make)

Link: Alternative way to flash your Raspberry Pi OS

Did you ever want to flash your root partition straight to USB stick/HDD/SDD instead of first dd-ing it onto SD Card and then coping it again onto another media?

I got bored of the double work that is provided by RPi geeks. Yeah, it’s fine if you’re a total beginner (though one might get lost pretty easily) and want to use only the SD Card. But what if you know how to deal with Raspberry Pi already and perform the card setup mechanically, coping the root partition to a USB stick before you run the system? There is an easy way to do it, less time consuming and faster. It involves using loop-mounting partitions from a disk image.

Full article here:
Alternative way to flash your Raspberry Pi OS (The Unwritten Words)

Link: Raspberry Pi Watchdog Timer

Soon I’m going for holidays and leave my Pi on its own. Thus, I made some precautions in case it froze (though after almost a month with it, I never had such a problem, but never say never). I’ve found a great tool, that would reboot my machine after it suddenly froze for any reason. This would soothe my nerves in case I wasn’t able to access my device and was wondering what might have happened (I’m not afraid the power might fail; not unless there was a nuclear war or a nasty sun burst that would destroy all electrical equipment – than we would be doomed and there would be no reason to worry about a small Pi).

…..

A watchdog timer is commonly found on embedded systems and is used to detect when the system is hung up on a task. Watchdog timer is basically a countdown timer counting  from some initial value down to zero. When zero is reached, the watchdog understands that the system has hung up and resets it automatically.

Thankfully, the Raspberry Pi’s BCM2835 SoC has a hardware-based watchdog timer on board. It is specially useful if you have a Raspberry Pi in a remote location (or a headless Pi) and the operating system hangs and there’s no one around to reboot it. How to enable the watchdog timer?

Full article here:
Raspberry Pi Watchdog Timer (The Unwritten Words)

Link: Repeat a Command Every Few Seconds with watch

Running watch < command > will by default keep repeating that command every two seconds. This is good for seeing the progress of a running process, viewing memory or disk usage, or checking various things from /proc. Here are some quick examples:

Full article here:
Repeat a Command Every Few Seconds with watch (scottlinux.com)

Links: Use Redo Rescue: Backup and Recovery and GPartEd Live to backup a working system and restore it to a new (possibly larger) drive

NOTE: Redo Rescue: Backup and Recovery was formerly known as Redo Backup. This article has been updated to show the new name.

If you are replacing an older hard drive with a newer one, possibly with more capacity, you may wonder if there is a way to do it without having to reinstall everything. The answer is often “yes”. There are many ways to do it — some are free and some cost money — but one great solution that happen to be free is to use Redo Rescue: Backup and Recovery, possibly followed by GPartEd Live. In fact, even if you aren’t planning on replacing a drive, it’s probably a good idea to back up your drives using Redo Rescue periodically, just in case a drive unexpectedly fails. If that happens you can restore from your last backup and you are back in business.

The nice thing about both Redo Rescue and GPartEd Live is that they have nice graphical users interfaces. Redo Rescue is very easy and intuitive, while GPartEd live is a only bit less so. For example, to move a partition within a drive you may need to use a click and drag operation, but that’s not explained on the screen. So, your favorite search engine may be your friend.

Here are some articles that explain how to use Redo Rescue:

Redo Backup and Recovery Tool to Backup and Restore Linux Systems (TecMint)
How To Use Redo Backup And Recovery In Windows 10 (Into Windows)
Redo Rescue Backup and Recovery Live System Gets NFS Share Support, SSH Server (9to5Linux)

Also you can search on YouTube for videos about Redo Rescue: Backup and Recovery.

If you are moving your system to a larger hard drive, a simple restore will only utilize as much of the drive as was used on the original drive size. What you can do is use GPartEd Live, another free tool, to grow your primary partition to occupy the remaining unused space. Before you can do that, you may need to move the existing swap partition to the end of the allocated space. What you need to do depends to some degree on the operating system in use on the drive you are moving, so you may need to do some searching to get instructions that apply to your particular situation.

Here are a couple of links about GPartEd that may help Linux users:

Expanding a Linux disk with gparted (and getting swap out of the way) (mwpreston.net)
How to move a partition to the end in gparted? (Super User)

And one for Windows users:

Resizing and Adding Partitions using GParted Live (bleepingcomputer.com)

Also there are many videos on YouTube about GPartEd.

How to put the video display (monitor) to sleep instantly on a Mac under OS X (and, fixing a bright/stuck pixel)

Perhaps you have noticed that they don’t make monitor power switches the way they used to – in the past they were a large button prominently featured on the front of the monitor, but on newer models they tend to be small and harder to locate, and sometimes difficult to press. But since LED monitors draw very little power in sleep state, many people simply go into the Energy Saver settings, and set the Display Sleep value to something relatively low. But for some users, that’s an imperfect solution, because if you set it too low it might cut out on you whenever you take a brief pause from whatever you’re doing. On the other hand, if you set it too high, it might display an image when you don’t really want it to.

Another solution for OS X users is to use Hot Corners, one of which will put the display to sleep instantly. But some users hate Hot Corners, because it is much too easy to inadvertently activate one. Fortunately, for those users there is another solution, and it is found in a program called Sleep Display. While the description of Sleep Display might lead you to believe that the last supported version of OS X was Snow Leopard, we can attest to the fact that it works in Lion (though you need to press a key, such as the shift key, to wake up the display – moving the mouse won’t always do it), and there’s probably no reason it wouldn’t work Mavericks. All you do is click on the apps’s icon and the display goes to sleep. In case you wonder how it works, it’s probably just an updated version of this.

The only thing we didn’t like about Sleep Display is that it had a generic application icon, but since changing icons in OS X is easy we just created a new one in a graphics program and used the free lite version of Img2icns to convert it to proper OS X icons. Unfortunately, we can’t share it with you because it includes an image of a copyrighted cartoon cat sleeping on a pillow (which we placed in front of the image of a monitor screen, so the sleeping cat blocks the view of the display, just as a real cat might do), and even though the image we started with can be easily located using a Google image search, we don’t have the deep pockets of Google and we’d rather not get sued. It’s kind of sad that even a mashed-up icon might be lawyer bait these days, but such are the times we live in.

In case you have the opposite problem, and your display goes to sleep even when you don’t want it to, just go into the Energy Saver settings and set the Display Sleep value to Never (or a high value, such as 3 hours, if that works for you). That will stop OS X from putting the display to sleep after a short fixed delay, so it will never put the display to sleep when you don’t want it to, but you can still put it to sleep instantly any time you like using the Sleep Display app.

And just to avoid confusion, we are talking about putting the display to sleep here, not the entire computer. That feature is sometimes called “hibernation” and while that’s also an option for some users, there are others that need to leave the computer on 24/7 even if they don’t want the display on constantly. It’s this latter group that this article is aimed toward.

BONUS HINT: If you bought a new monitor on Black Friday and it has a bright pixel, a.k.a. a stuck pixel, you might be able to fix it without returning it to the store. We are not saying this is a good idea, but if you are very careful not to use too much force, it’s sometimes possible to fix the pixel yourself, and if not then you can probably still return it:

How to Fix a Stuck Pixel on an LCD Monitor (WikiHow)
5 Ways To Fix A Stuck Pixel On Your Screen (MakeUseOf)

The only thing we would say different from the advice given is that you should never put any hard object directly against the display, since you might scratch it or worse. In our case, when the software method failed to produce results (always try that first!), we used a rounded pencil eraser and placed a (non-perfumed el cheapo) facial tissue over the screen so the eraser could not touch the screen directly, and tapped lightly in the area of the bright pixel a few times, and it cleared the pixel (we also had a software fix running over the pixel area at the time, specifically this one). The trick is to use a light touch, so that you do not make things worse! If somebody in the next room says “What’s that tapping noise?” then you are doing it much too hard! And you certainly don’t want to mess up the display so badly that the store won’t exchange it.

Link: Transfer Files Securely Using SCP in Linux

The most common way to get terminal access to a remote Linux machine is to use Secure Shell (SSH). To work, the Linux server needs to be running a SSH server (OpenSSH) and at the other end you need a SSH client, something like PuTTy in Windows or the ssh command line tool on Linux or other Unix-like operating systems such as FreeBSD.

The attraction of SSH is that the connection between the two machines is encrypted. This means that you can access the server from anywhere in the world safe in the knowledge that the connection is secure. However the real power of SSH is that the secure connection it provides can be used for more than just terminal access. Among its uses is the ability to copy files to and from a remote server.

Full article here:
Transfer Files Securely Using SCP in Linux (Make Tech Easier)
Related:
12 scp command examples to transfer files on Linux (BinaryTides)

A collection of lesser known Linux commands

From TecMint comes this series of articles…

Linux command line attracts most of the Linux Enthusiastic. A normal Linux user generally posses a vocabulary of roughly 50-60 commands to carry out their day-to-day task. Linux commands and their switches remains the most valuable treasure for a Linux-user, Shell-script programmer and Administrator. There are some Linux Commands which are lesser Known, yet very useful and handy irrespective of the fact whether you are a Novice or an Advanced User.

Now, we personally prefer to do as much as possible in a GUI, but for those of you that prefer the command line, this series is for you:

11 Lesser Known Useful Linux Commands – Part I
10 Lesser Known Linux Commands – Part 2
10 Lesser Known Commands for Linux – Part 3