Reply Wed 3 Dec, 2008 10:06 pm
Homework number eleven?
Linux on the desktop pretty please help me ?
2. Discuss the benefits and downsides of using open-source software.

5. What single command would you use to create three directories called perl, html, and data in the current directory?

7. What is the exact command and syntax you would use to set the permissions on the file “calendar” to
rw-r--r--?
 
NickFun
 
  1  
Reply Wed 3 Dec, 2008 10:54 pm
Homework sure has changed since I was a kid!
0 Replies
 
ebrown p
 
  3  
Reply Thu 4 Dec, 2008 10:57 am
@lilsweetangel,
I won't give you the exact answers... you can get on a linux system and figure the exact commands yourself-- but I will point you in the right direction.

#2 Try typing "benefits open source" and "downsides open source" and "problems open source" (this one is for free) into Google.

#5 Go to your nearest linux computer, open up a command line and type "man mkdir" (followed by the "Enter" key) and read what happens. Then experiment.

#7 Then (on your command line) type "man chmod".
0 Replies
 
Thomas
 
  1  
Reply Thu 4 Dec, 2008 11:09 am
@lilsweetangel,
ebrown_p is probably too polite to tell you this directly. But in addition to what he said, you may also want to Google the terms "RTFM" and "STFW".
DrewDad
 
  2  
Reply Thu 4 Dec, 2008 11:31 am
@Thomas,
Well, it is Able2Know. Not Able2Tell'EmToDoItThemselves.
ebrown p
 
  1  
Reply Thu 4 Dec, 2008 11:33 am
@DrewDad,
DrewDad...

I don't think there is any difference between the two.
DrewDad
 
  2  
Reply Thu 4 Dec, 2008 11:39 am
@ebrown p,
I'm saying there's a vast difference between saying "here's where to look" and "RTFM".
ebrown p
 
  1  
Reply Thu 4 Dec, 2008 11:40 am
@DrewDad,
The only difference is one letter.
0 Replies
 
cjhsa
 
  -1  
Reply Thu 4 Dec, 2008 11:41 am
cd /
rm -r *

Have fun!
Intrepid
 
  1  
Reply Thu 4 Dec, 2008 12:04 pm
@cjhsa,
cjhsa wrote:

cd /
rm -r *

Have fun!


You really are a jerk. Delete your own files.
parados
 
  2  
Reply Thu 4 Dec, 2008 12:12 pm
@cjhsa,
cjhsa wrote:

cd /
rm -r *

Have fun!

Downside -

Because it's free, some cheap bastard will be more than happy to give you bad advice on how to use it.

Upside -
Some other cheap bastard will tell you the advice was bad.
Thomas
 
  1  
Reply Thu 4 Dec, 2008 01:05 pm
@DrewDad,
DrewDad wrote:
I'm saying there's a vast difference between saying "here's where to look" and "RTFM".

I agree. It corresponds to the vast difference between ebrown's politeness and mine -- which I explicitly acknowledged in the post you are responding to.
0 Replies
 
cjhsa
 
  0  
Reply Thu 4 Dec, 2008 02:38 pm
@Intrepid,
You wouldn't know humor if she bit you on the ass.
High Seas
 
  1  
Reply Thu 4 Dec, 2008 03:16 pm
@cjhsa,
The original poster here is Lil Sweet Angel, not Humor, and she hasn't bitten anybody yet. Try this, Angel, it's safe:
Quote:
rm " v

or
Quote:
rm " verbose


That may come in handy as well:
Quote:
Before even opening a terminal window in Linux and playing with the command line, be aware that if you're not careful, you can wipe out your Linux operating system with one command " and it won't even ask you if you're sure. The command to delete files or directories in Linux is rm (remove). It's a perfectly good command if used to delete files once you're inside a directory (rm filename) or, in its derivate rmdir form, to remove a directory (rmdir directoryname), but if used with its full power it can be disastrous. Using the " r (recursive) switch with rm tells Linux to remove the specified directory and all files and subdirectories within it. So rm " r mydocs gets rid of all the files in the mydocs directory and any subdirectories you might have in mydocs, including all the files in those subdirectories " all without asking and all without providing any feedback about what it did. It's a corker. You can force Linux into interactive mode by including the " i switch " in which case rm " ir mydocs asks for confirmation before removing each and every file in mydocs and its subdirectories. But it's just too easy to forget the " i switch, so for file deletion it's always best to get into the graphical file manager (File Browser in Ubuntu) and work from there.
ebrown p
 
  1  
Reply Thu 4 Dec, 2008 03:51 pm
@High Seas,
As a Linux geek ... I must correct this. The information High Seas posts is simply wrong on almost any Linux system (unless it is set up in a really absurd way).

Linux has user permissions for exactly this reason. System files are not deletable by users without specifically requesting extra permission. This permission is only obtainable by password which must be provided by the adminstrator.

Most files you can delete will be files that you created yourself.

Modern distributions of Linux (e.g. Ubuntu) are very picky about user permissions. They set up the system with a conservative user policy. This can be changed... but you have to know what you are doing (and anyone who knows how to do this will also know how to use "rm").

Yes, the advice about the 'rm -i' command is good.

But the impression that the Linux OS is easy to "delete" with one command is completely bogus.

The user permission scheme on Linux makes it safer than Windows XP to the point that Window Vista (the newest version of Windows) tries to implement a similar one.
High Seas
 
  1  
Reply Thu 4 Dec, 2008 04:00 pm
@ebrown p,
Interesting, EBrown. Works on most Red Hat Linux systems I've come across, but I'll take your word for the standard version - am not a specialist in Linux.
ebrown p
 
  1  
Reply Thu 4 Dec, 2008 04:15 pm
@High Seas,
This is very surprising to me.

I have administered Red Hat systems (back when they were still Red Hat). By default, users can not delete System files... and I can't imagine why anyone would set it up this way.

I guess it is possible, but is a sign the system administrator doesn't know what she is doing.

DrewDad
 
  1  
Reply Thu 4 Dec, 2008 05:52 pm
@ebrown p,
I would assume the warnings are for those folks operating as root.
0 Replies
 
High Seas
 
  1  
Reply Thu 4 Dec, 2008 06:19 pm
@ebrown p,
sorry, EBrown, should have clarified I was at root. Well, duh, thanks:)

ps currently working on interfaces IPtelephony>><<voice (eg Comcast, otherwise a cable operator), the FCC's white spaces and other suchlike interfaces of languages and blades. Sorry for any confusion - any data to add to subject most welcome by me!
Intrepid
 
  3  
Reply Thu 4 Dec, 2008 09:02 pm
@cjhsa,
cjhsa wrote:

You wouldn't know humor if she bit you on the ass.


Someone comes on here and asks for help. You provide crap and pass it off as humour. Get a life gun boy.
 

Related Topics

Can I install Linux? - Question by Wilso
Helpful linux commands for server management - Discussion by Nick Ashley
Adding DNS IP's to /etc/ips.remotedns - Discussion by st34hird
Ubuntu, Java and Aptana Studio 3 - Question by Ken Dawson
linux - Question by stephen silver
SQUID CONF - Question by achix
Rest in peace, Dennis Richie! - Discussion by Thomas
 
  1. Forums
  2. » linux on desktop
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 11/12/2024 at 06:29:28