How to extract x.log

Installation issues, feature requests, help, etc.

Moderators: Curtis8, A_Null

um08
Posts: 31
Joined: Tue Dec 30, 2008 2:00 pm

How to extract x.log

Postby um08 » Tue Nov 10, 2009 12:20 am

Hi

This may be a stupid question

How do you copy the from x.log and save it to a usb ?

I have spent hours looking on the forum.

Thanks

um08
Posts: 31
Joined: Tue Dec 30, 2008 2:00 pm

Re: How to extract x.log

Postby um08 » Tue Nov 10, 2009 11:44 am

Anyone ?

um08
Posts: 31
Joined: Tue Dec 30, 2008 2:00 pm

Re: How to extract x.log

Postby um08 » Tue Nov 10, 2009 12:28 pm

Sorted i used following command :

cp -f /tmp/x.log /mnt/smbfs &"

this copied it to the network network share


Could we make this post a sticky ?

User avatar
donmacp
Posts: 2
Joined: Wed Jan 13, 2010 5:18 pm

Re: How to extract x.log

Postby donmacp » Wed Jan 13, 2010 5:21 pm

um08 wrote:Sorted i used following command :

cp -f /tmp/x.log /mnt/smbfs &"

this copied it to the network network share


Could we make this post a sticky ?


Hi um08,

Thanks for sharing this information. I didn't knew that also but it is great to know you find it out for yourself too. well done! :D

User avatar
A_Null
Posts: 162
Joined: Fri Jan 12, 2007 4:35 pm
Location: Central Florida

Re: How to extract x.log

Postby A_Null » Thu Jan 14, 2010 12:59 am

When you append an ampersand (&) to a command in Linux, it runs in the background. This isn't a big deal, but if you want to run the command in the foreground and see when it is done, leave off the ampersand.

cp -f /tmp/x.log /mnt/smbfs


Normally, the -f (force) option shouldn't be needed either, so again, if you want to shorten the amount one has to type,

cp /tmp/x.log /mnt/smbfs
Image


Return to “PING / General Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest