Everybody's seen redirection in bash commands, that's pretty common, but bash also allows you to define redirections when you define functions. This causes the redirections to be evaluated/executed whenever the function is called. This feature doesn't really give you any new features, just another way to express existing features.
Read more »More Bash Redirections
Category: High End Tags:
- Login to post comments
Command Line Basics: View Text Files with more
One of the things you may find you want to do often from your command line is to view the contents of a text file. This could be to view the contents of some startup script or just one of your own basic configuration files like .bashrc or .bash_aliases. The command is simple to use.
Read more »- Login to post comments
Please Don't Show the Command Line to the Uninitiated
Not long ago I had the opportunity to show off GNU/Linux to a friend. She's been a lifelong Windows users and is just your average, non-technical computer user. Everything was going fine [until] I opened the command line.
Read more »- Login to post comments
8 Useful and Interesting Bash Prompts
Many people don’t think of their command prompt as a particularly useful thing, or even pay it much attention. To me, this is a bit of a shame, as a useful prompt can change the way you use the command line.
Read more »Category: High End Tags:
- Login to post comments
Command Line Basics: Pipelining Output
One of the most powerful features of the Linux command line interface, (and other shells that conform to the POSIX standard) is the ability to pipeline output from one command as the input to another. This is done using the vertical bar or pipe character [ | ].
Read more »- Login to post comments
Finding Files On The Command Line
One of the things I like about Linux is the command line. I have used nautilus, gnome-commander, konqueror, kommander, dolphin and thunar to manage files in Linux and these file managers are great for what they do. But there are times when one simply wants to find a file when working on the command line without having to open a GUI application.
Read more »Category: End User Tags:
- Login to post comments
Command Line Cheatsheet
I was showing a friend how to be more productive while working in a terminal and she asked me about the keys I was pressing during the demonstration.
Read more »Command Line Basics: Redirecting Output
The output of most GNU command line tools is normally sent to the terminal (ie – standard output). There are times when you would like to have the output saved as a file. Now, you could copy the text from the terminal and paste it into a text editor and save it, but there’s a better way...
Read more »- Login to post comments
Command Line Basics: View Files With cat
There are many ways to view files in GNU/Linux. One of the simplest command line tools for viewing files is cat. The cat command, short for concatenate, is actually intended for joining multiple files into one, but it works equally well for viewing text files.
Read more »- Login to post comments
Colorizing the Linux Command Line
A little color makes the Linux command line easier to read. Juliet Kemp shows how easy it is to add a little color to your command shell.
Read more »Category: End User Tags:
- Login to post comments
Command Line Init Script Generator For Linux Or Unix
A somewhat simple init script generator for Linux or Unix. Created 2 years ago, but needed some retooling before being released into the wild.
Read more »Category: Beginner Tags:
- Login to post comments
More on Using the Bash Complete Command
In the video last week I showed how to use the bash complete command for simple use cases. Today I'll show you some of the additional ways that you can use the command for more complex scenarios.
Read more »- Login to post comments
Introduction to GNU Screen
Screen is one of those tools you can’t live without once you know about it. In this guide we check out some of the most common uses of screen and give you an introduction to this wonderful utility.
Read more »Category: High End Tags:
- Login to post comments
Running Complex Commands with sudo
If you use sudo to run commands as root, you've probably run into “permission denied” problems when only part of a pipeline or part of a command is running with root permissions.
Read more »- Login to post comments
The Beginner's Guide to Linux Part 4: Introduction to the Terminal
Traditionally, most new users have always been reluctant to experiment with the command line interface. Once you understand the terminal, Linux will finally open up to you. The terminal is easily the most powerful part of a Linux system.
Read more »Category: Beginner Tags:
- Login to post comments