Unix Coding School

                          

                   

Note: The archives category content is an automatically generated focus channel and does not neccessarily reflect the opinions of this blog. No responsibility is taken for the external links presented here, follow at your own discretion.
The archives content is never scraped from sites - but an abstract obtained from search engines.

Category: 'UNIX Coding Training'

Binary Calculator Hex

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You want to perform some arithmetic with UNIX.



VI Tips

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


Started using vi probably 13 years ago and ever so often, still learn new tricks with it! :)

Some of my favorites are: turning on control characters; mapping function keys; performing global search and replace; remapping columns.



AWK Print line number

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


Ever wanted to display a line number, with each matching record from awk. Useful as a way of counting the number of matching lines too.



Debugging shell scripts

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You need to debug a shell script.



Procs started by cron

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


Sometimes you want to list all processes that have been initiated by cron.



Proc run timings

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You want to ascertain how long your script takes to run, displaying thousands of seconds and including CPU utilization.



Ways Display Procs

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You want to display processes, commands within the process tree.



Find pattern in file

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You need to find a pattern in a file. Using regular expression.



SED extract line from file

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


You want to extract a specific line number from a file.



SED Tips

Thursday, December 6th, 2007
Problem Solution Example Reference Recommended


Following on from the last post on removing lines with sed, how do we use sed to substitute output on the fly?




Google
 
Failing that - a post search:



Categories: PHP Coding Training PHP Coding Specialist Perl Coding Training Perl Coding Specialist
LDAP Coding Training LDAP Coding Specialist UNIX Coding Training UNIX Coding Specialist Archives


A DarlingRanges.com Site























Associated
Sprinkling of Techie tips - include a bit of UNIX
Some nice articles on UNIX Printing