From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sccrmhc03.attbi.com ([204.127.202.63]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 17Ab5t-0004XT-00 for ; Wed, 22 May 2002 14:44:17 -0400 Received: from mycomputer ([24.62.38.156]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020522184348.VLVO20219.sccrmhc03.attbi.com@mycomputer> for ; Wed, 22 May 2002 18:43:48 +0000 Message-ID: <00eb01c201c0$62417200$02263e18@mycomputer> From: "Igor Gueths" To: References: Subject: Re: in defense of the command line Date: Wed, 22 May 2002 14:42:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Octavian, since I have been made aware that you are familiar with = Pascal, the \t is the bash escape code for toggling a time flag. I don't = recall what the other codes are right now. I don't know if escape codes = exist in Pascal, but they sure as hell do in C.=20 ----- Original Message -----=20 From: Janina Sajka To: Sent: Tuesday, May 21, 2002 11:38 PM Subject: Re: in defense of the command line > Octavian: >=20 > You might want to add the following three commands to the end of > your /etc/bashrc. You need to be root to do this: >=20 > PS1=3D"[\u@\h \t] \W\\\$" > alias ls=3D"ls -px" > alias rm=3D"rm -i" >=20 > The first command will alter your shell prompt to show your login > name, your host name, the current time of day as of when the > prompt is printed, and your pwd. That way you don't have to be > always typing pwd to see where you are, it'll just be part of > your prompt. >=20 > If you don't want the time as part of this shell prompt, take out > the \t part. >=20 > The second command will make ls a little friendlier. Any filename > that's a directory will end in a slash, as in mydir/, and > symbolic links will end with the @ symbol. >=20 > The third command will help you not delete something you didn't > mean to delete. Anytime you give out an rm, it will ask if you > really mean it. >=20 > On Tue, 21 May 2002, Octavian Rasnita wrote: >=20 > > Hi, thanks. Nice explanation. > > I am not intimidate by the command lines. I am frightened by the = idea of > > breaking something. > > Maybe I type rm fILE instead of rm File and I could delete another = file. And > > I don't know the undelete command. > > The most used command by me is pwd, to be sure that I am in the = right > > directory, and ls, to see the files from there. > > The other problem I have is that I don't remember very easy the = parameters. > > I usually remember the command name but I can't remember if I = should use > > the -L parameter or the -l parameter. > > I've seen that for some commands, the same parameter make the same = thing, > > but for other commands that parameter make another thing. > > If I remember well, it is the case of -R parameter, but I don't = remember > > exactly in what commands makes what. > > In some commands, it means Recursive in the directory tree, but in = other > > commands, it means another thing. > >=20 > > Another problem, and maybe here I can make something to improve, is = that > > after I give a command like sync, it doesn't tell me if the command = was > > successfully or not, and I don't know what to do. > > I typed that command from another account than root, and it didn't = tell me > > anything. It didn't tell me if the command was successfully or not = or if I > > have the right to type that command from another account than root. > >=20 > >=20 > >=20 > > Teddy, > > orasnita@home.ro > >=20 > > ----- Original Message ----- > > From: "Charles Hallenbeck" > > To: "Speakup Distribution List" > > Sent: Monday, May 20, 2002 1:50 PM > > Subject: in defense of the command line > >=20 > >=20 > > Octavius and others seem to be intimidated by the command line. > > Here is what helps me: > >=20 > > Think of a Linux command as a "sentence". The name of the command > > is the verb of the sentence, it tells what to do. Sometimes that > > is all there is to a command line. But usually you have to name > > some objects of the action, what thing or things should be acted > > on. Often those objects are the names of files. A sentence has a > > verb and it has objects, so the sentence thing still works. > >=20 > > Example: > >=20 > > wc myfile.txt > >=20 > > The verb is "wc" and the thing the verb acts on is "myfile.txt". > >=20 > > The next step is to modify or qualify the action of the verb. > > This is usually done on the command line between the verb and its > > object or objects. These modifiers or qualifiers are called > > "options" and start with a dash (-) character. Those are the > > adverbs or adjectives of the sentence. > >=20 > > Example: > >=20 > > ls -t > >=20 > > The verb is "ls" and the adverb is "-t", which lists the files in > > the order they were last modified or changed (t for time, not > > hard to remember). > >=20 > > So, if the command line frightens you, think of it as a language, > > made up of sentences, and sentences made up of a verb (just one > > verb), maybe one or more adverbs or adjectives, and maybe one or > > more objects for the verb to act on. > >=20 > >=20 > > Now - everybody learn to talk Linux! > >=20 > > Chuck > >=20 > >=20 > >=20 > > -- > > Visit me at http://www.valstar.net/~hallenbeck > > The Moon is Waxing Gibbous (57% of Full) > >=20 > >=20 > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >=20 > >=20 > >=20 > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >=20 >=20 > --=20 >=20 > Janina Sajka, Director > Technology Research and Development > Governmental Relations Group > American Foundation for the Blind (AFB) >=20 > Email: janina@afb.net Phone: (202) 408-8175 >=20 > Chair, Accessibility SIG > Open Electronic Book Forum (OEBF) > http://www.openebook.org >=20 >=20 > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup