Welcome to Coding : Sécurité Programmation Réseaux

Search   in  

 Create an Account Home | Submit News Your Account Content | Topics | Top 10  


Accueil
· Home
· Listing des Articles
· Top 10
· Repository des Exploits

Les sujets / parties
· C / C ++
· Visual Basic
· Asm
· Reseaux
· Java
· Securite
· Divers

Utile
· Listing des Articles

· Telecharger
· Le Forum
· Liens
· Proposer un article

Top20 des Downloads
· 1: Etude des reseaux generalites et protocoles
· 2: Cheval de troie en VB avec sources
· 3: Netcat 1.1
· 4: Keylogger
· 5: Etudes des reseaux hauts debits architectures et protocoles
· 6: Ecoute de port
· 7: Etude du Smart Spoofing
· 8: Win Packet Capture Utils
· 9: Tutorial on Traffic Interception on Switched Lan using ARP spoofing
· 10: Cours de C

User Info
Welcome, Anonymous
Nickname
Password
(Register)
Membership:
Latest: gold-os
New Today: 0
New Yesterday: 1
Overall: 2179

People Online:
Visitors: 37
Members: 0
Total: 37

  
Coding : Sécurité Programmation Réseaux: Forums

Coding :: View topic - mnemonics for unix commands
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mnemonics for unix commands

 
Post new topic   Reply to topic    Coding Forum Index -> Scripting
View previous topic :: View next topic  
Author Message
Florian Kaufmann
Guest





PostPosted: Fri May 16, 2008 4:10 am    Post subject: mnemonics for unix commands Reply with quote

There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious (tac
as an inverted cat, tee ), and some I don't get at all (e.g. df, pr,
dd ).

Unfortunately the man and info pages (at least mine) don't make it
clear what exactly the command names stand for, they 'only' give a
description what these commands do.

Has anybody a list of common unix command names together with their
mnemonics?
Back to top
Kenny McCormack
Guest





PostPosted: Fri May 16, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

In article <72b3ce20-856b-4d38-a3b3-d0afcce71f5d@k37g2000hsf.googlegroups.com>,
Florian Kaufmann <sensorflo@gmail.com> wrote:
Quote:
There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious (tac
as an inverted cat, tee ), and some I don't get at all (e.g. df, pr,
dd ).

Unfortunately the man and info pages (at least mine) don't make it
clear what exactly the command names stand for, they 'only' give a
description what these commands do.

Has anybody a list of common unix command names together with their
mnemonics?

Sounds like you need to pick up an O'Reilly book or two.
Back to top
Phil
Guest





PostPosted: Fri May 16, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

Florian Kaufmann wrote:
Quote:
There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious

tac
never heard of that


Quote:
tee
Dictionary => "tee: a pipe fitting in the shape of a letter T, used to

join 3 pipes"

Quote:
df
disk free


Quote:
pr
print


Quote:
dd
disk-to-disk I think


Quote:
Has anybody a list of common unix command names together with their
mnemonics?

No, sorry.


Phil.
Back to top
Joachim Schmitz
Guest





PostPosted: Fri May 16, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

Phil wrote:
Quote:
Florian Kaufmann wrote:
There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious
snip>>> dd
disk-to-disk I think
I've read that orginally it should have been named cc, after 'copy and

convert' but that was used by the compiler, so they picked dd and then
backronymed it called it "data definition"

Bye, Jojo
Back to top
Stephane CHAZELAS
Guest





PostPosted: Fri May 16, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

2008-05-15, 09:09(-07), Florian Kaufmann:
[...]
Quote:
Has anybody a list of common unix command names together with their
mnemonics?

See:

http://www.roesler-ac.de/wolfram/acro/

And in particular:

http://www.roesler-ac.de/wolfram/acro/Cmd.htm

For dd, it gives:

Optinion 1: Dataset Definition (named after the OS/3x0 JCL DD
command who's syntax it also ripped off as a joke; see here)
Opinion 2: Copy and convert (called dd because cc is the C
compiler; see here)
Opinions 3-n: data, device, disk, dump in various combinations

I'd have said data dump.

--
Stéphane
Back to top
Rikishi 42
Guest





PostPosted: Fri May 16, 2008 8:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

On 2008-05-15, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote:

Quote:
There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious
snip>>> dd
disk-to-disk I think
I've read that orginally it should have been named cc, after 'copy and
convert' but that was used by the compiler, so they picked dd and then
backronymed it called it "data definition"

Carbon Copy, I've heard. Makes sense. After all, it makes an exact copy.


--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Back to top
Sven Mascheck
Guest





PostPosted: Fri May 16, 2008 1:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Stephane CHAZELAS wrote:

Quote:
Opinion 2: Copy and convert (called dd because cc is the C
compiler; see here)

not necessarily for this very reason,
but at least like the V6 manual reads: "dd - convert and copy a file"
--
http://minnie.tuhs.org/UnixTree/V6/usr/man/man1/dd.1.html
Back to top
mop2
Guest





PostPosted: Fri May 16, 2008 1:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Florian Kaufmann wrote:
Quote:
There are some commands where I don't know what they stand for. Some
are obvious (mv for move, cp for copy), others are less obvious (tac
as an inverted cat, tee ), and some I don't get at all (e.g. df, pr,
dd ).

Unfortunately the man and info pages (at least mine) don't make it
clear what exactly the command names stand for, they 'only' give a
description what these commands do.

Has anybody a list of common unix command names together with their
mnemonics?

This script seems be a personal one line help.
http://planeta.dyndns.org/scripts/h

It's a language mix, apparently to the user/owner update it.

Some results, since "h" is in the PATH:

