Login | Sign up

Posts for Howto RSS feed for Howto tutorials

May 30

Find files with setuid or setgid

You should check to make sure there are no unneeded setuid and setgid files on your computer. They might be a potential security risk.

May 29

How long did that command take

Bash has a built in command to tell you how long a command took to execute. There is also a gnu version for those not running Bash.

May 28

Save the output of commands

There are many reasons you may want to save the output of various commands. You may be establishing a baseline, documenting, keeping records, or just manipulating existing files. Learn how to do it and learn about saving errors too.

May 27

The power of grep

The grep command allows you to search files and filter command output based on your search criteria. This command is such a time saver, it is possibly my favorite Linux-only command.

May 26

Watching your logs in real time

It can be very useful to see logged messages as they are logged. You can get a better feeling for what event triggered the message. You can easily view appended log messages using a basic Linux command, tail.

May 24

How many lines is this?

Using the wc command to count lines, words, characters and bytes in files and command output.

May 20

Backup & Restore your Master Boot Record (MBR)

Learn how to backup and restore your hard drives' Master Boot Record (MBR) using Linux.

May 17

Vi show/hide line numbers

Vi can display line numbers to the left of each line. Learn how to show and hide those numbers.