• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

UNIX Refresher

2. Anyone care to translate the :wq!, shift + ZZ gibberish on this thread?
IMHO that kind of obscurity is rarely a good thing. I've always tried to de-mystify IT to end users & managers where possible - that way they believe me when I say something is going to be difficult & time consuming because I don't "always say that".
But then again I'm "Not worth listening to" apparently.

It's different ways to save and quit in vi.
 
It's different ways to save and quit in vi.

vi being - the command 'visual' that switches the 'extended' line editor to visual mode
global / regular expression / print looks jolly useful too - its hardly untuitive that this is what 'grep' stands for though....

The sub-culture of brevity in the Unix community is going to slow the learning process down a little methinks.

Saves typing at the command line, but don't these minimalist abbreviations make Unix scripts a bit hard for non-Unix bods to read?
 
vi being - the command 'visual' that switches the 'extended' line editor to visual mode
global / regular expression / print looks jolly useful too - its hardly untuitive that this is what 'grep' stands for though....

The sub-culture of brevity in the Unix community is going to slow the learning process down a little methinks.

Saves typing at the command line, but don't these minimalist abbreviations make Unix scripts a bit hard for non-Unix bods to read?

:laugh You've blagged it, haven't you?

You really have blagged this - Haven't you?
 
vi being - the command 'visual' that switches the 'extended' line editor to visual mode
global / regular expression / print looks jolly useful too

You wanted tutorials? These vim ones are a bit much for a beginner, but you can get the idea.

vimcasts.org
 
Last edited: 12:31
You really have blagged this - Haven't you?

Have you only had gigs where you had sound commercial experience in all aspects?
This is not a Unix contract. Unix is the source system - just need to know enough to get the apps off & decomm. the unix platform from what I have been told so far.
 
vi being - the command 'visual' that switches the 'extended' line editor to visual mode
global / regular expression / print looks jolly useful too - its hardly untuitive that this is what 'grep' stands for though....

The sub-culture of brevity in the Unix community is going to slow the learning process down a little methinks.

Saves typing at the command line, but don't these minimalist abbreviations make Unix scripts a bit hard for non-Unix bods to read?

The Unix bod has to imagine himself in a scenario with a knackered system which he has to boot in single user or from cd and the only tools available are the standard Unix ones, with no GUI. The ability to edit files in that mode is core.

I sued to hate vi, but now I embrace it, it works exactly the same on Solaris, AIX, HP-UX and Irix, tho linux seems to add odd bits to it to 'help'....
 

Advertisers

Back
Top