LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Workshop for Linux / Unix topics (https://www.linuxquestions.org/questions/linux-general-1/workshop-for-linux-unix-topics-98745/)

kuyalfinator 09-30-2003 04:46 PM

Workshop for Linux / Unix topics
 
The workshop will cover the following topics: (In 1 hr?)
Subject Material can be learned in CS-245 and CS-345
Knowing how to work in a Unix enviroment is useful for CS-370


Mirror Link

Code:

Comments:  Mirror link is on the following web site.
Removed Link  Examples of scripts, commands,
and other topics will be available here as well as the ACM board.

Log In a shell using:
Secure Shell Client (sshclient)
PuTTY: 'A Free Win32 Telnet/SSH Client
Telnet (not secure)

Moving around a unix environment
(ls, cd, pwd, mkdir, rmdir, mv, cp)

Text Editor, Tutorials, and other usefull comamnds
(vimtutor
Mirror
[found only on Linux versions])
(vi, pico, emacs)

history, awk, sed, grep, whereis, and other utilities

an alternative besides webmail:
text based e-mail called Pine 4.58 Released
(CSULA version of pine is Pine 4.44)

redirection
simple bash script examples

available command-line compilers
javac 1.1.7 (neptune) and 1.2.2 (mars)
gcc / g++ 2.95.3

Other Types of Operating Systems besides the
CSULA NIS Account for SunOS 5.7 'TUI'


Freeshell.org uses NetBSD 1.5.4
The NetBSD Project

Redhat Linux Software
Jay's Redhat Linux 8? or 9? Server

Solaris 8.0 with Common Desktop Environment (CDE 1.4)
CSULA uses XSession to have a Windows XP and Solaris 8.0
Desktop all on the same XP Machine. For more information about
the 'free' demo on XSession, check out WinaXe at LabF.

speter 09-30-2003 09:14 PM

Why is this a poll? :confused:

This is not the best place to announce such a local event.

Steve

kuyalfinator 10-01-2003 12:46 AM

Quote:

Originally posted by speter
Why is this a poll? :confused:

This is not the best place to announce such a local event.

Steve

I should mention that though people can't attend the
workshop, the material covered will be availabled online.
Examples, scripts, photos, and any other specific questions
about learning how to go about a Linux / Unix enviroment.

The actual current workshop planned is in Los Angeles,
California at CSU Los Angeles on October 30, 2003. The
examples or materials covered will be available online which
is still being written up. I placed the poll there because I am
sure there are people who are begining to write 'scripts' or
learning Linux / Unix commands and thought this thread might
be useful.

kuyalfinator 01-19-2004 10:37 AM

Create Script to seperate M,T,W,R,F,S classes
 
How can we seperate MW, TR, F, Sat classes using any script language?

From Removed Link
Quote:

Schedule of Classes - Winter 2004 - 10JAN04
Computer Science


=================================================================================
COURSE SC CALL# DAY TIME BLDG ROOM FACULTY ST
---------------------------------------------------------------------------------

CS 101 * INTRO TO HIGHR ED-COMPUTR SCI MJ
CS 101 01 11295 M 0230-0410 ET A210 PAMULA, R O

CS 120 * INTRO TO WEB SITE DEVELOPMENT
CS 120 01 15555 T 0610-0750 ET A210 CHEN, J C
CS 120 02 15556 R 0610-0840 ET A210 CHEN, J C

CS 160 * INTRODUCTION TO COMPUTERS
CS 160 01 11296 M 1240-0220 ET C159 STAFF O
CS 160 02 11297 W 1240-0310 ET C159 STAFF O
CS 160 03 11298 M 0610-0750 ET C159 STAFF O
CS 160 04 11299 W 0610-0840 ET C159 STAFF O
CS 160 05 11300 T 0130-0310 ET C159 STAFF O
CS 160 06 11301 R 0130-0400 ET C159 STAFF O
CS 160 07 11302 T 0610-0750 ET C159 STAFF O
CS 160 08 11303 R 0610-0840 ET C159 STAFF O
CS 160 09 11304 F 0910-1050 ET A210 STAFF O
CS 160 10 11305 F 1050-0150 ET A210 STAFF O
CS 160 11 11306 S 0800-0940 ET C159 STAFF O
CS 160 12 11307 S 0940-1240 ET C159 STAFF O
CS 160 13 11308 S 0100-0240 ET C159 STAFF O
CS 160 14 11309 S 0240-0540 ET C159 STAFF O

CS 201 * INTRO TO PROGRAMMING
CS 201 01 11312 MW 1050-1230 ET A210 PARVIZ, B O
CS 201 02 15559 T 1050-0120 ET A210 PARVIZ, B O
CS 201 03 11314 TR 0130-0310 ET A210 STAFF C
CS 201 04 15560 W 1240-0310 ET A210 STAFF C
CS 201 05 15561 MW 0420-0600 ET A210 STAFF O
CS 201 06 15562 T 0330-0600 ET A210 STAFF O

CS 202 * INTRO TO OBJECT ORIENTED PROGRAM
CS 202 01 11315 TR 0950-1130 ET A220 CRESPI, V O
CS 202 02 15563 W 0950-1220 ET A220 CRESPI, V O
CS 202 03 15564 MW 0420-0600 ET A220 STAFF O
CS 202 04 15565 T 0330-0600 ET A220 STAFF O

CS 203 * PROGRAMMING WITH DATA STRUCTURES
CS 203 01 15567 MW 1050-1230 ET C159 O
CS 203 02 15568 F 1000-1230 ET C159 O

CS 242 * C PROGRAMMING
CS 242 01 15569 TR 1140-0120 ET C159 STAFF C

CS 245 * USE OPER SYST & NETWORKS/PROGRMR
CS 245 01 15570 S 0900-1040 ET A210 STAFF C
CS 245 02 15571 S 1040-0100 ET A210 STAFF C

CS 312 * DATA STRUCTURES AND ALGORITHMS
CS 312 01 11321 MW 0420-0600 ET C159 Crespi, V O

CS 320 * WEB AND INTERNET PROGRAMMING
CS 320 01 15572 MW 0610-0750 ET A210 STAFF C

CS 332 * PROGRAMMING LANGUAGE PARADIGMS
CS 332 01 15573 TR 0950-1130 ET C159 STAFF C

CS 340 * ASSEMBLY & SYSTEMS PROG
CS 340 01 11322 MW 1240-0220 ET A220 AKIS, V O

CS 350 * FOUNDATIONS OF COMPUTER GRAPHICS
CS 350 01 11324 TR 1140-0120 ET B9 AKIS, V O

CS 398 * COOP EDUC
CS 398 01 11325 TBA STAFF O
CS 398 02 11326 TBA STAFF O
CS 398 03 11327 TBA STAFF O
CS 398 04 11328 TBA STAFF C
CS 398 05 11329 TBA STAFF C

CS 422 * PRINCIPLES OF DATABASE SYSTEMS
CS 422 01 11330 TR 0420-0600 ET C159 ABBOTT, R C

CS 440 * INTRO OPERATING SYSTEMS
CS 440 01 11332 MW 0420-0600 ET A331 PARVIZ, B O

CS 454 * ST:COMPUTER & NETWORK SECURITY
CS 454 01 11335 TR 0610-0750 ET C257 STAFF C

CS 461 * MACHINE LEARNING
CS 461 01 16233 STAFF O

CS 486 * COMPUTABILITY & INTRACTABILITY
CS 486 01 11337 MW 0230-0410 ET A220 Crespi, V C

CS 499 * UNDRGRD DIR STUDY
CS 499 01 11339 TBA STAFF O
CS 499 02 11340 TBA STAFF O
CS 499 03 11341 TBA STAFF O
CS 499 04 11342 TBA STAFF C
CS 499 05 11343 TBA STAFF C

acid_kewpie 01-19-2004 03:25 PM

i think i probably speak for most people in saying i do not have a clue what this is meant to be about? are you expceting a solution to this "problem" ??? I don't think this is really relevant to linuxquestions.org...

Tinkster 01-19-2004 04:05 PM

I'd perceive it as advertisement :}


Cheers,
Tink

trickykid 01-19-2004 05:56 PM

Quote:

Originally posted by Tinkster
I'd perceive it as advertisement :}


Cheers,
Tink

Yeah, your right, after reading it over and over, it only comes off as a type of advertisement in which its taking advantage of our forums to promote their class, site, etc.

Though he is asking people's opinions on this site if this would be helpful to others, I still find it deemed unecessary for our forums and I am having this closed at this time.

If you feel otherwise regarding my decision, email me privately to discuss this thread/topic, etc.

Regards.

trickykid 01-20-2004 07:15 AM

Quote:

Originally posted by trickykid
Yeah, your right, after reading it over and over, it only comes off as a type of advertisement in which its taking advantage of our forums to promote their class, site, etc.

Though he is asking people's opinions on this site if this would be helpful to others, I still find it deemed unecessary for our forums and I am having this closed at this time.

If you feel otherwise regarding my decision, email me privately to discuss this thread/topic, etc.

Regards.

Reopened at this time after explanation of thread starter.

Regards.

kuyalfinator 02-16-2004 05:18 AM

what scripting language would you use?
 
I use bash because that is what I learned to write simple scripts. What would you folks use to answer this question?

P.S.
This is not advertisement. Yet, the other website that links linuxquestions.org 'allows' linuxquestions.org to be listed. I have a question, where are your 'by-laws, rules, and such that describes' linuxquestions.org? Is this a group? non-profit entity? Who are the board members? The supporters? If asking this questions boots me off this site completely, then I was misinformted of what I can or cannnot do.

Problem:
Can you use a script to count the number of words in the P.S.?

kuyalfinator 02-16-2004 05:25 AM

scripting is a basic part of linux
 
Quote:

Originally posted by acid_kewpie
i think i probably speak for most people in saying i do not have a clue what this is meant to be about? are you expceting a solution to this "problem" ??? I don't think this is really relevant to linuxquestions.org...
Shell Programming (scripts)
Let me try to find a script I wrote a while back to see if you can understand that the script is doing.

Code:

#!/usr/local/bin/bash
#/usr/bin/bash
#Assignment 1: Write a bash.shell script to do the check sum of all files in
#in all directory starting from the $HOME directory.  Print the sum.

cd
ls -lR | awk '{if ($1 ~/^-/) total +=$4} END {print "Total sum is "total}'

Do you know what this script (Bash Script) is doing?
NOTE: Same variables might not work because the scripting environment is different for each type of system. SunOS, Linux, and what not

kuyalfinator 02-16-2004 05:36 AM

more scripting problems
 
Quote:

Originally posted by trickykid
Reopened at this time after explanation of thread starter.

Regards.

P.S.
Article II - Name
The chapter is organized and will be operated exclusively for educational and scientific purposes and, in furtherance thereof, specific purposes of this organization shall be:

To promote an increased knowledge of the science, design, development, construction, language, and applications of modern computing machinery;

To promote a greater interest in computing machinery and its applications.

To provide a means of communication between persons having interest in computing machinery.

To provide a collective effort among the computer machinery students in marketing their skills to the vast and high-paying computing job industry.


The above text is from trickykid comments and my organization I represent. My question is, using a script, how many non-alpha letters are there? Again, using a script, how many letters are there? Remember, you need to combine both trickykid's comments and my organization descript to count letters and non-letters.

kuyalfinator 02-16-2004 05:44 AM

Quote:

Originally posted by kuyalfinator
I should mention that though people can't attend the
workshop, the material covered will be availabled online.
Examples, scripts, photos, and any other specific questions
about learning how to go about a Linux / Unix enviroment.

The actual current workshop planned is in Los Angeles,
California at CSU Los Angeles on October 30, 2003. The
examples or materials covered will be available online which
is still being written up. I placed the poll there because I am
sure there are people who are begining to write 'scripts' or
learning Linux / Unix commands and thought this thread might
be useful.

Again, the poll is there to see if the examples, scripts provided are helpful for students. Scripting is tricky, too. It is not a high-level language. Actually, I not sure if scripting is considered programming? Remember, back in the days of MS-DOS batch files? Scripts work somewhat the same way. Everyone is talking about Linux, Linux, Linux. Scripting again is part of learning Linux. So far, no answer to any of the questions where posted. I have not answer my own questions do to time restrictions with work. Well, if you any other questions or can post answer by using a script language, feel free. A little variety about Linux that talks about scripts helps you learn linux environments, somehow.

XavierP 02-16-2004 03:48 PM

Quote:

Originally posted by kuyalfinator
P.S.
This is not advertisement. Yet, the other website that links linuxquestions.org 'allows' linuxquestions.org to be listed. I have a question, where are your 'by-laws, rules, and such that describes' linuxquestions.org? Is this a group? non-profit entity? Who are the board members? The supporters? If asking this questions boots me off this site completely, then I was misinformted of what I can or cannnot do.

Since this thread was reopened, I can only assume that you managed to state your case persuasively to trickykid. And there the matter should have ended. To answer your questions:

I don't know which board linked to LQ, but our Rules are perfectly clear - read them here - which you should have done when you signed up to the board. There is a link at the bottom of the page.

LQ is a non-profit entity, the owner is Jeremy - it is his money and energy that got this board going. The members and supporters are the users - all of whom have agreed to abide by the Rules.

The boards, however, are not the place for this discussion - if you need clarification or need to discuss this further, please email a Moderator or Jeremy.

kuyalfinator 02-17-2004 05:55 AM

thanks again for clarification
 
Quote:

Originally posted by XavierP
Since this thread was reopened, I can only assume that you managed to state your case persuasively to trickykid. And there the matter should have ended. To answer your questions:

I don't know which board linked to LQ, but our Rules are perfectly clear - read them here - which you should have done when you signed up to the board. There is a link at the bottom of the page.

LQ is a non-profit entity, the owner is Jeremy - it is his money and energy that got this board going. The members and supporters are the users - all of whom have agreed to abide by the Rules.

The boards, however, are not the place for this discussion - if you need clarification or need to discuss this further, please email a Moderator or Jeremy.

Thanks. I will be sure to read the rules throughly this time. I thought I did, but probably missed the part about "not advertising" on this site.

Now, back at the topic at hand about scripts. When I learned scripts, the person that thought me made me process lots of text files. Mainly the environments in SunOS or Linux. I was wondering if the moderators can give me a 'text dump' of this thread? All the responses and stuff. Just to get people started scripting, I need to go back and remember my scripting stuff. I learned bash scripting, but there are others like korn, sh, c-shell, and others. Just working off of memory. So, once I get some time off, I will work on the questions I posted. Just waiting to see if any can answer them. I had a friend answer one, but he used python. I need to ask him if I can post on here. mmm


All times are GMT -5. The time now is 03:22 PM.