LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 04-09-2004, 02:43 PM   #1
jesus_edu
LQ Newbie
 
Registered: Mar 2004
Location: Darmstadt, Germany
Distribution: Suse 9.0
Posts: 29

Rep: Reputation: 15
% and & meanings


hello,
i have 2 questions .. i've seen that for bringing a program to the foreground, one should write simply fg 1 (1 is the number of the job) ... but for sending a job to the background, one should write fg %1 .. why ? what does % means here?

my second questions, is what does & mean, when you write: 1>&2 (I'm trying that the stdout and sterr go to the same place) ...
when i want the stdout to go to a file, a simply write 1> file , the same with the stderr, so what does it mean the & here? (1>%2) ?

thanks,
Eduardo Lidanski
 
Old 04-09-2004, 02:46 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


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
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Directories and Meanings virtualme Linux - Newbie 1 03-24-2005 06:36 PM
ksysguard cpu meanings Hexane Linux - Newbie 1 01-20-2005 02:14 AM
% and & meanings jesus_edu Linux - Newbie 9 04-13-2004 02:27 AM
RPMTAG_REQUIREFLAGS meanings? eantoranz Programming 0 01-26-2004 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:12 PM.

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
Open Source Consulting | Domain Registration