8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
I am new here as well as in scripting.
I need some help. I have log files that are boring to examine. I wanted to use awk to do this:
-get the lines that match the eight field (user mac address)
-now sort them according to date (first 2 fields)
-print the following:
... (4 Replies)
Discussion started by: anaABB
4 Replies
2. Programming
Hi,
I have a program which needs to connect multiple servers at the same time. The program has to collect data from each of servers and then make a decision regarding to the data received.
There are several requirements.
1. Server (s) may shutdown anytime without any ack (e.g.power... (1 Reply)
Discussion started by: sehang
1 Replies
3. Shell Programming and Scripting
Hi friends..
I am using the below command to search few files from many folders which is under one folder..
i mean let say the path is A/B/C...and inside C...i have 1-10 folder...
the below command is working fine....
for i in 1 3 5 7; do
find /A/B/C/${i} -name "*.txt" -o -name "*.csv"... (9 Replies)
Discussion started by: sapan123
9 Replies
4. Shell Programming and Scripting
my issue now is i have a txt file containing a list like below
i want to create a script that will add a constant text "Find this name" at the start and "at your directory" at the end. every line should be added by phrase at the start and end.
Each line of the file should look like "Find... (4 Replies)
Discussion started by: dakid
4 Replies
5. UNIX for Advanced & Expert Users
create one script
That reads a file <file>
Each line of <file> file contains just an account
The run the grep command like below
/usr/xpg4/bin/grep -E -e 'ACCOUNT.*' < File> > <OUTPUT FILE> (1 Reply)
Discussion started by: sapan123
1 Replies
6. Shell Programming and Scripting
Does anyone know how to test if an ethernet interface is alive, or accepting connections? Here is the scenario - I have rsc and sc console interfaces on some Suns. There are some sporadic vulnerability scans that send them out to lunch when they run the scans. I have to login to the host and reset... (0 Replies)
Discussion started by: lm_admin_dh
0 Replies
7. Shell Programming and Scripting
txt file like this,
1 2 3 4456
a bb c d 3 f e
1 k 32 d m f e
123 m 2 k
every line contains 3 or more columns, all the columns are separated by space, and every column includes 1 to 3 character.
what I wanna do is deleting the first three columns, and keep the rest no matter how long... (7 Replies)
Discussion started by: fedora
7 Replies
8. Shell Programming and Scripting
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies