1st time user needs help with terminal

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

1st time user needs help with terminal

Postby vsixs on Sun Feb 24, 2013 9:31 pm

hello all..
appologies if im in the wrong part of the forum.. ive already posted in another part of the forum but not the right place i dont think..soz.
ex windows user and new mint 14 convert trying to understand the terminal and its usage..very unnerving for a first time user..basically im trying to copy an image of the file hakiu-anyboot.image from my desktop to a usb flash drive..(not sure if its supposed to be dev/sdc or dev/sdc1)
i found this script on the mint forums somewhere i think, looked so many places i cant remember..brain burn. :oops:
dd if=path/to/haiku-anyboot.image of=/dev/sd[x] bs=1M
i then modified it as to what i think is the right path, though probually isnt..actually theres no doubt its wrong..
dd if= home/paul/desktop/haiku-anyboot.image/to/haiku-anyboot.image of=/dev/sdc bs=1M
and i get
dd: unrecognised operand error message and it advises to see dd help which i tried but couldnt make heads or tails of it..
if anyone could please put a first time user out of his misery i would appreciaate it.
it probualy seems like such a simple thing to other users..
tried getting me feet wet but forgot me wellies.. :D
thanks
paul
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Linux Mint is funded by ads and donations.
 

Re: 1st time user needs help with terminal

Postby passerby on Sun Feb 24, 2013 9:38 pm

vsixs wrote:dd if= home/paul/desktop/haiku-anyboot.image/to/haiku-anyboot.image of=/dev/sdc bs=1M

Remove the space between "if" and "home".
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots
User avatar
passerby
Level 6
Level 6
 
Posts: 1375
Joined: Sun Dec 16, 2012 7:29 pm

Re: 1st time user needs help with terminal

Postby vsixs on Sun Feb 24, 2013 9:53 pm

hi passerby
thanks for the quick response..just tried removing the space and get an error message-no such file or directory..but there must be because i managed to burn a copy using kb3, so the file must exsist there?
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Re: 1st time user needs help with terminal

Postby wayne128 on Sun Feb 24, 2013 9:57 pm

if your file haiku-anyboot.image is in the directory /home/paul/desktop
then the full path is /home/paul/desktop/haiku-anyboot.image



so, you need to change this:
dd if= home/paul/desktop/haiku-anyboot.image/to/haiku-anyboot.image of=/dev/sdc bs=1M



to this
Code: Select all
dd if= /home/paul/desktop/haiku-anyboot.image of=/dev/sdc bs=1M


actually the / is important

a word of caution, usually the directory Desktop is with capital letter D, check carefully, if that is Capital D, you will need to use this

Code: Select all
dd if=/home/paul/Desktop/haiku-anyboot.image of=/dev/sdc bs=1M


sometime, it is faster to just cd to the correct directory, saving all sorts of typing error on 'full path'.. especially when the directory name had space, something like Land of Happiness, in which case, in linux, you type Land\ of\ Happiness, and it is somewhat troublesome to use back slash with a space for 'space' and prone to typo error..

then, do this when you start, usually you start on /home/paul because you login there
Code: Select all
cd Desktop
dd if=haiku-anyboot.image of=/dev/sdc bs=1M


or simply
Code: Select all
dd if=haiku-anyboot.image of=/dev/sdc
wayne128
Level 10
Level 10
 
Posts: 3325
Joined: Tue Jul 13, 2010 12:15 am

Re: 1st time user needs help with terminal

Postby vsixs on Sun Feb 24, 2013 10:13 pm

thanks wayne for your reply..
i tried using cd desktop and got there then dd if=haiku-anyboot.image of=/dev/sdc but got
dd: opening `/dev/sdc': Permission denied
i remember trying to use dos when a wee nipper, didnt learn much of that and thought id have a twiddle again but still no easier...yet..
i have also got the file in downloads folder, would that be conflicting somehow?..ive never used the terminal before so forgive my daft questions
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Re: 1st time user needs help with terminal

Postby wayne128 on Sun Feb 24, 2013 10:25 pm

vsixs wrote:thanks wayne for your reply..
i tried using cd desktop and got there then dd if=haiku-anyboot.image of=/dev/sdc but got
dd: opening `/dev/sdc': Permission denied
i remember trying to use dos when a wee nipper, didnt learn much of that and thought id have a twiddle again but still no easier...yet..
i have also got the file in downloads folder, would that be conflicting somehow?..ive never used the terminal before so forgive my daft questions



may be you are not 'root'?

