Search Results

Search: Posts Made By: puneet
11,269
Posted By puneet
try using csh shell then give cc
try using csh shell then give cc
1,953
Posted By puneet
cat myfile | cut -f4 -d" " | grep mytext | wc -l ...
cat myfile | cut -f4 -d" " | grep mytext | wc -l

myfile will be the name of file in which you are searching
4 in f4 represents column 4
mytext is what I am searching
Regards
Puneet Khurana
80,498
Posted By puneet
Try tail -10 filenameThis will show you last 10...
Try tail -10 filenameThis will show you last 10 lines of the file
4,054
Posted By puneet
Finding path of a running script
Hi,
I just want to know any code by which i can get the path of the script which i am running. This is required to store the output in the same directory from where the script is running. pwd...
2,770
Posted By puneet
Check Path
Check with the path, you have mentioned /postscript and probably your folder is not in root directory.
Forum: HP-UX 04-09-2008
5,883
Posted By puneet
/etc/passwd file manipulation
Hi
How the user is allowed to change his password with passwd command, although /etc/passwd has read only rights. How this file gets modified upon changing password???
Thanks in advance for...
54,130
Posted By puneet
before invoking vi give, set TERM=vt100
before invoking vi give, set TERM=vt100
Forum: HP-UX 04-02-2008
9,228
Posted By puneet
echo "selclass qualifier...
echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm | grep "System Serial Number"

Above command will work :)
Showing results 1 to 8 of 8

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