On Apr 7, 2013 9:57 AM, "Richard Vickery" <richard.vickeryrv@xxxxxxxxx> wrote:
>
>
> On Apr 7, 2013 7:12 AM, "Junk" <junk@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> >
> >
> >
> >
> > On 7 Apr 2013, at 01:22, Joe Zeff <joe@xxxxxxx> wrote:
> >
> > > On 04/06/2013 03:47 PM, Richard Vickery wrote:
> > >> I have little understanding of what I am looking for. Is there some way
> > >> to call systemctl, get the same information, and paste this information
> > >> here in an email for someone to look at? and perhaps let me know what to
> > >> look for?
> > >
> > > If you're logged in as root, you can redirect the output to a file, like this:
> > >
> > > systemctl status foo.service > foo.txt
> > >
> > > which would put it into /root/foo.txt. Then, you can copy the contents of the file into your message after you've rebooted correctly.
> > > --
> > At the risk of being pedantic, that command will put a text file in the current working directory. Which could be anywhere if you've done a cd
> >
> > > systemctl status foo.service > ~/foo.txt
> >
> > Will always put it into the home directory. (/root for the root user)
> >
> > Junk.
> > --
>
> I believe I have used Linux long enough to be aware of what tilda, the ~, represents.
Doesn't this tilda put the command in the file in which one is working? When the system boots up in [dracut], how is a political scientist / aspiring lawyer who users Linux and does this contribution on his sabbaticals supposed to know where dracut's home is mapped on the filling system? It's far easier for me to find the file in root, or end the command with "...service > /home/(user)/foo.txt
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org