PDA

View Full Version : How do I enter Commands in the Terminal Please HELP



alexfish
December 15th, 2009, 02:25 PM
Can any One Show Me How To Enter Commands in the Ubuntu Terminal

I am Total Novice at This

The first line is very confusing ?

it Shows alexfish-ubuntu@not-win7-or-bing-desktop:~$

Screen shot attached



Hi all

[ SOLVED] Can any One Show Me How To Enter Commands in the Ubuntu Terminal [-o<

Thanks for All the input ,Interesting Reading / and fun to

Just in TIME FOR CHRISTMAS:lolflag:

pwnst*r
December 15th, 2009, 02:27 PM
rofl.

ubername
December 15th, 2009, 02:30 PM
alexfish-ubuntu@not-win7-or-bing-desktop:~$

is called the 'prompt'. It can be changed but basically it shows your username and the machine you are on (and the ~ means you are in your home folder). The $ is the end of the prompt. You type (or paste) commands there. Note - in gnome-terminal you can use ctl-shift-v to paste things

wojox
December 15th, 2009, 02:30 PM
WTF? Terminal HowTo (https://help.ubuntu.com/community/UsingTheTerminal)

~sHyLoCk~
December 15th, 2009, 02:41 PM
yes "windows " | tr -d "\n"

alexfish
December 15th, 2009, 02:46 PM
WTF? Terminal HowTo (https://help.ubuntu.com/community/UsingTheTerminal)




To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

alexfish-ubuntu@not-win7-or-bing-desktop:~$ sudo gobbledegook blah_blah -w -t -f aWkward/ComBinationOf/mixedCase/underscores_strokes/and.dots
[sudo] password for alexfish-ubuntu:
sudo: gobbledegook: command not found
alexfish-ubuntu@not-win7-or-bing-desktop:~$

EH

Psumi
December 15th, 2009, 02:51 PM
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

alexfish-ubuntu@not-win7-or-bing-desktop:~$ sudo gobbledegook blah_blah -w -t -f aWkward/ComBinationOf/mixedCase/underscores_strokes/and.dots
[sudo] password for alexfish-ubuntu:
sudo: gobbledegook: command not found
alexfish-ubuntu@not-win7-or-bing-desktop:~$

EH

*facepalm* That was an obvious "example" and not a real command.

pwnst*r
December 15th, 2009, 03:10 PM
http://www.fishingfall.com/fishingfallimages/fishing.jpg

soni1770
December 15th, 2009, 03:38 PM
sudo ice-cream is my fav

Bölvağur
December 15th, 2009, 03:39 PM
this is utterly useless, but I guess you are just trying to feel comfortable with entering commands.. so try these.

this is pretty much just: learn by example.


whoami
sudo su <and enter your password blindly>
whoami
exit
whoami

ps -e
ps -e | more
ps -e | less
ps -e | grep gnome
ps -e | grep gnome | head -3

ls
ls -a
ls -a | grep gnome
ls -a | grep g..me
ls -a | grep g.me
ls -a | grep ^[A-Z]
ls -a | grep ^[0-9]
ls -a | grep [0-9]$
ls -R | grep png$

man ls
man ps
man grep


like I said, there is no real life gain from this... well perhaps sometimes... specially if you are automating somethings by scripts.

commands are nothing more than


name_of_a_program -flag name/of/a/file/or-other-imput

ohh ok I'll show you some useful things.



firefox www.ubuntuforums.org
firefox www.ubuntuforums.org &

wget http://imgs.xkcd.com/comics/sandwich.png
eog sandwich.png
rm sandwich.png
eog sandwich.png

well... the other stuff will change some things.

soni1770
December 15th, 2009, 03:58 PM
sudo chuck norris

only! use this if you really need to, it's the most powerfull command out:popcorn:

audiomick
December 15th, 2009, 04:20 PM
sudo apt-get install brain

is one I like.

RiceMonster
December 15th, 2009, 04:22 PM
sudo chuck norris

only! use this if you really need to, it's the most powerfull command out:popcorn:

You need to add some flags for that command to work, ie:


sudo chuck-norris --roundhouse

fromthehill
December 15th, 2009, 04:26 PM
You need to add some flags for that command to work, ie:


sudo chuck-norris --roundhouse
chuck norris doesn't need anyones permission to kick ***

Tristam Green
December 15th, 2009, 04:26 PM
how i mine 4 fish

soni1770
December 15th, 2009, 04:31 PM
chuck norris doesn't sleep... he waits

RiceMonster
December 15th, 2009, 04:34 PM
chuck norris doesn't sleep... he waits

He uses a nightlight. Not because he's afraid of the dark, but because the dark is afraid of him.

ctrlmd
December 15th, 2009, 04:35 PM
should i laugh or should i worry :-\"

alexfish
December 15th, 2009, 05:01 PM
sudo ice-cream is my fav

Sounds nice It may cool down Frustrated Win 7 Users Trying use Bing Crosby:guitar:

alexfish
December 15th, 2009, 08:21 PM
this is utterly useless, but I guess you are just trying to feel comfortable with entering commands.. so try these.

this is pretty much just: learn by example.


whoami
sudo su <and enter your password blindly>
whoami
exit
whoami

ps -e
ps -e | more
ps -e | less
ps -e | grep gnome
ps -e | grep gnome | head -3

ls
ls -a
ls -a | grep gnome
ls -a | grep g..me
ls -a | grep g.me
ls -a | grep ^[A-Z]
ls -a | grep ^[0-9]
ls -a | grep [0-9]$
ls -R | grep png$

man ls
man ps
man grep
like I said, there is no real life gain from this... well perhaps sometimes... specially if you are automating somethings by scripts.

commands are nothing more than


name_of_a_program -flag name/of/a/file/or-other-imput

ohh ok I'll show you some useful things.



firefox www.ubuntuforums.org
firefox www.ubuntuforums.org &

wget http://imgs.xkcd.com/comics/sandwich.png
eog sandwich.png
rm sandwich.png
eog sandwich.png
well... the other stuff will change some things.

Who are you // man who

alexfish
December 15th, 2009, 08:58 PM
sudo apt-get install brain

is one i like.

?

audiomick
December 17th, 2009, 12:08 AM
Didn't know that was there. It opens a terminal and does

gksu
in one go.

Be careful with that. I gives you root privileges, which means you can break your system with the wrong command.

You need root privileges for some stuff, but should be really sure about the commands you put in.

alexfish
December 17th, 2009, 12:18 AM
Didn't know that was there. It opens a terminal and does

gksuin one go.

Be careful with that. I gives you root privileges, which means you can break your system with the wrong command.

You need root privileges for some stuff, but should be really sure about the commands you put in.

Totally Agree / Ubuntu version suppressed

MaxIBoy
December 17th, 2009, 01:45 AM
Visit this website:
http://linuxcommand.org/
It's a little bit out of date (in that some things have been made easier since then,) but still a very good read.

alexfish
December 17th, 2009, 03:42 AM
Here is a good one How Do You Get A Cup Of tea Out Of Ubuntu

Instead of a Cup Of coffee : Cos Tell You What I've Never Had Full Cup Of Ubuntu Yet

But This One Works#-o

alexfish
December 17th, 2009, 04:14 AM
Forgot about this one

Want To Do A Lot READING

Clue

Do It Over tin of coffee //with the Terminal

Amazing That One Need Not Worry About The News Any More

easy Way

http://www.tin.org/

Gizenshya
December 17th, 2009, 04:26 AM
You need to add some flags for that command to work, ie:


sudo chuck-norris --roundhouse

careful, I heard that command is strikingly similar to...


sudo rm-rf /self

handy
December 17th, 2009, 05:14 AM
Here is a course for using the Terminal, when you get through with part 1, you will see at the bottom of the page that there are links to 5 more parts is most likely that you will find all & more that you need in this easy going tutorial:

http://ubuntuforums.org/showpost.php?p=398953&postcount=1

If you do become obsessed with the Terminal & need scripting knowledge then this is a good place to start:

http://tldp.org/guides.html

yester64
December 17th, 2009, 05:45 AM
Can any One Show Me How To Enter Commands in the Ubuntu Terminal

I am Total Novice at This

The first line is very confusing ?

it Shows alexfish-ubuntu@not-win7-or-bing-desktop:~$

Screen shot attached

PLEASE HELP! [-o<

Thanks Advance

alexfish

Yea, thats your prompt. Looks different from Windows, but its the same.
You would just enter commands like DF or CD.

Since you novice, i would recommend you a book i bought myself too. It explains the basic very well.
Beginning Ubuntu Linux.
I like to use it also as a paperweight. :)

Here is a good guide from the forum.
http://ubuntuforums.org/showthread.php?p=990636

Take care

alexfish
December 19th, 2009, 04:08 PM
http://www.fishingfall.com/fishingfallimages/fishing.jpg

Looks Terminal This One Cos We ain't See A post Of the fish

PS got The Chips ready

glnerd
December 20th, 2009, 12:20 AM
Lolololololol

steveneddy
December 21st, 2009, 01:43 AM
sudo apt-get install cowsay

after that installs, in terminal type


cowsay This is cool

alexfish
December 21st, 2009, 02:59 PM
sudo apt-get install cowsayafter that installs, in terminal type


cowsay This is cool

Hi All

Look Above For All The Answers

Thank you ,Thank You , I Could Kiss You All ...............:guitar::popcorn::lolflag:
Have a merry Xmas

alexfish...............................:P


This One Is For Me

Ubuntu Guide (http://ubuntuguide.org/wiki/Ubuntu:Karmic)........... :Karmic Saved a copy In " Open Office " Where it Won't get Lost