Sponsored Content
Top Forums Shell Programming and Scripting Scripting using shell language Post 302652563 by Thucydide on Thursday 7th of June 2012 09:36:57 AM
Old 06-07-2012
Scripting using shell language

hi

i am student and i learn computer sciences

i need to write a script that can will be execute automatically when a user logs on a computer, and will be automatically disconnect after a duration that i will determine

can somebody help me

thank
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what scripting language to use

Hi, I want to send system info like disk utilization, memory and things like that to be displayed on a web page. gathering the system info is simple. What do I use to transfer the data to the web server? Once the data is there, its not my problem anymore :D Thanks for any leads (5 Replies)
Discussion started by: 406
5 Replies

2. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

3. Shell Programming and Scripting

Scripting language for system admin

Am trying to learn a scripting language to automate mundane system admin tasks. Being a Novice, Just trying to understand, which language would be easier to learn and one for all types. i.e Perl or Shell scripting. Which of these would be good for a system admin, Database admin ?? pls. post... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

4. Shell Programming and Scripting

Alternative Scripting Language for UNIX/Linux System Administration

I do not know UNIX shell scripting so as an alternative which language would you think is better for daily System Administration tasks. Perl or PHP? I know a little about both. (5 Replies)
Discussion started by: blackopus
5 Replies

5. What is on Your Mind?

Better scripting language (closed)

:confused:perl,python,ruby..which one is the best language...? all are welcomed to comment but i would request to the SYSTEM ADMINISTRATORS who have yaers of programming,scripting experience to comment...site admins plz i am looking forward to see your comments also ...:):) (3 Replies)
Discussion started by: shekhar_4_u
3 Replies

6. Shell Programming and Scripting

Scripting Language for Parsing XML

Hello, I want to know which shell scripting language (like AWk, Perl or any other) is the best for parsing and editing 1) space or Comma Separated Datsets 2) XML type Datasets. (1 Reply)
Discussion started by: ajayram
1 Replies

7. UNIX for Dummies Questions & Answers

Best scripting language for Aix/unix

Hi everyone , Can anyone tell me which is the Best scripting language for Aix/unix and why. Thanks N K Chand (1 Reply)
Discussion started by: nkchand
1 Replies
learn(1)						      General Commands Manual							  learn(1)

NAME
learn - Provides computer-aided instruction for the C shell SYNOPSIS
learn [-directory] [subject] [lesson] The learn command provides computer-aided instruction courses and practice in the use of Tru64 UNIX. OPTIONS
Allows you to exercise a script in a nonstandard place. DESCRIPTION
To get started, enter learn; if this is the first time that you are invoking the learn command, you are guided through a series of ques- tions to determine what type of instruction you want to receive. If you have used learn before and left your last session without completing a subject, the program uses information in $HOME/.learnrc to start you up in the same place you left off. To bypass questions, enter a subject or lesson. In order to enter a lesson, you must know the lesson number that you received in a previ- ous learn command session. If you do not know the lesson number, enter the lesson number as a subject. The learn command searches for the first lesson containing the subject you specified. If the lesson is a - (dash), learn prompts for each lesson; this is useful for debug- ging. You can specify the following subjects: files editor vi morefiles macros eqn C SUBCOMMANDS
There are a few special commands. The bye command terminates a learn session, and the where command tells you of your progress (where m tells you more.) The again command redisplays the text of the lesson and again lesson lets you review lesson. The hint command prints the last part of the lesson script used to evaluate a response, while hint m prints the entire lesson script. This is useful for debugging lessons and might possibly give you an idea about what is expected. EXAMPLES
To take the online lesson about files, enter: learn files You are then prompted for further input. FILES
Playpen directories. Start-up information. SEE ALSO
Commands: csh(1), ex(1) learn(1)
All times are GMT -4. The time now is 03:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy