11-12-2009
How to create a simple background script on Solaris
I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9 mins. How can I do this?
Thanks.
Vinay
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone direct me to a resource that explains scripting in simple terms?
I have visited many sites and browsed this forum and have yet to find simple explanations. (8 Replies)
Discussion started by: rocinante
8 Replies
2. Shell Programming and Scripting
script is:
dirname= "$(date +%b%d)_$(date +%H%M)"
mkdir $dirname
should create a directory named Nov4_
Instead I get the following returned:
root@dchs-pint-001:/=>./test1
./test1: Nov04_0736: not found.
Usage: mkdir Directory ...
root@dchs-pint-001:/=>
TOO easy, but what am I... (2 Replies)
Discussion started by: gwfay
2 Replies
3. Shell Programming and Scripting
Hi all! Im wondering if its possible to create a GUI for a shell script I just got done writing as the people that will be using it dont like the command line all to well. Just something simple with radio buttons to select options, maybe a text field to enter a location to save the file generated... (1 Reply)
Discussion started by: Grizzly
1 Replies
4. Shell Programming and Scripting
Hi
I want to write a small script that will create folders named from `AAAA' all the way to `ZZZZ'.
That is:
`AAAA'
`AAAB'
`AAAC'
...
`AABA'
`AABB'
`AABC'
...
`ABAA'
`ABAB'
`ABAC'
...
`ABBA'
...
`ZZZZ' (4 Replies)
Discussion started by: ksk
4 Replies
5. Shell Programming and Scripting
Hello - I am in process of deleting many files which are older than 4 weeks.
For example I am inside:
/subsystem/prod/
Files are with various extentions, but anything older than 4 weeks should be deleted.
What would be the most simplest script to acheive this? (4 Replies)
Discussion started by: DallasT
4 Replies
6. Shell Programming and Scripting
Hi all, I am brand new to these forums and I am a brand new UNIX Administartor. Don't know any scripting yet :wall:, and would like to learn as my boss is slowly letting me understand everything about being a Sys/*Nix Admin. He created this script which I am trying to replicate because I lost it... (54 Replies)
Discussion started by: zixzix01
54 Replies
7. Shell Programming and Scripting
Guys I want to do this:
copy:
/var/router/system1/config/backup/install.put
/var/router/system2/config/backup/install.put
/var/router/system3/config/backup/install.put
/var/router/system4/config/backup/install.put
into:
/var/router/system1/config/install.dat... (22 Replies)
Discussion started by: DallasT
22 Replies
8. Shell Programming and Scripting
Dear all,
I have a directory named A and some subdirectories named B, C, D with .xml files. I want to use the following command to strip the file.
sed -re ':start s/<*>//g; /</ {N; b start}' file.xml > file.xml
At the same time, I want to remove the blank lines using
sed '/^$/d'
How can... (6 Replies)
Discussion started by: corfuitl
6 Replies
9. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
10. UNIX and Linux Applications
Hello ,
I am new in this forum and need your help as I am totally confused :confused:
I read a lot of threads and tried to search a lot but did not get the exact answer to my question.
I just want a simple (content wise may be long) shell script to create oracle database.
In detail:... (5 Replies)
Discussion started by: rahoolm
5 Replies
AXCTL(8) Linux System Managers Manual AXCTL(8)
NAME
axctl - Configure/Kill running AX.25 connections.
SYNOPSIS
axctl [-v] port dest src window|t1|t2|t3|n2|idle|paclen|kill [parm]
DESCRIPTION
The axctl command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol
layer for existing AX.25 connections. The connection is uniquely identified via the combination of port, destination callsign and source
callsign, with that information the kernel is able to change the parameters, or abort the connection.
Many of the options are similar to those found in axparms and perform the same function. Only one parameter may be changed on each invoka-
tion of axctl.
OPTIONS
-v Displays the version number.
window window Sets the window size for the AX.25 connection.
t1 t1-timeout Sets the initial T1 timeout value for the AX.25 connection, the value is given in seconds.
t2 t2-timeout Sets the T2 timeout value for the AX.25 connection, the value is given in seconds.
t3 t3-timeout Sets the T3 timeout value for the AX.25 connected, the value is given in seconds.
n2 n2-count Sets the maximum number of tries for the AX.25 connection.
idle idle-timeout Sets the value for the idle timer for the AX.25 connection, the value is in minutes.
paclen paclength Sets the maximum packet length that may be transmitted on the AX.25 connection.
kill Will abort an existing AX.25 connection.
FILES
/etc/ax25/axports
SEE ALSO
call(1), getsockopt(2), setsockopt(2), ax25(4), axparms(8), axports(5).
AUTHORS
Joerg Reuter DL1BKE <jreuter@poboxes.com>
Linux 2 August 1996 AXCTL(8)