LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2016, 05:33 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,276

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


Published at LXer:

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
How to simulate yes/No in Linux scripts/commands kumarat9pm Syndicated Linux News 0 02-16-2016 09:51 PM
LXer: Using init.d Scripts to Execute Commands at Start-Up LXer Syndicated Linux News 0 01-17-2014 11:33 PM
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
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 09:06 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