File names on Linux systems can be as long as 255 characters. While determining which files in a directory have the longest names might not be the most exciting task at hand, doing this with a script poses some interesting challenges that invite equally interesting solutions. To start, consider passing the output of the ls… Continue reading Finding Files On Linux With The Longest Names | Network World
Category: Linux
Using The Eval Command In Linux To Run Variables As Commands | Network World
There are probably a lot of Linux users who have never encountered the eval command. In fact, it’s not really a “command”, but a bash built-in that’s meant to process the value of a variable as a command. For example, if you set up a variable that includes the command to display the current time… Continue reading Using The Eval Command In Linux To Run Variables As Commands | Network World
Repeating Commands On Linux With Or Without Changes | Network World
Life on the command line on Linux is clearly something most of us enjoy, but typing the same command again and again can become tiresome. To avoid that boredom, this post explains a number of ways that you can make repeating commands – or repeating commands but with some changes – a lot easier than… Continue reading Repeating Commands On Linux With Or Without Changes | Network World
Using The Yes Command To Automate Responses | Network World
One of the more unusual Linux commands is named “yes”. It’s a very simple tool intended to help you avoid having to answer a lot of questions that might be asked when you run a script or a program that needs a series of responses to do its work. If you type “yes” by itself… Continue reading Using The Yes Command To Automate Responses | Network World