Helpdesk test 2004 AGM

Howdy,
Below are 33 questions regarding ``how do I use redbrick’’. All questions are in the
form of a mail or hey from our imaginary user jblg@rebrick.dcu.ie. All questions should be
answered as if you were actually replying to him for real. Each question is worth either 3
but you should try and get as much into your answers as possible, as there may be more
than 1 correct response.

You can assume for the questions that the user is using the following programs.
Mutt (for mail)
Slrn (for news)
BitchX (for chat)

Best of luck

Eoin `cambo’ Campbell
Una ‘keloe’ Kehoe
Ning ‘sunshine’ Sun

—————————————————EXAM———————————————————–QUESTION 1
Dear Helpdesk,
Everytime when I hey mates I have to type “hey -b -t…” It’s pain in the neck,
How do I make it short?
Joe Blogg

QUESTION 2
Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 13:25:18 ] …
+————————————- joe blogg ———————————————–+
| hey guys, how do I make changes to my plan so people can see it |
| when they finger me ? |
+___+

QUESTION 3.
Helpdesk,
Hi can you help me with this: I’m using a screen window for receiving heys, I just
realised that even if i’m mesg y i don’t receive heys.Whats up with this?
Joe Blogg

QUESTION 4.
Helpdesk,
How do I set up the file permissions for my .project? And are they the same permission for a perl
script? If not, what are it the permissions for a script?
Joe Blogg

QUESTION 5.
Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 13:38:58 ] …
+——————————— joe blogg———————————-+
| How do I go about setting up a webpage on redbrick? I.e where do i |
| put my files and what permissions should i use? |
+__+
EOF

QUESTION 6
Helpdesk,
What does PHP stand for? What kind of programming language is PHP? what are the
permissions for PHP files? why is all the PHP files on Redbrick having

#!/usr/local/bin/php as the first line?  
 Joe Blogg  

QUESTION 7

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 13:43:47 ] …
+——————————– joe blogg ———————————+
| How do I go about changing my signature on emails from my redbrick |
| a/c? |
+__+

QUESTION 8
Helpdesk,
How do I change my right and left side command prompt?
Joe Blogg

QUESTION 9
Helpdesk,
I want to password protect a section of my website.
How do I do it?
Joe Blogg

QUESTION 10
Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 13:47:29 ] …
+—————————- joe blogg —————————–+
| How do I get rid of window return character, i.e ^M, in files on rb? |
+___+
EOF

QUESTION 11
Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 14:38:43 ] …
+————————— joe blogg —————————-+
| i’ve set my public_html directory on redbrick with chmod 755 |
| public_html and the all the files in it with chmod -R public_html/ |
| but i can’t see any of the files from my web browser. Whats up? |
+__+
EOF

QUESTION 12
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 17:36:09 ] …
ooooooooooooooooooo –] | jblg-hey | [– oooooooooooooooooooo
O how’s it going folks. O
O just tried to open the boards there but go this error O
O any idea whats up O
O slrn 0.9.7.4 [2002-03-13] O
O Reading startup file /etc/news/slrn.rc. O
O loading /etc/news/slrn.sl O
O Reading startup file /home/committe/jblg/.slrnrc. O
O Using newsrc file /home/committe/jblg/.jnewsrc for server O
O localhost.slrn fatal error: O
O slrn: pid 2583 is locking the newsrc file. O
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 13
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 17:41:14 ] …
ooooooooooooooo –] | jblg-hey | [– ooooooooooooooooo
O hey mr. helpdesk O
O when i open slrn theres only a handful of boards O
O visible. how do i get to see the master list. O
ooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 14
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 17:49:40 ] …
oooooooooooooooooooooooo –] | jblg-hey | [– ooooooooooooo
O hey guys O
O just wondering… when i go into a board in slrn, the posts are all O
O in alphabetical order O
O is there anyway to get them in most-recent-first order but keep O
O them threaded together O
O cheers O
ooooooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 15
Helpdesk,
Planning to break up my email into seperate folders. i know how to use procmail but
i’m just wondering how i create a new mailbox folder and add it to the list that mutt
sees.
Thanx

QUESTION 16
Helpdesk,
I’m trying to move several message from one mailbox in mutt to another.
Whats the quickest way? Theres about 50 emails.
Joe Blogg

QUESTION 17
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 18:08:32 ] …
oooooooooooooooooooooooo –] | jblg-hey | [– oooooooooooooo
O hey guys, O
O up til now i’ve had mutt configured to read my email directly out of O
O the maildir folder in my homedir, but i wanna setup IMAP access for O
O mutt so i can read my imap mail thru mutt O
O anyidea how to set that up O
ooooooooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 18
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 19:44:32 ] …
oooooooooooooooooooooo –] | jblg-hey | [– ooooooooooooo
O i’ve decided to start using IRSSI for internet relay chat. O
O could you give me a quick run down on the commands to O
O connect to redbrick chat, enter the lobby, and exit the program O
O please O
oooooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 19
Hey,
I’ve alot of important stuff in my rb account and wanna make a tarball/gzip backup of it.
whats the command/s to do this?
Joe Blogg

QUESTION 20
Message from jblg@carbon on pts/47 at [ Sat 10/Apr/2004 19:49:18 ] …
oooooooooooooooooooooo –] | jblg-hey | [– oooooooooooooo
O hey dude, O
O any chance you could throw together a small one line script for O
O adding a name to O
O my .friends file so the file stays in alphabetical order O
oooooooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 21
Hey man…
Could you briefly explain how chmod works.
Thanx

QUESTION 22
Message from jblg@carbon on pts/47 at [ Sun 11/Apr/2004 00:25:17 ] …
ooooooooooooooo –] | jblg-hey | [– ooooooooooooooooooo
O shit shit shit O
O sorry dude but i’m stressing out here O
O just deleted a file from my account by accident… O
O is there anyway to retrieve it. O
oooooooooooooooooooooooooooooooooooooooooooooooo

QUESTION 23

Helpdesk,

I've heard someone saying they could logon to redbrick with ssh but don't have to  

give their password. Where can i get information on it Redbrick? What is he doing?

Joe Blogg  

QUESTION 24

Helpdesk,  
I have a file called indo.txt on another debian machine and I want to scp it to redbrick. Problem is I have  

forgotten the syntax, could you remind me?
Joe Blogg

QUESTION 25

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 14:16:38 ] …
+————————- joe blog———– —————+
| I have some .jspin my public_html folder. They have the right |
| permissions but i can’t see them from the web. Any ideas? |
+__+
EOF

QUESTION 26

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 14:19:58 ] …
+——————————- joe blogg ——————————+
| I want to look at whats in my WEB-INF folder through a web browser. |
| I’ve tried www.redbrick.dcu.ie/~jblg/WEB-INF but i get a permission |
| denied error. I’ve tried changing my permissions to make the folder |
| completely readable but nothing seems to work. Any help? |
+__ +
EOF

QUESTION 27

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 14:22:21 ] …
+—————————- joe blogg —————————–+
| i’ve got some files on a floppy disk and want to transfere them to |
| redbrick. When i run winftp it won’t let me connect to redbrick. I’m |
| using: |
| hostname = redbrick.dcu.ie |
| username = jblg |
| password = * |
+___+
EOF

QUESTION 28

Helpdesk,  
I just broke my java program I was working on. I have the working version but would  
like to know what i did wrong. Is there anyway i of comparing the two files side-by-side?  
Joe Blogg  

QUESTION 29

Helpdesk,  
Some people have a little comment about themselves on the redbrick website where it  

lists the users. How can i do this?
Joe Blogg

QUESTION 30

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 17:44:45 ] …
+—————— the world is one hell of a place ——————-+
| i have a file called myservlet.java and when i tried to compile it i |
| got a weird error message in colourdy writing. whats wong? |
| |
| I thought carbon was supposed to make life easier? Also i have a |
| class file called testServlet.class and tomcat is refusing to |
| run it here it is in my account. |
| |
| -rw——- 1 jblg member 0 Apr 13 17:44 |
| testServlet.class |
| |
| Whats up? |
+__+

QUESTION 31

Message from jblg@carbon on pts/192 at [ Tue 13/Apr/2004 14:41:37 ] …
+—————————— joe blogg ————————–+
| I used the following commadn to get into mysql on redbrick: |
| mysql -h mysql.internal -u jblg -p |
| This works fine but when i try to create a database it says “ERROR |
| 146: No database selected” |
| What am i doing wrong? Oh and is there a shorter way to get into |
| mysql on redbrick? |
+__+
EOF

QUESTION 32

 Helpdesk,  
 I was at the postgres tutorial and have written a small perl script to connect to postgres  
but it won't run. Here's my script:  

 #/usr/bin/perl -w  
          use DBI;  
          dbh = DBI-> connect('dbi:Pg:dbname=jblg; host=postgres.internal');  
          sth = dbh->prepare("select * from myTable");  
          sth->execute;  

 Any clues to whats wrong?  
 Joe Blogg  

QUESTION 33

Message from keloe@carbon on pts/192 at [ Tue 13/Apr/2004 14:58:10 ] …
+——————————- Joe Blogg———————————+
| i’m a big nano fan but recently i seen a friend using vim and it |
| looked all nice and colour’dy. Any chance you could tell me where to |
| get info about vim and how do i turn the colours on? |
+_+

The bonus question on the night was “What does RTFM stand for?