Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > 100 good unix habits

Reply
Thread Tools

100 good unix habits

 
 
Aquilegia Alyssum
Guest
Posts: n/a
 
      12-17-2006
http://www-128.ibm.com/developerwork...GoodUnixHabits

Good sensible tips, IMHO.


Aquilegia Alyssum

--
"The only way Vista client and Longhorn server would make sense
would be if [the] company was doing a 'forklift upgrade' on its
entire client-server infrastructure."

 
Reply With Quote
 
 
 
 
Fred Dagg
Guest
Posts: n/a
 
      12-17-2006
On Sun, 17 Dec 2006 15:35:59 +1300, Aquilegia Alyssum
<(E-Mail Removed)> exclaimed:

>http://www-128.ibm.com/developerwork...GoodUnixHabits
>
>Good sensible tips, IMHO.


I haven't got time to visit the links, but here's a tip, for free,
too!

Tip #1 : Install Windows...
 
Reply With Quote
 
 
 
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      12-17-2006
In message <(E-Mail Removed)>, Fred Dagg wrote:

> ... Install Windows ...


Yes, that is something you soon learn to make a regular habit, don't you...
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      12-17-2006
In message <(E-Mail Removed)> , Aquilegia
Alyssum wrote:

>

http://www-128.ibm.com/developerwork...GoodUnixHabits

Those aren't UNIX habits, they're UNIX shell habits.

Under UNIX habits, I would include things that are not shell-specific, such
as "always gobble your zombie children"
<http://groups.google.co.nz/groups?selm=(E-Mail Removed)>.
 
Reply With Quote
 
Fred Dagg
Guest
Posts: n/a
 
      12-17-2006
On Sun, 17 Dec 2006 18:37:54 +1300, Lawrence D'Oliveiro
<(E-Mail Removed)_zealand> exclaimed:

>In message <(E-Mail Removed)>, Fred Dagg wrote:
>
>> ... Install Windows ...

>
>Yes, that is something you soon learn to make a regular habit, don't you...


Hmm. Um, yes, actually.
 
Reply With Quote
 
jasen
Guest
Posts: n/a
 
      12-17-2006
On 2006-12-17, Aquilegia Alyssum <(E-Mail Removed)> wrote:
> http://www-128.ibm.com/developerwork...GoodUnixHabits
>
> Good sensible tips, IMHO.
>
>
> Aquilegia Alyssum



it gave this example:

tar xvf -C tmp/a/b/c newarc.tar.gz

that won't work!


and this one of "good use of backslashes"

~ $ cd tmp/a/b/c || \
> mkdir -p tmp/a/b/c && \
> tar xvf -C tmp/a/b/c ~/archive.tar


where their presence has no effect whatsoever!


--

Bye.
Jasen
 
Reply With Quote
 
Kent Smith
Guest
Posts: n/a
 
      12-17-2006
Lawrence D'Oliveiro wrote:
> In message <(E-Mail Removed)> ,
> Aquilegia Alyssum wrote:
>
>>

> http://www-128.ibm.com/developerwork...GoodUnixHabits
>
> Those aren't UNIX habits, they're UNIX shell habits.


And there's only 10.


-KENT


 
Reply With Quote
 
Aquilegia Alyssum
Guest
Posts: n/a
 
      12-17-2006
On Mon, 18 Dec 2006 10:27:37 +1300, Kent Smith wrote:

> And there's only 10.


Yes. A typo.

I wondered how long it would be before someone picked at that.


Aquilegia Alyssum

--
"The only way Vista client and Longhorn server would make sense
would be if [the] company was doing a 'forklift upgrade' on its
entire client-server infrastructure."

 
Reply With Quote
 
Rob
Guest
Posts: n/a
 
      12-17-2006
Kent Smith wrote:
> Lawrence D'Oliveiro wrote:
>> In message <(E-Mail Removed)> ,
>> Aquilegia Alyssum wrote:
>>
>> http://www-128.ibm.com/developerwork...GoodUnixHabits
>>
>> Those aren't UNIX habits, they're UNIX shell habits.

>
> And there's only 10.
>
>

Ah, but in *nix, there's usually 10 ways of doing any particular thing.

--

Rob
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://aspir8or.googlepages.com/linux_links
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -


"If you want to make an apple pie from scratch, you must first create
the universe." - Carl Sagan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      12-18-2006
In message <em3b82$oo5$(E-Mail Removed)-a-geek.org>, jasen wrote:

> and this one of "good use of backslashes"
>
> ~ $ cd tmp/a/b/c || \
> > mkdir -p tmp/a/b/c && \
> > tar xvf -C tmp/a/b/c ~/archive.tar

>
> where their presence has no effect whatsoever!


Whaddaya know ... bash is smart enough to assume a continuation if a line
ends with one of those operators.

But this might not apply to other shells.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com C Programming 5 04-25-2012 08:49 PM
bits and good habits \\ C Programming 28 05-21-2009 10:53 AM
OT Annoying Habits (Was: when format strings attack) Carroll, Barry Python 7 01-20-2007 01:57 PM
Need "Proof" To Give to Co-worker About Browsing Habits & Spyware/Adware/Torjans/Viruses Sens Fan Happy In Ohio Computer Support 26 09-23-2005 07:09 PM
IE interpretation habits... Nils Weisensee HTML 3 03-06-2005 09:16 PM



Advertisments