Article
In Bash, parameter expansion is a feature that allows you to manipulate the value of a variable or to extract part of its value using a special syntax. It is often used to modify the value of a variable or to extract information from it. Parameter expansion uses a syntax...
Dimitrije Stamenic
In bash scripts, assigning the output of a command to variables can be convenient by storing the outputs of the commands and using them later. In this short guide, we will take a look at how you can store the output of a command as a variable in Bash. The...
Guest Contributor
Byte
When running applications on Linux, you may find that something you're trying to launch can't because a process is already using the port that your new application needs. This is commonly the case with web applications. Another possibility is that a process has become stuck or unresponsive. This can happen...
The echo command outputs a given string to the standard output pipe, typically pointing to the terminal. Although the standard output pipe can point to other interfaces - the echo command is typically used to print and display messages in the terminal. By default, the text of the displayed message...
Bash scripts take in command-line arguments as inputs both sequentially and also, parsed as options. The command-line utilities use these arguments to conditionally trigger functions in a Bash script or selectively choose between environments to execute the script. In Bash, these are configured in different ways. In this article, we...
Sathiya Sarathi Gunasekaran
We commonly need and want to know more about the files and directories that we are working with. Most people know one of the ways, which is simply to Right Click > Properties on the wanted folder or file to view their properties. Though, for the more terminal-savvy, here's how...
Using a terminal can be a bit of an intimidating experience in the beginning - but after you get used to it, it can boost your productivity in ways you couldn't imagine and can become quite a pleasurable experience. That's probably the most addicting part of using the terminal daily....
The digital revolution has changed our lives in many ways. Nowadays, our picture albums, music collections, bookshelves etc. are all digital - binaries written on a disk. Our life and work are shared between a multitude of devices. Companies have development, staging, testing areas and dozens of developers connected to...
Dragan Bjekic
File access permissions and security are at the heart of *nix-based operating systems. File objects can belong to users and/or groups, and at times they need to be shared with various combinations of those two. There are multiple ways in *nix systems to reinforce secure sharing of these objects....
© 2013-2024 Stack Abuse. All rights reserved.