01-01-2012
Automatically execute a software without gui at boot
hi all,
this is my first post here...i hope that this is the correct section to write my question.
I have a distro linux without gui, only text mode.
So, it's possible run automatically a command or a program as "top" or "ping" and get the result on the main shell , after the boot and after username and password input ?
I don't want run the command or the software as a service (init.d/.....).
Thanks to all.
Regards
Emiliano
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i write a script for displaying a xmessage.But i want it to run automatically for every one hour.can any one help me. (2 Replies)
Discussion started by: lakshmananindia
2 Replies
2. UNIX for Dummies Questions & Answers
Figured out the first half but am still having a little trouble shooting problem with the Initialization Files. I am working in bash on a remote server.
When I log on I am seeing the correct prompt but right before that I am also seeing this
the id -u integer expression expected is what... (2 Replies)
Discussion started by: moonunit
2 Replies
3. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
4. Solaris
Hi,
Can anyone please let me know if any installed software on solaris can be accessed with GUI on CDE. I just installed putty from sunfreeware.com and try accessing it but no way to access it's GUI.
Thanks,
Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies
5. Shell Programming and Scripting
Hello.
The last days I extended an open-source C++ library by some faster functions. This library provides a lot of short test programs which guarantee that the library works exactly.
The compilation of each test works in a Makefile automatically.
What I need is a shell script which... (5 Replies)
Discussion started by: max3000
5 Replies
6. Linux
Okay I'am not using ArchLinux but one of girlfreinds needs it (or it recommend by her work) and she need a desktop - so how do we do so the computer boot up with GUI instead of console ? - I'am a newbie to Arch so I have no idea, is it like SlackWare where you change the inittab file or is it some... (10 Replies)
Discussion started by: looop
10 Replies
7. Shell Programming and Scripting
Hello Experts,
In my current job I need to upgrade a web GUI to execute Unix commands in a server....I am completely new to programming--So can anyone here help me out with initial steps...
Please notice that statement completely new to programming means-I never did it, SO I might keep on coming... (1 Reply)
Discussion started by: mhadi
1 Replies
8. Linux
Hi..
I just brought a CD writer.
It has nero for windows bundled with it.
I found nero very easy to use as well as usefull..
I then see that wht we have in linux..
I found that in my Redhat 9 i have two CD writers software but both are no where nare nero...
So is there any GUI based cd... (5 Replies)
Discussion started by: billcrosby
5 Replies
9. UNIX for Dummies Questions & Answers
Very new to this.....
What I would like to do:
Create a simple GUI/Web portal with 3 buttons and 1 text field
The three buttons need to take the input into the text field and use that as the variable to execute scripts located on a server
Problem:
How can i get the buttons on the... (3 Replies)
Discussion started by: poops
3 Replies
INIT(8) System Manager's Manual INIT(8)
NAME
init - initialize machine upon booting
SYNOPSIS
/$cputype/init [ -ctm ] [ command ... ]
DESCRIPTION
Init initializes the machine: it establishes the name space (see namespace(4) and newns in auth(2)), and environment (see env(3)) and
starts a shell (rc(1)) on the console. If a command is supplied, that is run instead of the shell. On a CPU server the invoked shell runs
cpurc(8) before accepting commands on the console; on a terminal, it runs termrc and then the user's profile. Options -t (terminal) and -c
(CPU) force the behavior to correspond to the specified service class. Otherwise init uses the value of the environment variable $service
to decide the service class.
Init sets environment variables $service (either to the incoming value or according to -t or -c), $objtype (to the value of $cputype),
$user (to the contents of #c/user), and $timezone (to the contents of /adm/timezone/local).
With option -m init starts only an interactive shell regardless of the command or service class.
On a CPU server, init requires the machine's password to be supplied before starting rc on the console.
Init is invoked by boot(8), which sets the arguments as appropriate.
SOURCE
/sys/src/cmd/init.c
SEE ALSO
rc(1), auth(2), boot(8)
INIT(8)