Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Apparently my post is Homework/Classwork? Post 302878054 by Waggie14 on Wednesday 4th of December 2013 11:40:01 AM
Old 12-04-2013
Apparently my post is Homework/Classwork?

I previously posted a question in the Shell Scripting forum a few minutes ago. I recieved a message telling me I had breached a rule, apparently because my post was a homework infraction. Well, im currently trying to figure out how to use Raspberry Pi's (as im a starter)
I asked one of my friends, who is pretty good with Shell Scripting, if there was a beginner question he could ask me using bin bash and the LXTerminal in the Raspberry Pi. He told me too try and enter a filename that then i could enter a string that would report whether that string was in the file or not?
To the Admin, why has my post been closed despite having asked a vald question for my own personal use? I'm 23 and out of full time education so my question is nor homework or classroom related.
Thanks
This User Gave Thanks to Waggie14 For This Post:
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can someone please help me? (Another example of how not to post homework.)

Hi, when I run ls -l I get the following command (I already know ls) : rwxrwxrwx 2 andrew andrew 4096 2010-01-25 22:00 test.txt rwxrwxrwx 2 andrew andrew 4096 2010-01-25 21:01 test1.txt rwxrwxrwx 3 andrew andrew 4096 2010-01-25 20:45 test2.txt rwxrwxrwx 1 andrew andrew 4096 2010-01-25 01:12... (6 Replies)
Discussion started by: andrew1400
6 Replies

2. Homework & Coursework Questions

Can someone please help me? (An example of how not to post homework.)

Hi, when I run ls -l I get the following command (I already know ls) : Code: rwxrwxrwx 2 andrew andrew 4096 2010-01-25 22:00 test.txt rwxrwxrwx 2 andrew andrew 4096 2010-01-25 21:01 test1.txt rwxrwxrwx 3 andrew andrew 4096 2010-01-25 20:45 test2.txt rwxrwxrwx 1 andrew andrew 4096... (1 Reply)
Discussion started by: andrew1400
1 Replies

3. Shell Programming and Scripting

SSH w/ command in authorized_keys apparently needs pty

I'm trying to have an unattended remote PC log some data on home PC. man sshd says I should be able to put a command in authorized_keys. This is what I have on the remote machine. The key is a special key that isn't used elsewhere. In my ~/.ssh/authorized_keys file on my desktop:... (12 Replies)
Discussion started by: KenJackson
12 Replies

4. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

5. Post Here to Contact Site Administrators and Moderators

Do I post to Homework forum if learning on own

Quick question, I'm learning shell scripting on my own from resources like the 'Teach Yourself' books, web sites, etc. If I have any questions about these materials, do I still need to post them to the homework section? The template asks specific things like school associated with or... (7 Replies)
Discussion started by: Chasman78
7 Replies

6. Homework & Coursework Questions

Classwork (group project)

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: Using the example.log file in your home directory, write a bash script that will collect the following... (6 Replies)
Discussion started by: Silberbackla
6 Replies
QUIZ(6) 							 BSD Games Manual							   QUIZ(6)

NAME
quiz -- random knowledge tests SYNOPSIS
quiz [-t] [-i file] [question answer] DESCRIPTION
The quiz utility tests your knowledge of random facts. It has a database of subjects from which you can choose. With no arguments, quiz displays the list of available subjects. The options are as follows: -t Use tutorial mode, in which questions are repeated later if you didn't get them right the first time, and new questions are presented less frequently to help you learn the older ones. -i Specify an alternative index file. Subjects are divided into categories. You can pick any two categories from the same subject. quiz will ask questions from the first cate- gory and it expects answers from the second category. For example, the command ``quiz victim killer'' asks questions which are the names of victims, and expects you to answer with the cause of their untimely demise, whereas the command ``quiz killer victim'' works the other way around. If you get the answer wrong, quiz lets you try again. To see the right answer, enter a blank line. Index and Data File Syntax The index and data files have a similar syntax. Lines in them consist of several categories separated by colons. The categories are regular expressions formed using the following meta-characters: pat|pat alternative patterns {pat} optional pattern [pat] delimiters, as in pat[pat|pat]pat In an index file, each line represents a subject. The first category in each subject is the pathname of the data file for the subject. The remaining categories are regular expressions for the titles of each category in the subject. In data files, each line represents a question/answer set. Each category is the information for the question/answer for that category. The backslash character (``'') is used to quote syntactically significant characters, or at the end of a line to signify that a continuation line follows. If either a question or its answer is empty, quiz will refrain from asking it. FILES
/usr/share/games/bsdgames/quiz The default index and data files. BUGS
quiz is pretty cynical about certain subjects. BSD
May 31, 1993 BSD
All times are GMT -4. The time now is 02:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy