Question

Can you help me? I am taking an INTRODUCTORY unix/linux shell programming course and need to...

Can you help me?

I am taking an INTRODUCTORY unix/linux shell programming course and need to know what the following command will do. Need a SIMPLE answer please.

onsystem john1 &

0 0
Add a comment Improve this question Transcribed image text
Answer #1

onsystem john1 &

onsystem : there is no such command in linux.

I am treating this line as a dummy for elaborating concept behind it.

Here concept of job control is used. The & informs the shell to put the command in the background.

onsystem: can be any command here

john1: is parameter to that command

&: informs the shell to put the command in the background.

for example.

gedit temp.txt  this command tries to open a file named temp.txt if doesn't exists, it creates the file, but when you type this command you cannot use the same terminal for executing more commands.

gedit temp.txt &  now the ampersand puts the command execution in background. so you can use the same terminal for executing more commands.

Please write in comments if you want more information or still have some doubts.

Add a comment
Know the answer?
Add Answer to:
Can you help me? I am taking an INTRODUCTORY unix/linux shell programming course and need to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need a simple explanation of WHY the output is what it is -- Unix/Linux shell...

    I need a simple explanation of WHY the output is what it is -- Unix/Linux shell programming I am taking this introductory course in college echo * CIS132 ** echo "\\" echo $t1 variable t1=$t{1}\!\\n echo -e $t1 variable t1=$t{1}\!\\n Thanks for the explanations.

  • I need some help with the cp command in Unix/Linux. I need to copy all the...

    I need some help with the cp command in Unix/Linux. I need to copy all the files in my current directory A03 into the backup directory. How do I do this? I am taking an introductory unix/linux course so I need a basic answer. Thanks.

  • I am a college student taking an intro to linux shell programming course and need some...

    I am a college student taking an intro to linux shell programming course and need some help with this question. I need to write an until statement as indicated: Check to see if the file cis132 exists in the current directory. If it does not a message will be printed every 10 seconds indicating that file does not exist. Once the file is created the message will stop. Thanks for your help.

  • I am in need of some help with UNIX/Linux, particularly sed and awk: Please help me...

    I am in need of some help with UNIX/Linux, particularly sed and awk: Please help me Display from /etc/passwd a list of users and their shells for those using the Korn shell or Bash shell. Order the output by the absolute pathname of the shell used. Thank you.

  • Hello, I'm currently taking an introductory to Unix as a online course and I was given...

    Hello, I'm currently taking an introductory to Unix as a online course and I was given this question. "How would you compare using the find command on a Linux server with your ability to find files on either a Windows or IOS operating system?" Although this may seem like an opinion based question, my professor seems to grade really hard in my opinion. And with little knowledge of the find command I wanted to know how would someone else go...

  • I am taking an INTRODUCTORY Windows OS scripting course and could use your help in completing...

    I am taking an INTRODUCTORY Windows OS scripting course and could use your help in completing this homework assignment: I need to make sure that my batchfile directory is automatically included in the search path every time I open a command prompt window. My answer must be a step-by-step explanation (bulleted or numbered list) of the EXACT approach I took to complete this task. I must also provide an explanation of EXACTLY how I tested this to make sure it...

  • I am a college student taking an INTRODUCTORY Windows 10 operating system SCRIPTING course and need...

    I am a college student taking an INTRODUCTORY Windows 10 operating system SCRIPTING course and need some help with creating this batch script.   I need to create the below menu: Please choose a task from the list below A) Add a new user account I need to use the SET /P command to add a new user and prompt for a login name. Check if the user already exists and if so display an appropriate message and return to the...

  • I am a beginner in shell. Please help me with this question. question: In this assignment,...

    I am a beginner in shell. Please help me with this question. question: In this assignment, you will research into a few standard Unix utilities and leverage them in a shell script to perform a simple but useful task that's right up the alley of Unix shell scripting. As usual, you should aim for reasonably efficient algorithms and reasonably organized, comprehensible code. Consolidating log files My Internet chat software recording my conversations into daily log files, each named by date,...

  • Unix questions, i need help on Hint: Commands to study to answer this question: predefined shell...

    Unix questions, i need help on Hint: Commands to study to answer this question: predefined shell variables, and .profile script file, echo SHELL, HOME, PATH, MAIL and TERM are predefined shell variables. You can use the value of a shell variable in a shell command putting $ in front of it. For example, to display the value of the HOME directory of the user, specify $HOME in the echo command like echo $HOME. Do not give just the value of...

  • I am a college student taking an INTRODUCTORY Windows 10 Operating System SCRIPTING course and need...

    I am a college student taking an INTRODUCTORY Windows 10 Operating System SCRIPTING course and need some help with the batch file I am creating for a homework assisgnment.   I created the menu below and need some help with option A Please choose a task from the list below A) Add a new user account I need to use SET /P to prompt for a login name and if the user already exists display a message and return to the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT