How to calculate available disk space on Linux?
Checking disk space on a Windows PC is easy — just right-click on a drive like the C: drive and pick “Properties”. But if you have a dedicated server or a Virtual Private Server (VPS) hosted for you...
View ArticleCan I sequentially rename files in Linux?
You’re asking about a fairly straightforward shell script programming task, actually, which I think can be easily solved by recognizing that there are three basic steps: 1. create an ordered list of...
View ArticleReview: iSSH for the iPad/iPhone
There are a couple of lower priced options for your iPad available in the iTunes Store if you search for “ssh” (notably the $0.99 SSH Terminal) but as I haven’t had a chance to test them, I can’t...
View ArticleTest for valid numbers in a Bash shell script?
There are simple solutions to both issues, and I really dig into these in my popular book Wicked Cool Shell Scripts (pay special attention to script #5, validating numeric input), so I’m going to crib...
View ArticleCan I script renaming files based on an XML data map?
The complexity of this shell script is directly related to how well formed the XML data file you’re working with is. That is, if it’s laid out so that each filename map appears on its own line, we can...
View ArticleShell script to convert lowercase to title case?
That’s an interesting project to chew on, actually, because there are a couple of very different ways to address the problem. Actually, that’s pretty typical of Linux shell script programming because...
View ArticleCopy and Paste from the Mac OS X Command Line?
Now this is the kind of question I really dig. And what’s great is that it turns out that yes, there is a very simple pair of utilities in Mac OS X that let you monkey with the copy / paste buffer...
View ArticleInstall Ubuntu Linux within Parallels Desktop on Mac?
There are a number of different ways to install Ubuntu Linux on your Mac system, but one of my favorites, hands down, is to install it within the Parallels Desktop environment. Why? Because it’s...
View ArticleCan I run Solaris Unix on my Mac or PC?
What a great question and perfectly timed too, because I was just going through this same dilemma for some scripts I’m developing for a new edition of a book I wrote a while back. I posted a short...
View ArticleHow do I add a virtual CD/DVD drive to a VirtualBox OS?
Linux on your Mac through VirtualBox. Nicely done! I’m actually running something even more improbable on my Mac system through Oracle’s free-to-download VirtualBox system: Solaris 11. Yup, not Linux,...
View ArticleEasiest way to run Ubuntu Linux on my Mac system?
I like your professor already, requiring everyone install and run a popular Linux operating system on their computer. Almost all modern computer systems support multiple operating systems through...
View ArticleUpdate Programs and Apps on Ubuntu Linux?
I love that I’m getting Linux questions, as I’m a lifelong fan of Linux and Unix, having written a number of books on the subject and had a command line available on every system I’ve used for decades...
View ArticleChange Desktop Wallpaper in Ubuntu Linux?
Another Ubuntu user. Excellent. Here’s the thing though: Linux has gone through so much evolution in the last few years with window managers and increasingly sophisticated user interface development...
View ArticleAre there Games for Ubuntu Linux?
Unfortunately you don’t specify which version of Ubuntu Linux you’re running, but I’m going to make the assumption that you either have the latest or can upgrade to the latest version, 15.10. Not sure...
View ArticleHow do I mute my Ubuntu Linux system?
Another Linux fan, and you’re running Ubuntu Linux? Well played! It’s the version of Linux I run too, though I might be a bit more platform agnostic than most people with my Mac, Windows, Android, iOS,...
View ArticleChange default Web browser in Ubuntu Linux?
Glad to hear that you’re experimenting with different Web browsers on your Linux system: Ubuntu includes Firefox as the default, but I think there are better options out there now, particularly Google...
View ArticleHow to add a new user in Ubuntu Linux?
All major operating systems now support multiple users –with the exception of iOS on the iPad and iPhone — and it’s by far the best way to let other people use your computers and devices rather than...
View ArticleChange default Web browser in Ubuntu Linux?
Congrats on jumping into the rough and ready world of Linux! Well, “rough and ready” might be an exaggeration at this point given how many years people have been working to improve the user experience,...
View ArticleEasily add new user to Ubuntu Linux?
Modern computer systems have really good built-in help systems, and Ubuntu Linux is no different, offering not only good documentation with the system but a good system-wide search that doesn’t require...
View ArticleAdd Dropbox to my Ubuntu Linux system?
You’ve identified an excellent solution for easy file sharing across a Windows and Linux system by choosing Dropbox, and the bonus is that it also works on Mac systems and even on Android and iOS...
View Article