LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-14-2005, 10:36 AM   #1
alix123
Member
 
Registered: Nov 2004
Posts: 63

Rep: Reputation: 15
equivalent Linux command for windows start cmd


Hello All

Is there any equivalent command for linux Bash shell. Similar to "start cmd" and "start nameexe" where name exe is the name of the executable to start.

actually I want to start/excute perl file on a new terminal every time.
 
Old 08-14-2005, 10:39 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
If you want to do it every time bash is started then just add your command to .bashrc or .bash_profile depending on your needs (see "man bash").

If you want to replace the current shell then use exec.
 
Old 08-15-2005, 12:46 AM   #3
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
If I understand correctly I think you're wanting to pop another xterm window and execute a new program in that window, without having to click on the new window and type the command into it. That's what I remember of the window's start function.

try
xterm -e 'your cmd'
Note that when your cmd terminates, the window will close.
 
Old 11-16-2008, 01:19 PM   #4
ndarkduck
LQ Newbie
 
Registered: Nov 2008
Location: Mex,Mex
Distribution: Fedora || Red Hat Linux
Posts: 28

Rep: Reputation: 7
Quote:
Originally Posted by alix123 View Post
Hello All

Is there any equivalent command for linux Bash shell. Similar to "start cmd" and "start nameexe" where name exe is the name of the executable to start.

actually I want to start/excute perl file on a new terminal every time.
I hope bein at time... lol, if not you should have posted the solution in order to make the community grow. The trick in linux that is equivalent to

Start>Run>cmd.
x:> start explorer
x:> start cmd
x:> start ...

Is...
Alt + F2>Konsole
xx$ konqueror & #(note the enter)
xx$ konsole &
xx$ .... &

Regards
 
Old 11-16-2008, 07:06 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Hmm. I type Alt-F2 and I get.... nadda. I guess you are using KDE, so that must be a KDE-specific command.

Quote:
I want to start/excute perl file on a new terminal every time.
Every what time? Every time your system boots? Every time you log in? Every time you start a new terminal? Any of these are possible, but you need to explain which. In general, come right out and say what you're trying to accomplish. A lot of us here don't speak Windows, so it isn't the best way to describe your objective.
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Notepad Equivalent in Linux? Bob5 Linux - Software 21 09-16-2013 03:43 AM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
Is there an equivalent cmd to "chkconfig (redhat)" in Debian? davidas Debian 3 04-08-2004 11:54 PM
Linux equivalent of Unix command lptops? tdp05 Linux - General 2 09-12-2003 07:45 PM
equivalent command in linux kunto Linux - Networking 2 11-26-2001 03:02 AM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration