Search Results

Search: Posts Made By: hiten.r.chauhan
18,151
Posted By zaxxon
Afaik no. You can help yourself with maybe...
Afaik no. You can help yourself with maybe putting multiple lines into a function, that will never be called. Let's say we want to "comment" cmd3-5:


cmd 1
cmd 2
dummy()
{
cmd 3
cmd 4
cmd 5...
2,050
Posted By bartus11
It is not that you cannot delete the file. You...
It is not that you cannot delete the file. You just did. "file" is deleted. But it's content is still available under "hlink".
5,138
Posted By kshji
Some days ago about same question...
Some days ago about same question (https://www.unix.com/shell-programming-scripting/154923-date-substraction.html#post302499785).

You have variables YYYY DD MM, but try to use DD1, YYYY1, MM1.
And...
168,446
Posted By Perderabo
Days Elapsed Between 2 Dates
We really don't (yet) have a posting that addresses the general problem of number of days between two dates. So I have just finished what should be the last date calculation script that I ever...
21,989
Posted By tene
#!/bin/csh set QUERY='netscape' set...
#!/bin/csh
set QUERY='netscape'
set COUNT_NETSCAPE=`ps | grep -c $QUERY`
echo $COUNT_NETSCAPE
1,702
Posted By Scrutinizer
There should be no space between NO_OF_FILES and...
There should be no space between NO_OF_FILES and =
Also, it should be $(wc -l <"$FILES_NAME")
18,250
Posted By ctsgnb
You should have NO space before and after the...
You should have NO space before and after the sign =

in csh, you should use

set var=value
for example:
set FILES_NAME='files_list'
and remove the line:
NO_OF_FILES;
4,951
Posted By ctsgnb
.... strange ... The calendar should be the...
.... strange ...

The calendar should be the same every 28 years. So to get the calendar of year 10000 you could just :

cal `expr 10000 - 28`
but i noticed that
cal 1 1900and
cal 1...
4,951
Posted By ungalnanban
On HP-UX the year between 1 and 9999. Refer...
On HP-UX the year between 1 and 9999.
Refer the link cal - HP-UX (http://nixdoc.net/man-pages/HP-UX/man1/cal.1.html?PHPSESSID=tqu3f6ng8ng88l2tq1lhjhald7)
Showing results 1 to 9 of 9

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