Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-02-2010, 01:40 AM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
I have a question about executing commands while using write...

I am running Slackware 13.0. When I am using write i.e.

write glenn
and then user glenn responds with the same command, we initiate a chat session.

My question is, how can I execute a command from the shell while in the chat session? In BSD '!command' would work. However, this obviously doesn't work.
Old 01-02-2010, 03:10 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

One easy solution is type "<Ctl-Z>", enter whatever shell commands you want, then type "fg" to return to your "write" session.
Old 01-02-2010, 07:51 AM   #3
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
awesome thank u


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
How commands are executing ? gsiva Linux - Server 1 07-21-2009 09:48 AM
Executing commands at a specified time Siva4Linux Linux - Wireless Networking 7 02-21-2007 06:49 AM
executing shell commands in c++ true_atlantis Programming 2 10-01-2004 05:53 PM
Executing commands in Konsole... meteotrade Linux - General 5 10-20-2003 07:34 PM
Executing commands on startup viciousfish Linux - General 5 06-28-2002 03:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

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