nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

running a program in console

This is a discussion on running a program in console within the Shell scripting forums, part of the Development/Scripting category; Hi, I have a start script ,which is running at startup. Within this script I can start a program in ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-27-2008, 07:12 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Slackware
Posts: 2
Rep Power: 0
yektaayduk is on a distinguished road
Default running a program in console

Hi,
I have a start script ,which is running at startup.
Within this script I can start a program in an xterm window :

xterm -e ./program_name

How can I do the same in a console window.

Thanks.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-27-2008, 07:17 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 919
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Hi,

I'm sorry but I don't get you question. Can you elaborate a little more about problem you are facing?
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 06-27-2008, 07:23 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Slackware
Posts: 2
Rep Power: 0
yektaayduk is on a distinguished road
Default

I want that a console window opens automatically and the printf 's of the program can be seen on this console window.Because I can not manage to scroll up and down and see as much as lines as I can when I start my program in xterm window.
Reply With Quote
Reply

Bookmarks

Tags
bash , linux , shell , unix , xterm


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to compile a c program in freeBSD jkmb All about FreeBSD/OpenBSD/NetBSD 0 01-21-2008 01:33 PM
Linux Server Administration via Serial Console chiku Networking, Firewalls and Security 0 11-24-2007 11:15 AM
is any one good in c program ? oronno Shell scripting 0 09-19-2007 01:04 PM
start program schaapmansz Getting started tutorials 1 06-26-2007 09:49 PM
Display remote console messages ac007 All about FreeBSD/OpenBSD/NetBSD 5 12-29-2005 11:24 PM


All times are GMT +5.5. The time now is 11:10 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36