Category Archives: linux hacks

Linux Fu: The Linux Shuffle

Computers are known to be precise and — usually — repeatable. That’s why it is so hard to get something that seems random out of them. Yet random things are great for games, encryption, and multimedia. Who wants the same order of a playlist or slide show every time?

It …read more

Continue reading

Posted in Hackaday Columns, linux, linux hacks, prng, random, random number, random numbers, shuf, shuffle | Leave a comment

Understand Linux htop Visually

If you want to know exactly what’s going on in your Linux system, some of you might reach for top. For the  connoisseur of system monitors, nothing less than htop will do. Not familiar with htop? [Ahsen Saeed] did a beautiful job of doing it graphically.

We’ve mentioned …read more

Continue reading

Posted in htop, linux, linux hacks, top | Leave a comment

Maze Solving Via Text Editing

Linux scripters usually know about sed — the stream editor. It has a simple job: transform text as it whizzes from input to output. So if you wanted to solve a maze, this wouldn’t be the tool you’d think to use, right? Well, if you were [xsot], you’d disagree.

You …read more

Continue reading

Posted in linux, linux hacks, maze, sed | Leave a comment

Linux Fu: Leaning Down with exec

Shell scripting is handy and with a shell like bash it is very capable, too. However, shell scripting isn’t always very efficient. Think about it. If you run grep or tr or sort to do some operation in a shell script, you are spawning a whole new process. That takes …read more

Continue reading

Posted in bash, exec, Hackaday Columns, linux, Linux Fu, linux hacks, shell scripting, Skills | Leave a comment

Now Even Your Business Card Can Run Linux

It takes a lot of work to get a functional PCB business card that’s thin, cheap, and robust enough to be practical. If you can even blink a few LEDs on the thing and still hand them out with a straight face, you’ve done pretty well for yourself. So you …read more

Continue reading

Posted in Allwinner, business card, Embedded Linux, F1C100s, hardware, linux, linux hacks, micropython, pcb business card | Leave a comment

Linux Fu: WSL Tricks Blur the Windows/Linux Line

We have to admit, we have an odd fascination with WSL — the Windows subsystem for Linux. On the one hand, it gives us more options on Windows 10 for running the software we love. On the other hand, we wonder why we aren’t just running Linux. Sometimes it is …read more

Continue reading

Posted in Hackaday Columns, linux, Linux Fu, linux hacks, windows, wsl | Leave a comment

Linux Fu: Stupid SSH Tricks

If you connect to remote computers over the Internet, it is a pretty good chance you use some form of SSH or secure shell. On Linux or Unix you’ll use the ssh command. Same goes for Linux-like environments on Windows like Cygwin or WSL. For native Windows, you might be …read more

Continue reading

Posted in Hackaday Columns, linux, linux hacks, Skills, ssh | Leave a comment

Linux Fu: Debugging Bash Scripts

A recent post about debugging constructs surprised me. There were quite a few comments about how you didn’t need a debugger, as long as you had printf. For that matter, we’ve all debugged systems where you had nothing but an LED to flash or otherwise turn on to communicate …read more

Continue reading

Posted in bash, bashdb, debugging, Hackaday Columns, Linux Fu, linux hacks, shell script, Skills | Leave a comment

Tales from the Sysadmin: Dumped into the Grub Command Line

Today I have a tale of mystery, of horror, and of hope. The allure of a newer kernel and packages was too much to resist, so I found myself upgrading to Fedora 30. All the packages had downloaded, all that was left was to let DNF reboot the machine and …read more

Continue reading

Posted in grub, Hackaday Columns, linux, linux hacks, Original Art, Skills, Tales from the Sysadmin, Tech Noir | Leave a comment

Worn Out eMMC Chips are Crippling Older Teslas

It should probably go without saying that the main reason most people buy an electric vehicle (EV) is because they want to reduce or eliminate their usage of gasoline. Even if you aren’t terribly concerned about your ecological footprint, the fact of the matter is that electricity prices are so …read more

Continue reading

Posted in car hacks, Current Events, electric vehicle, Embedded Linux, Engineering, Featured, flash storage, intel atom, linux, linux hacks, log files, Original Art, slider, tegra, tesla, wear-leveling | Leave a comment