Search Results

Search: Posts Made By: rana_d
7,768
Posted By rana_d
Is there anyway we can search above a line number...
Is there anyway we can search above a line number in SED.

For example, I have a file like this,

START
.....
.....
.....
END
START
.....
.....
END
START
.....
xyz
.....
END
START...
5,353
Posted By rana_d
That doeen't work either. umask value of...
That doeen't work either. umask value of /etc/profile is 027 and 000 in my .profile file. But still touch is creating a file with permission 666. No execute permissions to anybody.
5,353
Posted By rana_d
I got the same question.....but didn't find a...
I got the same question.....but didn't find a satisfying answere. Not sure but probably the touch or vi command by defalut creates the file without execute permissions.
6,315
Posted By rana_d
remove the move (mv) command and you will get the...
remove the move (mv) command and you will get the desired result.
4,058
Posted By rana_d
the follwoing would work fine then, cp `ls...
the follwoing would work fine then,

cp `ls -lrt emp_*.dat|tail -1|awk '{print $9}'` <absolute path name of the folder>
4,058
Posted By rana_d
If that folder only contains those files then you...
If that folder only contains those files then you can simply use,

cp `ls -lrt|tail -1|awk '{print $9}'` <absolute path name of the folder>

It has limitations, but has got simplicity.

:)
Forum: Solaris 05-22-2008
6,480
Posted By rana_d
You may use, But for that you need root...
You may use,

But for that you need root access.

================
If you r using putty
================
In putty you need to put something less that 60 as your terminal is timing out in 1...
Forum: Solaris 05-21-2008
6,480
Posted By rana_d
If you are using putty, then you can put some...
If you are using putty, then you can put some value (say 5) in the keepalive text box in the connection field.

Go to Change settings > connection > keepalive
2,456
Posted By rana_d
Simply use the following, sed -e '1 d' -e '5...
Simply use the following,

sed -e '1 d' -e '5 d' abc.txt > new_file
Forum: What is on Your Mind? 06-21-2007
3,554
Posted By rana_d
HR means Human Resource BSD is of course...
HR means Human Resource

BSD is of course used on servers.
Forum: Filesystems, Disks and Memory 02-15-2007
3,988
Posted By rana_d
Sometimes it may happen that one user was using...
Sometimes it may happen that one user was using one of the file which is very big, say he was grepping on of the big file. After he stopped his job, the file may be left open somehow. Try serching...
Forum: Solaris 07-26-2006
6,220
Posted By rana_d
Excellent! thats what exactly i'm looking for....
Excellent! thats what exactly i'm looking for. Thaks Pavan.
Forum: Solaris 07-10-2006
6,220
Posted By rana_d
Doesn't looks like a permission issue, because...
Doesn't looks like a permission issue, because when i run it from the cmd prompt, it is apperaring fine. Problem is occuring only in case of redirecing.
Forum: Solaris 07-10-2006
6,220
Posted By rana_d
That didn't work, the problem i mentioned still...
That didn't work, the problem i mentioned still persistes.
Forum: Solaris 07-07-2006
6,220
Posted By rana_d
problems in redirecting TOP
Hi All,
I am trying to run top in crontab, but I am getting problem while trying to redirecting the output of top cmd.
I am getting the process part but the CPU states, user, kernel, iowait, swap...
Showing results 1 to 15 of 15

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