Category Archives: linux

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

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

Pack Your Bags – Systemd Is Taking You To A New Home

Home directories have been a fundamental part on any Unixy system since day one. They’re such a basic element, we usually don’t give them much thought. And why would we? From a low level point of view, whatever location $HOME is pointing to, is a directory just like any other …read more

Continue reading

Posted in Featured, Interest, linux, operating system, Original Art, philosophy, Software Development, system administration, system architecture, systemd, unix | Leave a comment

Linux Fu: Python GUIs for Command Line Programs (Almost) Instantly

Not every programmer likes creating GUI code. Most hacker types don’t mind a command line interface, but very few ordinary users appreciate them. However, if you write command line programs in Python, Gooey can help. By leveraging some Python features and a common Python idiom, you can convert a command …read more

Continue reading

Posted in command line, gooey, gui, linux, linux hacks, python, Software Development, software hacks | Leave a comment

Linux Fu: Shell Scripts in C, C++, and Others

At first glance, it might not seem to make sense to write shell scripts in C/C++. After all, the whole point to a shell script is to knock out something quick and dirty. However, there are cases where you might want to write a quick C program to do something …read more

Continue reading

Posted in bash, c++, gcc, Hackaday Columns, linux, linux hacks, scripting, Skills | Leave a comment