Sponsored Content
Full Discussion: UNIX command question
Top Forums UNIX for Dummies Questions & Answers UNIX command question Post 302930970 by Don Cragun on Friday 9th of January 2015 12:44:26 AM
Old 01-09-2015
Show us sample input. Show us sample output that you want from that input. Clearly describe why that output should be produced from the sample input you show us. Look at the man pages for grep and awk. Show us what code you have used to try to solve these problems. (Use CODE tags when you show us all of the sample input, output, and code.)

Tell us what OS and shell you're using.

If you aren't willing to show us that you're willing to put some effort into this yourself, there isn't much incentive for us to do your work for you. We're happy to help you learn how to use the tools available on UNIX and Linux systems to perform the tasks you want to get done. We are not here to act as your unpaid programming staff.
 

10 More Discussions You Might Find Interesting

1. IP Networking

unix to unix serial connection question

hi there i'm a new bie just got few simple questions to ask. I got expert in windows configuration but totally new to unix environment . I want to make sure a com port (com1) is working, so I connect a 9-pin cable (CB9) for both PC using Unix environment (unix to unix). The question are (1)... (1 Reply)
Discussion started by: typsam
1 Replies

2. Shell Programming and Scripting

Question about a unix command...

hi all, got a question about grep, ive written a script (Bourne) and i'm using grep -i to search for a file and return the records that i'm looking for. This all works fine, but, i was wondering how i can get an error message if that word isn't in the file. E.G. the user enters: tree and if... (2 Replies)
Discussion started by: wazzag
2 Replies

3. UNIX for Dummies Questions & Answers

Question about DOS versus Unix Command?

Okay here is a DOS comparison. When I search for a file in DOS and I was not sure what directory it was in then I would put dir /s/o/p filename the s would tell it to look in every directory including subs, the o would sort it alphabetically and the p would limit the display to one page at a... (1 Reply)
Discussion started by: wmosley2
1 Replies

4. UNIX for Dummies Questions & Answers

Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies

5. UNIX for Dummies Questions & Answers

Unix command question

I recently went in for a job interview and the guy asked me what I knew about Unix. I told him not much since I haven't worked with it in a few years. He then asked me the following question: What Unix or Linux shell command will tell you the names of all files in the current directory, along... (2 Replies)
Discussion started by: BMWBigD
2 Replies

6. HP-UX

Question about UNIX ioscan command

Hello there. I have a question regarding the ioscan commnad. When you execute the line ioscan -fnC processor it outputs a list of all processors in the machine. Does this list displays only physical CPUs or does it displays each core? For example, if i have a server with 1 Dual Core... (10 Replies)
Discussion started by: Spilson
10 Replies

7. Shell Programming and Scripting

question about wc command in Unix

Hi all I want to give a command which outputs the number of files have name ending in .pdf(output is just number). Can somebody help me (3 Replies)
Discussion started by: thungmail
3 Replies

8. UNIX for Dummies Questions & Answers

Unix command line question

I'm new to Unix and I'm looking for some assistance. We have 20 different accounts we must login to every day. Logging in has become quite the chore and most nights, we have to log out. I'm looking for a way to simply copy and paste the commands into each window to make things easier. I have been... (2 Replies)
Discussion started by: Judo_Bear
2 Replies

9. UNIX for Dummies Questions & Answers

New to Unix command line and have a question about the "sort" command

I am going through the Unix Made Easy second edition book by John Muster. So far it's been very informative and I can tell it may be a bit out of date. In one of the exercises it talks about the "sort" command and using it to sort column's of data etc. The "sort" command has changed a bit and... (1 Reply)
Discussion started by: budfoxcat
1 Replies

10. Homework & Coursework Questions

Unix ls command question

There was a question that I have been asked, I won't lie it is from homework, regrading the ls, list, command and I am hopelessly lost and just can't seem to figure it out. Here is question: Summarized Question There is something about the naming of the files in a directory that cause ls,... (4 Replies)
Discussion started by: TheRaiderNation
4 Replies
netris-sample-robot(6)						Netris Sample Robot					    netris-sample-robot(6)

NAME
netris-sample-robot - sample robot for netris SYNOPSIS
netris-sample-robot [-l] DESCRIPTION
The netris-sample-robot is a sample implementation of the robot protocol. It plays quite well but isn't too hard to beat. The robot should be started from netris with the option -r to connect or wait for another player to join. You can also let two robots play against each other in that way, if you like. OPTIONS
-l Writes some log information into the file log in the current working directory. If it can't it bails out. EXAMPLES
To start the netris-sample-robot waiting for another connection with logfile use the following line: netris -w -r 'netris-sample-robot -l' You then just have to start netris somewhere else which connects to that robot. SEE ALSO
netris(6) BUGS
One known bug of the netris-sample-robot is that it hangs quite often. This was already filed as a bugreport against the package so please refrain from doing so again. If you have an idea why this happens or know a solution how to fix it feel free to mail us. AUTHORS
Netris was written by Mark H. Weaver <mhw@netris.org>. This manual page was written by Gerfried Fuchs <alfie@debian.org> for the Debian GNU/Linux system (but may be used by others). 0.5 16 Feb 2002 netris-sample-robot(6)
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy