Search Results

Search: Posts Made By: hamsasal
5,465
Posted By hamsasal
Say I am having a timestamp 1140444334642 which...
Say I am having a timestamp 1140444334642 which is an epoch. I want this to be converted to something like "02/20/2006 19:35:34"
5,465
Posted By hamsasal
Unix timestamps
Can someone help me with a Unix or perl script to convert the unix timestamps to human readable format?


Any help will be highly appreciated...
4,738
Posted By hamsasal
Accessing a URL through script
Hi,
I am faced with a problem. Is it possible to access a URL from Unix script and to check whether it is up and running?

I could find some perl scripts that can do the same , but could not...
1,842
Posted By hamsasal
GOT IT!!! Thanks..
GOT IT!!!

Thanks..
1,842
Posted By hamsasal
test $#
Hi,
In one of the scripts i have seen this code

if test $# = 2
then
LOG_FILE=$2
else
LOG_FILE=$SYNC_PATH/logs/$BASENAME.log
fi

can someone help me with what " test $# " signifies.....
2,914
Posted By hamsasal
You can try tar -xf Filename.tar to extract...
You can try

tar -xf Filename.tar to extract the original file.
2,987
Posted By hamsasal
grep from a script...
This is an extract from a script that i am trying to run.

for tim in "2005:00:" "2005:01:" "2005:02:" "2005:03:" "2005:04:" "2005:05:"; do

FormString="$tim"
echo "grep '$FormString'...
1,596
Posted By hamsasal
find . -name \*.txt | grep "ebpp.consumer" just...
find . -name \*.txt | grep "ebpp.consumer"
just searches for the text "ebpp.consumer" in the filenames

and
find . -name '*.txt' -exec grep 'ebpp.consumer' {} \; -print
will search in the...
1,596
Posted By hamsasal
Need help with find command
I am executing
grep "ebpp.consumer" `find . -name "*.txt"` at root dir.

I just want to list Only those Text files with 'ebpp.consumer' in the file.

The problem i am having is there are many...
1
24,326
Posted By hamsasal
got it
Got the results that i was looking for !!
We can get it by giving
$ndmcli
Direct>select stat detail=yes pnumber="process number" ;

where process number will be the process number of the ndm...
1
24,326
Posted By hamsasal
ndmcli
Can Someone help me with 'ndmcli' command??
I want to check the complete statistics for an NDM file transfer.

Thanks in advance.

HamsaSal.
4,884
Posted By hamsasal
What does echo ^[[r do?
I tried echo ^[[r and it takes the cursor to first line in the telnet window...
and echo ^[[32m changes font color to green .... Also echo ^[[00ff takes cursor to first command line in the current...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 12:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy