time command in Linux with examples

time command in Linux with examples

The time command in Linux is like a stop watch built directly into your command line terminal. The time command is able to track how much time any command takes to finish executing. All you need to do is preface some command with the time command. Your command will execute as normal, but it will also show the duration of the command.

Read more

tee command in Linux with examples

tee command in Linux with examples

Any Linux user that has spent enough time with the command line will eventually run into a scenario where they would like to redirect standard output and/or standard error to a file (or multiple files) as well as the terminal at the same time. For something so trivial, surely there’s a way to send our output to both places at the same time. And this is exactly what the tee command in Linux is used for.

Read more

tail command in Linux with examples

tail command in Linux with examples

The tail command in Linux is one of the most essential commands you’ll need when viewing text files. If you’re a beginner to using the command line, the tail command is a good one to learn, along with the head command, which is sort of its opposite counterpart. tail is used to print the last 10 lines of multiple files or a specified file. tail, with it’s interesting and convenient functions, can be used to monitor changes that are made to files.

Read more

od command in Linux with examples

od command in Linux with examples

The od command in Linux is used to dump files in octal and other formats, including hexadecimal, decimal, and ASCII. This can be handy when you need to view files that aren’t ordinarily human readable, such as a binary file that’s already been compiled. But it can also prove useful in a slew of other, admittedly niche, scenarios.

Read more

tar command in Linux with examples

tar command in Linux with examples

The tar command creates the tar file type is used to combine multiple files into a single archive. Tar actually means “tape archive,” because tar’s original purpose was to be used on tape backups – that should tell you how old this format is. Linux systems still use the tar format, and it continues to enjoy widespread use to this day.

Read more

ssh command in Linux with examples

ssh command in Linux with examples

The ssh command in Linux is used to manage remote systems. Ordinarily, this would be another Linux system, but it could also be a firewall, router, or even a different operating system entirely. Using the ssh command to remotely log into another system will give you a command line terminal that you can fully access as if you were physically in front of the machine.

Read more

rm command in Linux with examples

rm command in Linux with examples

The rm command is one of the most common and basic commands in Linux. Even if you have a limited amount of experience with Linux, you’ve most likely heard of it. The main purpose of this command is to remove files and directories. Using this command to remove files and directories cannot be undone.

Read more

How to use uname Linux command

uname command in Linux with examples

The uname command in Linux is one of the frequently used commands. On Linux systems, there are a multitude of commands that can be used to print system information. We cover many of these commands in our guide about getting to know the hardware of your Linux box. One such command would be uname, which is especially good for listing information about the operating system itself and the Linux kernel that is running.

Read more