Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys. I just did a man shutdown on a new CentOS 6.3 box, and realized there is no -F option for the shutdown command. I haven't loaded a new RHEL server in a while, but the last one I did, its shutdown command still had a -F option.
Aren't they supposed to be the same for the most part, so why would there not be a -F?
But I really am curious as to why it would not be there. Like is there a good reason, as in -F is "old school" and shouldn't be used anymore, isn't really standard to begin with, or something else perhaps.
If you really are curious then IMHO there's no better place to start than 'rpm -q --changelog $(rpm -qf /sbin/shutdown --qf="%{name}\n") | less' or the .src.rpm wrt patches against the tarball or 'rlog' the upstream source.
'rpm -qf /sbin/shutdown' shows you the name of the package /sbin/shutdown is part of. That package was built from a source RPM (which has a ".src.rpm" extension). If you load the source repo in Yum you should be able to 'yum --downloadonly' the .src.rpm and explode it with 'rpm2cpio' to check its contents (tarball, .spec file, patches). From reading the tarball README or spending 3 seconds with your favorite search engine you should be able to locate the upstream source, the way it announces changes (web page, mailing list, source repo, whatever else) and the source itself (http, cvs, svn, git, hg, whatever else).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.