You are not logged in.
Pages: 1
guys I have a problem - I would like to copy a log file on a, lets say, pendrive or other external hdd but:
a) how do I check the letter assigned to this drive?
b) "cp" command is enough?
or what should I do
and if I give for example the ifconfig -a or iwconfig command in the terminal (no X) - I would like to copy the content to a txt file - but how?
I know it's lame topic for you but I want to learn from you.
I'm asking nice - please help me somebody else I will slash my wrists with archlinux dvd;)
Last edited by bierni (2010-06-05 18:42:06)
Offline
how do I check the letter assigned to this drive?
use dmesg after pluging the drive in & look for something like this ..
sdX: sdX1
(X depends on no. of hdds you have but most probably "b")
"cp" command is enough?
yep..
and if I give for example the ifconfig -a or iwconfig command in the terminal (no X) - I would like to copy the content to a txt file - but how?
ifconfig -a > filename
(>> if you want to append)
hope that helps...
P.S. dont die on our community.
Last edited by vik_k (2010-06-04 22:36:10)
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
I did fdisk -l and it says that it is sdb
I did as a root:
[1] nano /dev/sdb/myfilename.txt
[2] ifconfig -a cat >> myfilename.txt
and it says [error] - it is not a catalog...
Offline
It seems we need "Extreme Newbie Corner".. or even "Shouldn't really be using Arch Corner".....
[1]After identifying the device, you have to mount it - only then can you create files on it.
[2]vik_k already gave you the right command - why would you make up the wrong one??
Offline
tomk give me some slack - I have been using arch on my desktop (eth) without any problems.
problems started since I've got a laptop and wanted to connect it through wlan.
it is bad that I want to learn new things with arch? I mean you were also a newbie once upon time, right?
nevermind - it works like a charm after mounting.
Last edited by bierni (2010-06-05 13:48:07)
Offline
OK, here's some slack - read man mount.
If someone takes the time to answer a question for you, do you honestly believe the right response from you is to ignore their answer and make up a completely wrong answer of your own?
If you want automounting, you need to configure it - there are various methods, all covered in the wiki.
You will also find information about wireless setup there.
Finally, should have said this before - please read what you have written before hitting enter. You may find off-colour remarks about attempting suicide amusing, but many others do not.
Offline
I didn't want to hurt someone's feelings - if I did - sorry.
and second big thanks to vik_k for his advice I really appreciate it - it works perfect for me after mounting
I'm going to see the whole ArchWiki.
thanks for help guys.
Offline
big thanks to vik_k for his advice I really appreciate it - it works perfect for me after mounting
I'm going to see the whole ArchWiki.
It'll be appreciated as it is quite a mandatory step for new users.
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Pages: 1