In this Linux tip, we’re going to look at the expand command. It's used to replace tabs in text files with space characters (sometimes referred to as "blanks").
Data centers are a critical, but often power-hungry, part of the enterprise. But, why exactly do data centers require so much energy? And how can businesses address emissions concerns as well as cut back on the costs associated with cooling data centers? Ashish Nadkarni, group vice president within IDC's Worldwide Infrastructure Practice, joins Juliet to discuss the status of data center efficiency, what it means within the context of green IT and how technology has advanced to make servers more efficient.
In this Linux tip, we’re going to look at the seq (sequence) command. It provides a very easy way to generate a sequence of numbers and gives you a lot of control.
In this Linux tip, learn how to use the true and false commands. What they do is very simple. The true command generates an exit code of 0 (no problems) and the false command generates a value of 1.
In this Linux tip, learn how to use the fold command. It allows you to limit the length of lines when displaying a text file by "folding" long lines into smaller pieces and, of course, you can save the shortened lines into another file.
In this Linux tip, learn how to use the csplit command. It's a command that lets you split a file into pieces based on its content. For example, you might separate a file based on chapter headings, dates or content separators of some kind. Think of "csplit" as meaning "context split."
In this Linux tip, learn how to use the nethogs command. As the name implies, nethogs will display information on how much processes using or "hogging" your network bandwidth.
In this Linux tip, learn how to use the whois command. It sends requests to what are called WHOIS servers. These servers maintain numerous details on domain registrations. So, when you ask about a particular domain, you get a pile of details.
In this Linux tip, learn how to use the dmesg command. It's a command that displays the content of the kernel message buffer – messages that were sent by various system services such as device drivers. You can view a lot of information that you would normally not see and get insights into how your system is working.
In this Linux tip, learn how to use the free command. It doesn't mean a command that you are not paying for, but one that tells you how much memory – physical and swap – is being used on your Linux system including how much is "free" and how much is available.
In this Linux tip, learn how to use the bpytop command. It's one of many "top" commands (like top and htop) that make it easy to gauge many aspects of system performance on Linux.
In this Linux tip, learn how to use the cheat command. It provides what have come to be called "cheat sheets" on a huge assortment of Linux commands. Once installed, all you have to do is type "cheat" followed by the name of the command for which you want to see sample commands.
In this Linux tip, learn how to use the xargs command. It accepts input that is piped to it and then uses that input as arguments to whatever command you specify.
In this Linux tip, learn how to add comments to your scripts. It's a super easy thing to do and can make it a lot easier for you or someone else to figure out what your script is intended to do – especially if the script is complex or you haven't looked at it in a long time.
In this Linux tip, learn how to use the sar command. The name "sar" stands for "system activity report". It provides details on all aspects of system performance including system load, CPU usage, memory use, paging, swapping, disk usage, device load, network activity and so on.
In this Linux tip, learn how to use the wait command. It's a command that allows you to wait for a process running in the background to finish before you move on to the next command.
In this Linux tip, learn how to use the export command. It's a bash built-in that allows command line variables to be available to a child process – a second shell or a script that you run.
In this Linux tip, you'll learn two checksum commands -- one that provides an easy way to compare a copy of a file to the original, and one that computes a 256-bit checksum that is cryptographically secure.
In this Linux tip, learn an easy way to do math on the command line using double parentheses. This construct is often used in scripts, but also works just fine on the command line.