LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2015, 02:25 AM   #1
aavika
Member
 
Registered: Dec 2014
Posts: 82

Rep: Reputation: Disabled
Smile press keys to run a file


hello all,
i am using Centos 6 linux, i am running a file within the file. Is there any way to run or execute a file by pressing any combination keys. like.. Ctrl+Alt+key ??
thank you in advance
 
Old 07-04-2015, 03:16 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,790

Rep: Reputation: 127Reputation: 127
???
 
Old 07-04-2015, 05:06 AM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 259
Blog Entries: 2

Rep: Reputation: 49
That is a feature some window managers provide. Which desktop environment do you have (e.g. GNOME, or XFCE)? You should be able to find out more by searching for "keyboard shortcuts".
 
Old 07-04-2015, 10:25 AM   #4
mralk3
Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 898

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by Keruskerfuerst View Post
???
How is this beneficial feedback?

Anyway...

As stated, this is usually handled by your window manager or desktop environment. However, if you are just using a shell login without a GUI, please refer to this stack overflow post from 4 years ago.

http://stackoverflow.com/questions/4...y-to-a-command

EDIT: Similar thread on unix stack exchange http://unix.stackexchange.com/questi...key-is-pressed

Last edited by mralk3; 07-04-2015 at 10:27 AM.
 
Old 07-04-2015, 11:17 AM   #5
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,790

Rep: Reputation: 127Reputation: 127
Quote:
i am running a file within the file
This makes no sense to me.
 
Old 07-04-2015, 02:09 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,189

Rep: Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507
Quote:
i am running a file within the file
nor to me

please explain
like you are trying to explain a problem to a TA ( the prof is busy )

so some program is running IN some program ?

This is very appropriate " ????? "

please explain that
 
Old 07-04-2015, 07:58 PM   #7
mralk3
Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 898

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
press keys to run a file

I really loathe all those threads that are bleak and lack details. They expect us to answer their questions with as little information as possible, leaving speculation as the only sure tool.

I think what he means is that he wants to run a shell script (or a series of scripts) from a single script that is executed by a key bind.
 
  


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
running thunderbird 10 executable file without to press the run prompt archimede2 Linux - Newbie 9 02-28-2012 12:00 AM
lirc: can we press two keys at the same time ? frenchn00b Linux - General 1 02-16-2008 09:51 AM
How to press Alt + F1 keys programmatically in Linux dipk_23 Programming 4 05-10-2007 01:01 AM
Can Only Press 3 or 4 Keys At Once While Gaming soroh Linux - Hardware 3 07-14-2004 02:33 AM
Beep when I press keyborad keys.. ! xconspirisist Fedora 1 01-30-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration