LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 05: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, 06: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: 361Reputation: 361Reputation: 361Reputation: 361
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


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
[SOLVED] How can I set an exit option in shell script rockie321 Linux - Newbie 9 08-05-2012 12:04 PM
[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 08:43 AM
shell script: can getopt process more than one argument per option? BrianK Programming 2 12-13-2007 06:11 PM
shell script? : usage of $! with su -c option DTParanoia Linux - General 3 04-05-2005 06:58 PM
whats best spam filtering option for linux? Moebius Linux - Software 2 06-08-2004 01:10 PM

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

All times are GMT -5. The time now is 10:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration