10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have developed a bash shell script which works perfectly fine when any bash shell is in use except SunOS.
There are two commands that is not compatible.
#!/usr/bin/env bash
Problem
1. The awk command below does not work for SunOS
Requirement
We extract Oracle EBS tables into text... (9 Replies)
Discussion started by: uuuunnnn
9 Replies
2. Shell Programming and Scripting
can you please let me know what does the below awk command does.
awk 'NR>2{printf "%-30s %-15s\n", $1, !($4)?$2:$4;}' result.txt (1 Reply)
Discussion started by: ramkumar15
1 Replies
3. UNIX for Dummies Questions & Answers
Hi, I have 2 lists of words and I need to take every line in first_list.txt and use agrep command to find similar words in whole second_list.txt.
I tried to use AWK, but I dont know how to take current line ($0) and use in inside of agrep
cat first_list.txt | awk ''
Thanks for help (10 Replies)
Discussion started by: m4rty
10 Replies
4. Fedora
Hi, I have the following file called addresses, (it is a large file i have only copy and pasted few of the data below) and I am wanting to write a command so it will Find the ratio of mobile (07....) to land line (01....) telephone numbers?
then find the most popular first name and list the... (2 Replies)
Discussion started by: tina_2010
2 Replies
5. UNIX for Dummies Questions & Answers
Hello everybody,
I am a newbie in Unix/Linux so please excuse me!:o
Could somebody please explain to me what the following Unix commands do or mean:
ls -al | grep "*.c" | wc -l >> log.txt
and
ps -el | grep "*tty*" | uniq | sort > log.txt
I know 'grep' means to find a text... (4 Replies)
Discussion started by: kev_1234
4 Replies
6. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
7. UNIX for Dummies Questions & Answers
Hi to all,
I have just started to learn Unix, and am having problems trying to understand the following two unix commands. if any1 could help i would greatly appreciate it.
1) ls -s | sort -nr | head -3
2) man -k c | grep -i ' c* ' | grep 1
i understand that for 1) the command will... (7 Replies)
Discussion started by: Vn3050
7 Replies
8. Shell Programming and Scripting
Dear Experts
I am trying to find if it is possible to combine unix commands in awk program. For example if it is possible embed rm or ls or any unix command inside the awk program and while it is reading the file besides printing be able to do some unix commands. I am thinking may be just print... (2 Replies)
Discussion started by: Reza Nazarian
2 Replies
9. Windows & DOS: Issues & Discussions
I am trying to find the difference between the sum and join commands in
Unix. If there is one, what is it? and what they do :cool: (1 Reply)
Discussion started by: Darwin Rodrigue
1 Replies
10. UNIX for Dummies Questions & Answers
I want to know if there is a way to send unix commands thru FTP from a mainframe to kick off Autosys Jobs. I just need to send a command from the mainframe to UNIX and have UNIX execute that command. (2 Replies)
Discussion started by: skammer
2 Replies