This article will show you how to write to a file in the Python programming Language – examples included! All files are, essentially, text files. Data is formatted and stored in various ways – comma-separated values for spreadsheets (CSV), plain text for text files (TXT),… Read More »How to Write to a Text File in Python
I'm Brad, and I'm nearing 20 years of experience with Linux. I've worked in just about every IT role there is before taking the leap into software development. Currently, I'm building desktop and web-based solutions with NodeJS and PHP hosted on Linux infrastructure. Visit my blog or find me on Twitter to see what I'm up to.
Want to keep the kids busy over the holidays? Get them interested in computing. It’ll keep them busy for the rest of their lives. Computing is a huge field that covers many different subjects and skills – programming, digital art, music-making, engineering – and understanding… Read More »Linux for Kids – Distributions, Fun Tools, Games & Learning
This article will show you how to use a Heredoc (Here Document) in Bash/Shell scripts to work with multi-line text. Heredocs are most useful for accepting multi-line input- the user can enter a line of text, press enter, then enter the next line, and so… Read More »HEREDOC (Here Documents) in Bash and Linux Shell – Tutorial
Concerned that you have a failing hard drive? Make a backup. Then, use these Linux tools to check your disk/drive. Not concerned that you have a failing drive? Back up anyway. It could be failing, and you don’t know it. Or it could get stolen. Or a… Read More »Check Disk Health in Linux/Ubuntu [How To / Guide]
This article will show you some practical examples for using the printf command in the Bash/Shell on Linux. The printf command outputs text much like the echo command does – but it allows for more control over the output formatting. It’s a useful tool for generating your own formatted… Read More »Using the printf Command in Bash/Shell, With Examples
This short tutorial will teach you to prompt the user for typed input from your Bash/Shell scripts. It’s easy to learn, easy to do, so read on! The read Command To read user input in shell scripts, use the aptly named read command. It has the following syntax: read… Read More »How to Prompt for User Input in Bash/Shell Scripts
This article will show you how to set up a command to run automatically each time you (or any user) log in on the Linux operating system. Several tasks may be useful to run on login – perhaps you want to connect to a network… Read More »How to Run a Program or Command On Login in Linux
Want to run a program, command, or script when you start or log into your Linux OS? This article will show you how. Running Scripts on Startup with Crontab The best way to run a command whenever your system starts is using crontab. cron is the job… Read More »How to Run a Script/Command on Startup on Linux/Ubuntu
This article will cover some options for office productivity software for Linux. Microsoft Office dominates the office productivity space – it’s the industry standard. If you’re in business, other businesses probably expect to be able to send you an Excel or Word file and for… Read More »Office Software for Linux/Ubuntu – What are the Options?
There are still many tutorials and resources online that are written for Python 2 rather than the newer Python 3 – So, which should you be using? The short answer is below: Python 3. Why You Should Use Python 3 Python 3 is better in… Read More »Python 2 vs Python 3 – Which Should I Be Using?