10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have vi file in solaris machine with following information as below
Phone : 12345
But, I need output in excel format in separate column as below using shell script
Firstname. Lastname. Phone
Andy. Mervyn. 12345 (5 Replies)
Discussion started by: buzzme
2. UNIX for Dummies Questions & Answers
For a student file with the following fields, rollno, name, marks. Generate 2 files ‘Pass’ and ‘Fail‘containing records of student who have passed or failed. Also count the number of students who have passed or failed. (1 Reply)
Discussion started by: jainitai
i am a beginner in AIX..recently got a chance to work with unix team.
we have an interface server through which we connect to production servers..
there were lot of files inside root (/) of that interface server owned by different ppl...by mistake i changed the ownership and group of... (1 Reply)
Discussion started by: vinimerwe
4. Shell Programming and Scripting
I need help on following two.
Say i am getting two values like this
::1:953 and :::8005
I need to replace "::" (first two colons with a * ).I can get these values in a variable.How to tweak this variable to separate out the way i want? Anything after third ":" should be set... (9 Replies)
Discussion started by: ak835
5. Shell Programming and Scripting
There is a file where there are 1000s of records.
In the file if some condition satisfies in a certain TAB record (TAB would be first 3 digits of a certain record) then move TAB and all the records (or lines) after TAB to new_file, until another TAB record is encountered in the same... (1 Reply)
Discussion started by: Prat007
6. UNIX for Dummies Questions & Answers
hi everyone i'm a noob trying to learn unix language.. but seems like i got no leads on how to start..
i'm playing with the 'ps' command.. i'm trying to show the pid, ppid, username, command, cpu utilization (in desc order), process start time and process status.. all in a command.. am i able... (3 Replies)
Discussion started by: hilofat
I am quite new to AIX, but have Linux experience.
Iam facing a peoblem with AIX 5.2 running on a 43p Model 150 (RS6000).
I tried everyting and i cant have the network to run properly. :confused:
/etc/hosts looks like this:
127.0.0.1 loopback localhost
192.168.XXX.XXX... (5 Replies)
Discussion started by: Netghost
8. Shell Programming and Scripting
I need help in writing a script. I need a script that takes a name as a parameter and executes the follwoing steps.
The name will be like BUDGET01_BARE_DLY_YYYYMMDD, BUDGET02_BARE_DLY_YYYYMMDD etc. The YYYYMMDD represent today( systemdate). This names have to be passed as... (2 Replies)
Discussion started by: dsravan
9. UNIX for Dummies Questions & Answers
I am a newbie and want to learn unix .
Does unix and linux are one and same.
I have red hat linux cd but i want to take advice from some one wheather unix and linux are same.
If not ,where i'll get a Unix os setup and how i'll install it.
If linux would do then how should... (3 Replies)
Discussion started by: hunter87
10. Shell Programming and Scripting
The following program works fine; however, I don't understand the following line of it.
cp $1 $1.BAK-$i
You can make backup copies of a file using the following program.
What is '' -$i '' ?
If you have a file named 'text' , this will create '' text1.BAk , text.BAK2, text.BAK3, etc.... (9 Replies)
Discussion started by: Toxic