Entries filed under category “Shell tricks”:

Hacking embedded systems

Posted by | Comment (1) | Trackbacks (0)

Linux is everywhere, not just on desktops. It's on phones, ebook readers, on public terminals, on routers, on electricity meters and many more devices. The key to Linux' success is it's diversity. It is possible to run Linux on nearly every technical device that has a CPU. Many of these are closed systems, so often you don't even notice that Linux is running on that particular device, but there is always a way to gain access to its internals and modify it the way you want. But often you have the problem that heavy modifications might void your warranty or make updates to a more recent firmware version impossible. In this article I want to show you a simple but powerful way to modify such systems in a non-destructive way.

Read more…

Shell trick #1: Numbering lines in text files

Posted by | Comments (0) | Trackbacks (0)

Hi, today I'll present you something new. It is an experiment and I'd be curios whether you like it. I've started a little series of ttyrecs. That means, I've recorded a little tip or trick on the console and uploaded it to PLAYterm so it can be easily played back in the browser. I thought it could be useful to do a little command line gymnastics.

Today I'll show you three ways how you can number lines in text files. We'll do that with cat, nl and vim.

Note: you need JavaScript enabled in order to play the ttyrec.

Read more…

(Page 1 of 1, totaling 2 entries)
Design and Code Copyright © 2010-2024 Janek Bevendorff Content on this site is published under the terms of the GNU Free Documentation License (GFDL). You may redistribute content only in compliance with these terms.