$ h tac
mimencode : base64 encoding,crypt,mail attach,smtp,autentication
tac: concatenate and print files in
reverse;linhas,inverso,contrário,frente

$ h pr:
pr: convert text files for printing (pagina, coluna,arquivos
impressao)

$ h ^tp
tput: initialize a terminal or query terminfo database

$ h undel
debugfs: ext2/ext3 file system
debugger,disk,partition,recover,disco,undelete
Back to top
Maxwell Lol
Guest





PostPosted: Fri May 16, 2008 1:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Florian Kaufmann <sensorflo@gmail.com> writes:

Quote:
as an inverted cat, tee ), and some I don't get at all (e.g. df, pr,
dd ).

dd - that's has to do with the old IBM JCL "language"
that was used when you ran a punch card job. DD was Data Definition.

In those dayes. you had some punch cards with special commands that
told the mainframe what to do with the input (like compile and run,
and print).

Something like (it's been 38 years)...

//SYSIN DD SYSOUT=PRINTER


The amusing thing is that while dd has options like
dd if=in of=out
it was done as a joke (as Stephane says), you can also use the simpler:
dd <in >out
But a lot of people still use if= and of=

Looking at http://www.roesler-ac.de/wolfram/acro/Cmd.htm, let me add a
few comments.

tac - that's cat backwards.

make - the paper on this says there are four steps to debug: Think,
edit, make, run. Make automated all of step three.


lint - a picker of bits of fluff from a program. The original compiler
was made to run fast. lint was the optional error checker, and a
separate step. The Gnu compiler has since integrated the two
functions, making lint obsolete.

As a user of computer systems in the 1970's, I was amazed how
fast cc was. In those days, the non-Unix Fortran compiler was
one program that did everything - but slowly. If you needed
to generate a cross-reference, you had to check, recompile and
link as well. Splitting the C compiler, in into cc, cb, lint,
cc, link, num, pr was a great idea at that time.

awk - from the three authors last names..
nn - network news
wall - Write to All. Write(1) sent a message to another user.

If we go back to older systems, some of them had amusing names.

biff - the manual says "Be notified IF mail arrives and who it is From"
but there was a dog named Biff that would bark when mail arrived.

ping - I think it's onomatopoeic, but some people say
"Packet InterNetwork Groper"

There were other commands, like see, num, pc, pi, pix, px, pic, tc,
call, net, etc. And these prevented other commands from using the
same names for a while.

I think I read somewhere that one command (or perhaps it was the
system call) the creator regretted making too short was "umount" -
which should have been "unmount."
Back to top
Keith Thompson
Guest





PostPosted: Fri May 16, 2008 1:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Sven Mascheck <mascheck@email.invalid> writes:
Quote:
Stephane CHAZELAS wrote:
Opinion 2: Copy and convert (called dd because cc is the C
compiler; see here)

not necessarily for this very reason,
but at least like the V6 manual reads: "dd - convert and copy a file"
--
http://minnie.tuhs.org/UnixTree/V6/usr/man/man1/dd.1.html

Eric Raymond's Jargon File says it stands for "Dataset Definition",
from IBM System/360 JCL.

<http://www.catb.org/jargon/html/D/dd.html>

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to top
jellybean stonerfish
Guest





PostPosted: Fri May 16, 2008 1:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

On Thu, 15 May 2008 17:27:35 +0100, Phil wrote:

Quote:
tac
never heard of that

cat comes from conCATonate
and tac is cat backwards.
Back to top
Joachim Schmitz
Guest





PostPosted: Fri May 16, 2008 6:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Rikishi 42 wrote:
Quote:
On 2008-05-15, Joachim Schmitz <nospam.jojo@schmitz-digital.de> wrote:

There are some commands where I don't know what they stand for.
Some are obvious (mv for move, cp for copy), others are less
obvious
snip>>> dd
disk-to-disk I think
I've read that orginally it should have been named cc, after 'copy
and convert' but that was used by the compiler, so they picked dd
and then backronymed it called it "data definition"

Carbon Copy, I've heard. Makes sense. After all, it makes an exact
copy.
not with the conv= option


Bye, Jojo
Back to top
Janis
Guest





PostPosted: Sun May 18, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

On 16 Mai, 03:53, Maxwell Lol <nos...@com.invalid> wrote:
Quote:

I think I read somewhere that one command (or perhaps it was the
system call) the creator regretted making too short was "umount" -
which should have been "unmount."

Never heard that about umount (though still possible, of course), but
that's at least true for the 'creat' system call.

Janis
Back to top
Barry Margolin
Guest





PostPosted: Sun May 18, 2008 4:10 am    Post subject: Re: mnemonics for unix commands Reply with quote

In article
<c7172123-5994-4bdc-ad17-4f9c4e5c55cc@m36g2000hse.googlegroups.com>,
Janis <janis_papanagnou@hotmail.com> wrote:

Quote:
On 16 Mai, 03:53, Maxwell Lol <nos...@com.invalid> wrote:

I think I read somewhere that one command (or perhaps it was the
system call) the creator regretted making too short was "umount" -
which should have been "unmount."

Never heard that about umount (though still possible, of course), but
that's at least true for the 'creat' system call.

Yeah, isn't the quote something like "If I had to change one thing about
the system, I would have spelled it 'create'."?

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Back to top
Maxwell Lol
Guest





PostPosted: Sun May 18, 2008 11:10 pm    Post subject: Re: mnemonics for unix commands Reply with quote

Barry Margolin <barmar@alum.mit.edu> writes:

Quote:
Yeah, isn't the quote something like "If I had to change one thing about
the system, I would have spelled it 'create'."?

Barry, you may be right.


Quote:

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Coding Forum Index -> Scripting All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.42 Seconds