Search Results

Search: Posts Made By: aadi_uni
3,354
Posted By aadi_uni
I have edited and gave you reason in private...
I have edited and gave you reason in private message!
3,643
Posted By aadi_uni
List linked files
A perl script that displays the list of files which have multiple links..!
ls -l shows number of links in a field.
3,354
Posted By aadi_uni
Word count
Script that lists all words used in one or more files and displays their count (pattern /\W+/ to split the lines of the input file into words can b used)..
It should display list in format...
2,187
Posted By aadi_uni
Add letters
I want to add letters A,B,C,… in front of every line of input while printing them out using PERL.
eg
A file is parsed as a cmd line arg and its context will be displayed as
A line1...
B line 2.....
1,538
Posted By aadi_uni
First occurance
A PERL script that prints just the first occurrence of a string in a file and immediately exits (the string and the filename are the first and the second command line arguments; I used filehandle to...
2,464
Posted By aadi_uni
Rename files
I wrote a script that accepts filenames as argument but I am having difficulty if filename has both(uper/lower) cases..so I want to write a script that accepts one or more filenames as arguments and...
1,946
Posted By aadi_uni
delete C files
A script that behaves both in interactive and nonineractive mode. When no arguments are supplied, it picks up each C program(Files with .c extension) from the current directory and lists the first 10...
2,932
Posted By aadi_uni
Monitor files
I have just started UNIX administration..I want to monitor files with a specific extensions..
ie, I want to monitor .doc or .DOC files created in particular directory..The script should display...
1,765
Posted By aadi_uni
Search last field
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
Give 'awk'...
5,309
Posted By aadi_uni
auto generate ID
Using 'awk' i want to generate new ID..which should be increment of maximum number given as UID..
eg..in /etc/passwd..3rd field is UID..and we just want next user ID for this file..keep in mind that...
4,123
Posted By aadi_uni
Delete Comments in file
How can I delete comments (lines beginning with /* and ending with */) in file?
with single command line..My suggestion is to use grep and sed!
1,316
Posted By aadi_uni
SED Help
I want to list all files having same access permissions as file foo..How can I do this with 'sed'?
I tried wid grep..but not satisfied..so can help me wid both sed and grep..
2,910
Posted By aadi_uni
I am not getting you exactly..removing spaces .. ...
I am not getting you exactly..removing spaces ..
I want exact solution..if u can help me..thanks..
2,910
Posted By aadi_uni
Pattern matching
Use and complete the template provided. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data: How do you locate all nonblank lines that don't begin...
2,246
Posted By aadi_uni
Regular expressions
In regular expressions with grep(or egrep), ^ works if we want something in starting of line..but what if we write ^^^ or ^[^^] for pattern matching??..Hope u all r familiar with regular expressions...
2,362
Posted By aadi_uni
@thegeek : u r making it very complicated..but...
@thegeek : u r making it very complicated..but thanks anyways..
thanks pludi and scottn
2,362
Posted By aadi_uni
largest file
My directory only contains files..no sub directories..I want to know about the largest file in directory..Largest in terms of size..And what if I want to know about first 3 largest files..

Is it...
5,043
Posted By aadi_uni
character match and count
Use and complete the template provided. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

How can I count number of occurance of a single...
2,351
Posted By aadi_uni
set length
As every sort file in UNIX has specified fixed length for every line.
Like

$ sort abc
2233|abc xyzw |g.m | sales |12/12/12| 90000
2135|abc9022 abc|gj |admin ...
2,037
Posted By aadi_uni
shortlist
I know LIST and PIPES,very well..
Is came to know about something like 'Shortlist'.I want to understand the concept..Is this similar like list and pipes??
And can we set the length of a line in...
Showing results 1 to 20 of 20

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