News

Command-line Perl scripts can make adminstering a UNIX box easier by replacing certain commands with some routine scripts. Find out how to take advantage of this approach.
In the command below, we’re using the perl tr command to map the range of characters between hex 80 (decimal 128) to hex FF (decimal 255) aqnd deleting them (d).
The “-p -i -e” part of this command could also be expressed as “-pi -e” and this is, in fact, like the example that the author uses to start his journey through 130 really useful Perl one ...
Perl pie commands make replacing text within a file fairly easy, though you should always be careful that you’re not changing text you didn’t mean to change along with the text you hoped to ...
A lot of information is available about individual files on a Unix system. For example, the ls -l command will display the permissions matrix and ls -i will display a file’s inode. But, if we ...
I write Perl programs that use the Windows shell command dir. The dir command is built into cmd.exe and there is no dir.exe in the System folder.
What functions and command line options are there available as far as reading the file's timestamp is concerned?I am writing a script to put in cron that deletes symlinks that are older than an ...