PyeNet Universal

IT Infrastructure Services

²
  • Home
  • News
  • Services
  • Tips n Tricks
  • Contact Us

Tips 'n' Tricks

  • → GNU/Linux Command Line Tips
  • → GNU/Linux Application Tips
  • → GNU/Linux OS Configuration Tips
  • → Misc. GNU/Linux Tips

Grepping for the last item in a file

Sometomes you are more interested in the last entry in a log file. Read more >>>

Counting files in a directory

A single liner to count files in a directory. Read more >>>

Use seq to add range of numbers to a loop

The seq command can be used to specify a range in a loop. Read more >>>

Parse an email log file

grep options to find To and From entries. Read more >>>

Run sed over multiple files

Putting the sed command in a loop to modify multiple files. Read more >>>

To change permissions on directories only

Changing permissions on directories only in a file system. Read more >>>

To find processor size

Is the processor in this machine 32 bit ot 64 bit? Read more >>>

Summary of usage using du

Using the -s option of du to find a summary of disk space usage. Read more >>>

Edit a user crontab safely

Crontab files can become system critical, here is how to make sure they are editted safely. Read more >>>

Redirection of command output to the bit bucket

On GNU/Linux systems there are 3 standard sources for input and output called... Read more >>>

Spaces in a filename when using scp

The scp command needs special treatment if filenames contain spaces Read more >>>

Copyright © 2008 - 2021 PyeNet Universal / Based on a theme by Sara (Innovatif) / Powered by Vim and Make, with a little VSCode