The command line (or Terminal for you Mac fans) is a throwback to a simpler age of computing, before mouse pointers and application windows and desktop wallpaper. Back when it was just you and a window full of text. Operating systems have long since evolved beyond the humble command line interface, but there's still no better tool for quickly disseminating complex information in your operating system -- and you can actually do some other pretty cool stuff with them, too.
Tagged With command line
Predicting the future is near impossible -- but that doesn‘t stop us all from having a red hot go. Human beings have been predicting the future since the beginning of history and the results range from the hilarious to the downright uncanny.
One thing all future predictions have in common: they‘re rooted in our current understanding of how the world works. It‘s difficult to escape that mindset. We have no idea how technology will evolve, so our ideas are connected to the technology of today.
If you are acquainted with the command line on Linux or Unix systems, you've probably punched in the wrong command by mistake more times than you'd care to admit. It's particularly frustrating when that mistake concerns shutting down the wrong machine, which can happen when you're SSHing into multiple virtual machines. molly-guard is a tool that prevents accidental shutdowns or reboots.
While the Raspberry Pi's operating system is Linux, that doesn't necessarily mean you should go out and memorise every Linux command. The Pi is a different type of computer that's used for different kinds of projects, so the most useful commands differ from what you'd use on an everyday Linux machine. Over at Circuit Basics, they tallied up their 42 most used commands.
Typically, if you wanted to control your Raspberry Pi from outside your network, you'd need to go through and set up your router to allow access from the internet, install some software on your Pi, set up a DNS server, and cross your fingers you're doing that all securely. Dataplicity makes this a heck of a lot easier.
Before Microsoft had Office, before it had Windows, it had an operating system called MS DOS. MS DOS was a command-line operating system, meaning you had to memorise a lot of commands and type them into the computer to get it to do things like show you a list of files. And for the past 36 years, every version of Windows still had a way for people to get to this MS DOS command prompt to find and manipulate files, for those needing to do things with their PCs in that old-school way. Until now.
The Raspberry Pi is a fantastically affordable computer, but when you add in the cost of a display, mouse, and keyboard, things get a little more expensive. Good thing you don't really need them. With VNC, you can access your Pi from a laptop or desktop computer using the same mouse, keyboard, and display that you always do, no rewiring required.
Command line tools can provide more power and flexibility over a graphical front-end, especially for the likes of ImageMagick and FFmpeg. Unfortunately, while some of these utilities are multi-threaded, core utilisation isn't the best when running more than one instance. This is where MParallel steps in, allowing you to explicitly parallelise these tasks.