LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 02-16-2016, 09:51 PM   #1
kumarat9pm
LQ Newbie
 
Registered: Dec 2006
Location: Hyderabad, India
Distribution: Redhat/Ubuntu
Posts: 4

Rep: Reputation: 0
How to simulate yes/No in Linux scripts/commands


In some situations when executing a command or a Linux shell script we may require some manual intervention. The yes command is simple built-in command which will help you remove this manual intervention stuff in your scripts. The yes command is a cousin of echo command both print what we given. Only difference is echo will print only once, but yes will print until we intervene. Below are some examples which will come handy when simulating yes/no in scripts/commands read more
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating AIX Unix commands/scripts to Redhat Linux connect2linux Linux - Newbie 4 08-28-2014 10:40 AM
Using shell scripts to simulate commands loOolita Programming 2 11-26-2010 03:43 AM
how to write a shell script to simulate the built-in linux commands? linuxFreshMan Linux - General 3 11-09-2010 07:22 AM
Using commands in scripts Karas Linux - Newbie 6 11-23-2009 10:27 PM
Linux commands in shell scripts james_cwy Linux - Newbie 4 11-10-2003 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 01:54 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