Search Results

Search: Posts Made By: Athix
Forum: What is on Your Mind? 07-04-2012
1,985
Posted By Athix
There is a appreciable gap between a recognition...
There is a appreciable gap between a recognition of a discovery officially and mentally by the scientists.

It can be confirmed soon as it being out of CERN, known to have confirmed the plasma...
Forum: What is on Your Mind? 07-04-2012
1,985
Posted By Athix
It took quite a long for the scientists around to...
It took quite a long for the scientists around to accept the discovery of Gluon and still so as it will be...
21,414
Posted By Athix
Try the below, cut -f2- FileName | sort |...
Try the below,


cut -f2- FileName | sort | uniq -c


The first column will give you the count of the occurrences.
4,111
Posted By Athix
what if you have 127.0.0.18 and 127.0.0.128 in...
what if you have 127.0.0.18 and 127.0.0.128 in the file? You will get a match if you look for 127.0.0.1 even if it isn't in there...

grep -i is a wild way of getting some clue for something else...
4,111
Posted By Athix
Make it clear on the format of the data in the...
Make it clear on the format of the data in the file subnet on which you are doing a grep?
4,280
Posted By Athix
If u know the position of the char then cut will...
If u know the position of the char then cut will do. But still not clear whether you would be looking at the 3 patterns or more.


mv File.txt File_`egrep 'A756$|B234$|C987$' File.txt | cut -c...
4,280
Posted By Athix
Try this if the position of the records is always...
Try this if the position of the records is always going to be in the 5th line and the string is 4 characters,


mv file.txt File_`sed -n '5p' file.txt | awk '{print substr($0,(length($0)-3))}'`.txt
3,466
Posted By Athix
It depends on how you are using the variable in...
It depends on how you are using the variable in the proc.

If you are using the variable on a IN statement then it would have the maximum input limit. Oracle has some limit which yield you the...
1,931
Posted By Athix
If you have getfacl and setfacl in your machine...
If you have getfacl and setfacl in your machine then try the below,

To set the permission of File1 to File2:


$ uname -sr
SunOS 5.9
$ getfacl File1| setfacl -f - File2
$
21,420
Posted By Athix
Just for the origin query, the below simple...
Just for the origin query, the below simple inbuilt grep function does it all,

grep -v "^#" file
2,915
Posted By Athix
#!/usr/bin/sh cd <hardlink to the folder...
#!/usr/bin/sh
cd <hardlink to the folder directory>
{
echo `date`
`ls -rlta <directory>/<filename> or *`
} >> output.log
2,589
Posted By Athix
output >> $LOGFILE the above command is to...
output >> $LOGFILE

the above command is to append to the LOGFILE and not to overwrite (> overwtites the file and >> appends to the file)
Showing results 1 to 12 of 12

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