coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 38 guests online

Newest Member

advaxavardimb

Hit Counter
9134402 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595502
Members:16439





Advanced Search coolcommands.com
Search Keyword:   Help
Exact match Match any (part of) word Full text search


coolcommand

lt.pl - how to take perl localtime and display in human readable format
Description

Here is a sample perl script on how to take localtime output and print date or time as required:

#!/usr/bin/perl

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$year += 1900;
print ("$mday/$mon/$year-$hour:$min:$sec\n");
Example

lt.pl

Return to search results

Random coolcommands

coolcommand: how to update an lpp_source and SPOT in NIM
Example: nim -o update -a source=/mnt -a packages=all -a gencopy_flags=-bqS -X lpp6100_01_01
[show me the details]
coolcommand: dateconfig - setting date, time and NTP information in Linux with GUI
Example: dateconfig
[show me the details]
coolcommand: kill all the processes of a particular user
Example: ps -fU username | awk '{ system ("kill "$2)}'
[show me the details]
coolcommand: dmpmqlog - how to dump a formatted version of the Websphere MQ system log
Example: dmpmqlog -m MQBOBOQ1
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43934
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum