We’ve seen how bash shell scripts work in Linux, and allow you to automate complex actions. Bash functions are essential to shell scripts – they help keep code clean and modular. While bash isn’t a traditional programming language, there are many similarities, even though it doesn’t have some more advanced functionality than modern programming languages, […]
Category: Linux Command Line
How to Use the “docker volume create” Command
We’ve seen the usefulness of docker, and how we can use it to run applications normally requiring huge amounts of configuration such as web servers and databases. This seems like the perfect solution for complex packages that require expert maintenance and setup. And it is! There’s a reason why docker is widely used and loved. […]
Linux tr Command: Everything You Need To Know
What is the Linux tr command? The tr command in Linux is an excellent tool which can be used for text manipulation of specific characters within text files. With this tool you are able to translate strings of characters from standard input (also known as stdin) and it will write that translation into standard output […]
How to Manager Docker Memory Limits
Using docker can become addictive. Once you see how easy it is to download and start a container running an application that normally requires heavy configuration – like a web server, for example – you start to think of everything in terms of docker containers. But with this comes risks. Docker containers can grow in […]
How To Install R On Ubuntu
What is R? R is a popular statistical computing programming language commonly used by data scientists and software developers to manipulate data in various use cases. With the use of R you are able to execute various tasks such as statistical calculations of data, data visualization through graphical sets or even hypothesis testing. Another excellent […]
Should You SSH Into a Docker Container?
In the article on how to fix the Docker “permission denied” error, we saw that we can use docker to easily set up pre-configured instances of applications so that we don’t have to know too much about setting it up and running it ourselves. Long-running applications like database servers and web servers that require complex […]
The Less Command: The Complete Guide
What is the less command in Linux? Ever heard the expression “less is more”? Well today we’ll be going over the less command in Linux which is very similar to another command called “more”. Less is a Linux command line tool available on all Linux operating systems and it allows you to page/search through log […]
Pwd Command In Linux: The Complete Guide
What is the PWD command in Linux? There are various situations when you may need to know the exact path of your present working directory. The PWD command in Linux is useful in many cases and it will show you the full path to your current working directory or “present working directory” which is what […]
How to Append to a File in Bash
From the point of view of someone who’s not very experienced with Linux, it can seem to be a very niche scenario where you’d want to append something to a file. But as soon as you begin managing a server, you’ll see we have many reasons to add content to a file. As a result, […]
Understanding The Impact Of Spaces In Filenames on Linux
When working from a graphical interface such as Gnome and KDE, are you putting spaces in the filename or directory names? Did you know that doing so will make it harder to work with the files from the command line on UNIX like systems? In this post, we are going to explore this in depth […]
