SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   UNIX (AIX) job in London (http://forums.sv650.org/showthread.php?t=145880)

scooby2102 02-02-10 01:00 PM

Re: UNIX (AIX) job in London
 
Quote:

Originally Posted by Davadvice (Post 2167229)
I was begining to think that we were all geeks on here.

I used UNIX for the first time in anger(done it as a student before) 4 weeks ago and it was a total nightmare. we had to use VI and i decided to build the ctl file on my xp box and use ftp to upload. the other members of my team still fart about with VI. they wonder how i get my data in to the oracle box so fast !! i'm not telling :)

yep, gotta agree there dava, if in doubt, forget vi or ed, ftp the file, edit with notepad, put file back, nice n' easy, especially if there's loads of mods to hosts files or summat like that

SoulKiss 02-02-10 01:09 PM

Re: UNIX (AIX) job in London
 
Quote:

Originally Posted by scooby2102 (Post 2168584)
yep, gotta agree there dava, if in doubt, forget vi or ed, ftp the file, edit with notepad, put file back, nice n' easy, especially if there's loads of mods to hosts files or summat like that

Utter rubbish...

vi used properly is a VERY powerful tool, comparing it to notepad is like comparing Rossi's race bike with tractor.

Just because you cant be bothered to learn it properly, dont blame the tool if you cant use it.

As for your suggestion, thats fine, unless of course the program you are re-writing the file, doesn't like Windows/DOS style line-feeds...

ophic 02-02-10 01:11 PM

Re: UNIX (AIX) job in London
 
Quote:

Originally Posted by SoulKiss (Post 2168592)
As for your suggestion, thats fine, unless of course the program you are re-writing the file, doesn't like Windows/DOS style line-feeds...

That's ok, just load it into vi and convert it... :king:

timwilky 02-02-10 01:11 PM

Re: UNIX (AIX) job in London
 
Ah young man, the folly of youth.

What happens when you are presented with a locked down system, only you and a console. If you need to make changes, learn to use the tools that will always be available.

Of course people have their own workrounds. that is the beauty of linux, if you don't like a command name, give it an alias, if it doesn't do what you want, write it yourself or steal somebody elses.

I used to alias VMS type commands to their unix equivalent. Then over time I reversed and built command procedures/symbols etc to emulate unix commands under VMS etc.

But, when somebody has bodged a config file and you have to boot single user mode or off a cd etc you need to know the base tools

Davadvice 02-02-10 01:19 PM

Re: UNIX (AIX) job in London
 
i get round that by using a app called text-pad it allows to save as unix file format apparently.
I don't dissagree that vi is powerfull but there are far easier options out there now with syntax highlighting and debuging assistance.

the guys i work with use sql+ i use Toad or pl/sql editor it's just easier to read and has more functionality. when i was in college the tutors asked us to use notepad to do html i said no and used a editor that hilighted the html. i don't understand why use somthing that is clearly more difficult to use.

I'm a mechanic to trade and for me using a bog standard screw driver to get out a tight screw out instead of getting the snap-on one is like chalk and cheese. why make it harder.

Grinch 02-02-10 01:22 PM

Re: UNIX (AIX) job in London
 
Which screwdriver you calling vi then, cus its more like the snap-on on to me.

CheGuevara 02-02-10 01:29 PM

Re: UNIX (AIX) job in London
 
Quote:

Originally Posted by Davadvice (Post 2168617)
the guys i work with use sql+ i use Toad or pl/sql editor it's just easier to read and has more functionality. when i was in college the tutors asked us to use notepad to do html i said no and used a editor that hilighted the html. i don't understand why use somthing that is clearly more difficult to use.

The developers I work with insist on using gui tools to write their code (sql, pl/sql). I'm sure it's easier on them, but when it comes time for me to deploy it into our production database (Oracle) I find no end of formatting errors, and the scripts don't run unless I use the same tool they wrote it on.

Good code should run on the command line without me having to remove extra lines, spaces etc. Lazy developers are the biggest thorn in my side. If they insist on devloping in Toad or SQL Developer, then they should at least test to ensure it runs on the command line and fix it if not.

Sudoxe 02-02-10 01:33 PM

Re: UNIX (AIX) job in London
 
Quote:

Originally Posted by ophic (Post 2168594)
That's ok, just load it into vi and convert it... :king:

Then you will see:
line^M

you want dos2unix to fix that...

Davadvice 02-02-10 01:36 PM

Re: UNIX (AIX) job in London
 
well i don't have to ask for my stuff to be deployed. so no concerns for me. those blasted devs!!

timwilky 02-02-10 01:36 PM

Re: UNIX (AIX) job in London
 
Yes, I use IDEs for my development, far too many

Visual Studio
Eclipse
Oracle Jdeveloper etc.

I also use a 10 year old windows editor because it can display in hex/ascii etc and most important for me cut/paste in columns and not just lines.

Horses for courses. of course the specialist tools make life easier, that is why somebody invented them. However, you also need to be able to work from base principles.

So all you have available is a CLI :- a dumb terminal or putty shell. You have no fancy tools. I have managed unix boxes in china across 64K vsat links. even an X session is a non starter. it is cli or nothing.

still no point in arguing. Those who need to be able to do the job, know their tools. Those that don't, dont get the job


All times are GMT. The time now is 02:40 PM.

Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.