How to close a window using shell?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to close a window using shell?
# 1  
Old 07-04-2010
How to close a window using shell?

hi,
suppose i have many windows open like two image files, a terminal , a firefox. and using command line i want to exit specifically 1 of these.. how can i do this?
is there any shell command to do this?
thanx...
i am waiting for reply. its urgent!
m using ubuntu 9.04
# 2  
Old 07-04-2010
# 3  
Old 07-04-2010
thanx alot!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

2. Shell Programming and Scripting

Close the Run window after script is done

Hello to all, I am a Newcomer in Solaris and have the following problem. I have a small shell script in my home folder, which I have moved to my desktop and from there I can start the script with a double mouse click. If I do a double click on the symbol for the script in workspace, a... (5 Replies)
Discussion started by: Mike Newbie
5 Replies

3. Shell Programming and Scripting

How to close the Web browsers in Shell Script?

Hi, Is there anyway to close all the Open tabs in Web Browser via Shell Script. Like browser.close( ) or something like that. Pls do help me soon, Thanks in Advance :) (1 Reply)
Discussion started by: Megala
1 Replies

4. UNIX Desktop Questions & Answers

Remote desktop, close window

I have remote access to a desktop that runs a java application. I want to terminate the application. I tried to close the application window (through the 'X') but it won;t close. I tried 'jobs' command but it does not list any jobs (?). Is there anyway to list the current jobs and terminate the... (0 Replies)
Discussion started by: FelipeAd
0 Replies

5. Shell Programming and Scripting

can i send shell commands to a open window

i want to write a script that automatically fills in a form and pushes a few buttons. can i do that with bash or something similar? (1 Reply)
Discussion started by: magiling
1 Replies

6. Programming

when parent process close, how to close the child?

can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies

7. UNIX for Dummies Questions & Answers

How to kill all processes except shell window?

Hi i was referring to an article given in following website. Basic shell scripting questions | TechInterviews I was surprise to know that i can kill all running processes by using kill o. However when i tried running the command nothing happened. How would i establish this task? my machine... (5 Replies)
Discussion started by: pinga123
5 Replies

8. UNIX for Dummies Questions & Answers

How do you close and launch X Window in the Bash shell?

What is the Unix command(s) to close the X Window in the Bash shell to get me into text mode. Also need the command to relaunch it from the text mode. Thanks. (1 Reply)
Discussion started by: jacatone
1 Replies

9. Shell Programming and Scripting

can't close stdin/stdout in shell

#!/bin/sh exec 0</dev/null exec 1>/dev/null ls -l /proc/self/fd >&2 produces total 0 lr-x------ 1 tyler users 64 Feb 18 10:38 0 -> /proc/7886/fd lrwx------ 1 tyler users 64 Feb 18 10:38 1 -> /dev/pts/4 lrwx------ 1 tyler users 64 Feb 18 10:38 2 -> /dev/pts/4 I've verified the shell is... (10 Replies)
Discussion started by: Corona688
10 Replies

10. UNIX for Dummies Questions & Answers

splitting shell window

hi is it possible to split the shell window in two or more parts like split command vi? i am using putty as telnet client. (2 Replies)
Discussion started by: ilayans
2 Replies
Login or Register to Ask a Question