Search Results

Search: Posts Made By: salanalani
Forum: HP-UX 05-30-2007
21,327
Posted By salanalani
Thanks... it's working now.
Thanks... it's working now.
Forum: HP-UX 05-30-2007
21,327
Posted By salanalani
IF Condition in ".sh" File (Beginner)
Hi,

I have the below ".sh" file which I just need to put an IF condition to exit from the file/code. Please see the remarks in the code below:

#!/bin/sh

currentdatehour=`date '+%Y-%m-%d-%H'`...
1,760
Posted By salanalani
Who delete the file and when?
Hi,

I have one file which has been deleted recently, can I know which user performed the deletion and when he/she did it?

I am using HP-UNIX platform.

Thanks in advance.
163,660
Posted By salanalani
Thanks so much Tayyab/shereenmotor, that's really...
Thanks so much Tayyab/shereenmotor, that's really explain the theory to me.
163,660
Posted By salanalani
OK, got it. Thanks for your support.
OK, got it.

Thanks for your support.
163,660
Posted By salanalani
So is it somehow affecting the execution of the...
So is it somehow affecting the execution of the line or it is simply does not do anything? I mean do I need to put it at the end of each line or not?

For your information, the lines I have in the...
163,660
Posted By salanalani
Meaning of "> /dev/null 2>&1"
Hi,

I am new into UNIX shell scripting and I am wondering what is the meaning of the below text which appears at the end of each line in the ".sh" file:

> /dev/null 2>&1

For example, the...
Showing results 1 to 7 of 7

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