then try it with sudo infront of your command and key in password when asked.
Code: Select all
sudo dd if=haiku-anyboot.image of=/dev/sdc
wayne128
Level 10
Level 10
 
Posts: 3325
Joined: Tue Jul 13, 2010 12:15 am

Re: 1st time user needs help with terminal

Postby vsixs on Sun Feb 24, 2013 10:55 pm

thankyou wayne
wasnt sudo afterall..i thought that the ~$ meant you were sudo..wrong again..well it appears to be coying something to the usb tried it on difeerent drives one sdc and sdc1..1st didnt appear to have anything on it but terminal said 728mb copied..its a boot disk for a o/s called haiku..saw it and thought id see what its like, its not linux based so haiku people say..prob more complicated than linux..well im off to see if these boot up but will be sticking with mint.. thankyou very much for taking the time to help..i appreciate it..i owe you a big cuppa..
thanks
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Re: 1st time user needs help with terminal

Postby vsixs on Sun Feb 24, 2013 11:33 pm

thanks again for your help..hakiu copied to usb and booted up..hakiu not like windoze or linux quite a bit different..still in development..too much for me..just ordered a free linux help guide so hopefully ill learna bit more.. :roll:
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Re: 1st time user needs help with terminal

Postby xenopeek on Mon Feb 25, 2013 11:05 am

Introduction to the Command Line is a friendly and useful introduction to, erm, the command line :wink: Read it here, or download, or purchase as book: http://en.flossmanuals.net/command-line/
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15450
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: 1st time user needs help with terminal

Postby EmpireITtech on Mon Feb 25, 2013 11:26 am

I read over this when I first came to Mint, it was pretty good.
http://community.linuxmint.com/tutorial/view/100

Also helped me see the benefit to using Mint's awesome Community site for ideas/help/tutorials. Love the support I've gathered there. :D
Linux: Mint 17.1 Rebecca Cinnamon 64-Bit

Box 1: Intel Core 2 Quad | 8gb RAM | 500gb WD 7200rpm | nVidia Geforce GTS250
Box 2: Intel Core i3-3240 | 4gb RAM | 1tb WD 7200rpm | AMD/ATI Radeon HD 4550

Pants: 32x30
User avatar
EmpireITtech
Level 4
Level 4
 
Posts: 347
Joined: Fri Oct 12, 2012 8:45 am

Re: 1st time user needs help with terminal

Postby FireSoul on Mon Feb 25, 2013 3:16 pm

Hello.
I think it's not good idea if 1st time user go to terminal,new linux mint is so easy use other way.
As using terminal,can get bad errors if don't know how use.Like commands what overwrite files,drivers,maybe your operating systems. :D

Look what EmpireITtech wrote and show with link. http://community.linuxmint.com/tutorial/view/100

You can delete files in place it is,load files from packages and if installed DVD-version many things ready.
Drivers,codecs and useful programs.
User avatar
FireSoul
Level 3
Level 3
 
Posts: 130
Joined: Mon Jan 28, 2013 5:15 am

Re: 1st time user needs help with terminal

Postby vsixs on Mon Feb 25, 2013 7:31 pm

thanks again fopr everyones help and comments..i think ill read up and learna bit more about using the terminal before idabble to deeply, dont wanna mess up my system..been lucky so far me thinks..this is the 2nd install of mint as the first one somehow i destroyed my broadband connection, but luckily didnt lose any info etc..its good to know theres help out there from far more experienced users and it is appreciated for the time you give to help newbies..
paul
vsixs
Level 1
Level 1
 
Posts: 7
Joined: Sat Feb 23, 2013 7:15 am

Re: 1st time user needs help with terminal

Postby EmpireITtech on Tue Feb 26, 2013 11:34 am

That's the best thing about Linux Mint imo, the instant support and active community is 2nd (maybe) only to Ubuntu....but the good thing is, almost all help the Ubuntu support gives you works in Mint bc they are so similar :mrgreen:
Linux: Mint 17.1 Rebecca Cinnamon 64-Bit

Box 1: Intel Core 2 Quad | 8gb RAM | 500gb WD 7200rpm | nVidia Geforce GTS250
Box 2: Intel Core i3-3240 | 4gb RAM | 1tb WD 7200rpm | AMD/ATI Radeon HD 4550

Pants: 32x30
User avatar
EmpireITtech
Level 4
Level 4
 
Posts: 347
Joined: Fri Oct 12, 2012 8:45 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, MichaelJohn and 28 guests