To do a script

All those commands that we don't really use very often, but that we should ! Documented or not, they worth it !
la_toupie

To do a script

Post by la_toupie »

tape :

a4400 : cat > file's name

command1
command2
....

CTRL D

a4400 : chmod 777 file's name (for that your file become exe.)

a4400 : file's name (execute the script)
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3404
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Post by frank »

Personaly, I would rather use 'vi' as a script editor :-)
Code Free Or Die
la_toupie

Post by la_toupie »

I hate "vi" :evil:
goldy
Member
Posts: 150
Joined: 30 Aug 2004 02:16
Location: Australia

Post by goldy »

Using vi can be tricky, but I like it & it's usually avaliable on all flavours :wink:
la_toupie

Post by la_toupie »

What script have you done and for what ?
goldy
Member
Posts: 150
Joined: 30 Aug 2004 02:16
Location: Australia

Post by goldy »

have setup mini scripts with menus for our field engineers + to run traces as advised by R&D. It makes things easier for the guys who are not so savvy with technical tasks :?

I set a script Once to clean a large network with database issues. I went on vacation, & someone else was able to do the work, pretty sweet 8)

And you?

Have you had to do some similar things?
la_toupie

Post by la_toupie »

Just to do traces for the moment; it avoid to tape a lot of command :)

I'm a beginner with it, can you send me your cript to see how do you do ?

Thanks


PS : Not interested by the job in England, i's not so far finally :lol:
goldy
Member
Posts: 150
Joined: 30 Aug 2004 02:16
Location: Australia

Post by goldy »

me either for the UK job, happy to be in Oz with family & friends. Where are you based, you are French yes?

I have some sample scripts, I can send you if you like. You can use them to ypur own free will, just be careful with some, as they can be fairly heavy on the system :roll:
la_toupie

Post by la_toupie »

OK, it will be nice :wink: ; I'll do tests.

Yes, I'm french and you, australian. The 4400 is overall; what is the leader by there ( Alcatel ) ?
goldy
Member
Posts: 150
Joined: 30 Aug 2004 02:16
Location: Australia

Post by goldy »

I don't know exactly the figures, Alcatel now has a large share of the market (especially in hotel/hospital). I love the 4400, but I think it is slipping away in the development & support. It is ggod to see the enterprise on a linux platform, I just hope the R&D is as strong as it was for the 4400 8)

DHS3 4ever :wink:
Post Reply

Return to “Usefull commands”