Login | Sign up

Entries tagged: linux RSS feed for linux 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 25

Intro to piping

Piping is one of the many great features of Linux that makes its command line so superior. You can send the output of one command to the input of another.

May 24

How many lines is this?

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

May 23

Intro to setuid and setgid

setuid and setgid are useful file permissions. Learn what they are, how to add and remove them and check if they were set successfully.

May 21

Require wheel membership to su

Learn how to limit access to su and make it more difficult to guess your root password.

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 18

Install tinydns (djbdns) and its requirements

Tinydns (djbdns) is a DNS server designed for security. It has a smaller memory footprint than BIND. Learn how to install it and its prerequisites from source.