LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2017, 04:00 AM   #1
priyojitbanerjee
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
whats is the use of -immediate option in Linux shell script


[[ -x /abc/ecm/bin/update ]] && /abc/ecm/bin/update -immediate
 
Old 04-03-2017, 05:19 AM   #2
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Hi! Welcome to LQ!
More info on 'ecm' and it's 'update' program, and which 'distro'/OS you are running would help.

The -immediate is probably an option/'switch' to whatever the update program is. Try:

file /abc/ecm/bin/update
ls -l /abc/ecm/bin/update

Maybe query your package manager, to find out more about that 'update' program, like:
rpm -qf /abc/ecm/bin/update -OR- dpkg -S /abc/ecm/bin/update -OR- ...
(if 'update' is part of a pkg)

Here's info on option/'switch' (I mentioned above)
(the [[ -x /file ]] && cmd... checks that the file is executable, and, if so, runs cmd)

Let us know!
 
1 members found this post helpful.
  


Reply



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
[SOLVED] How can I set an exit option in shell script rockie321 Linux - Newbie 9 08-05-2012 11:04 AM
[SOLVED] Whats the best and most secure method to create/update a MYSQL DB in a shell script Techno Guy Programming 3 11-08-2010 07:43 AM
shell script: can getopt process more than one argument per option? BrianK Programming 2 12-13-2007 05:11 PM
shell script? : usage of $! with su -c option DTParanoia Linux - General 3 04-05-2005 05:58 PM
whats best spam filtering option for linux? Moebius Linux - Software 2 06-08-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 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
Open Source Consulting | Domain Registration