Enter custom title (optional)
This topic is locked
Last reply was
602
10

<blockquote>Quote
<hr> navigating through directories is puzzling me right now<hr></blockquote>

Are you navigating with the GUI or with the terminal?

If using the GUI, hit ctrl-l (lowercase L for "location") and type in the file path.

The symbol for your home directory (like "My Documents") is ~/

A slash (/) is the symbol for a directory (this is also true in URLs on the Internet, which is based on Unix).

In the terminal you can change directories with these commands:

Move to the home directory:
cd ~/

Move up one directory:
cd ../

You can use the TAB key for completion... so to move from the home directory to a subdirectory called music, just type:
cd mu (and then hit the TAB key... if there is more than one directory that starts with "mu", hit TAB twice and the terminal will list them)

If you are learning the terminal, check out the Unix Mages book that I liked to above. It explains the terminal in a creative way.

<blockquote>Quote
<hr>LAN: "ip addr show" is similar to ipconfig<hr></blockquote>

Also try ifconfig -- that is the equivelent to ipconfig. Or iwconfig for wireless interfaces. Documentation is built into Linux, so just open a terminal and type man and then the command you want information on like this:
man ifconfig

Use "q" to exit the man pages. Vim commands can also be used in the man pages, but that is a whole other story... At the bottom of each man page are references to other similar man pages like iwlist, etc...

Report
11

thanks! i knew about man - the problem was, i had no idea what the ip related commands were called. i tried man by itself, on the offchance it would list all it knew, but sadly that didn't do that ;) couldn't find a list of them in the on disc documentation anywhere obvious either, so had to reboot back out to google some more info. didn't know about q though, thanks for that - i suspect i'd have got there eventually, but knowing in advance is handy. i made the mistake of using an old version of vi once, talk about being trapped... shudder

are there any good flowchart diagnostic type webpages for networking under ubuntu? i feel i'm scattergunning at the moment...

Report
12

boatcrew. If I can master those navigation commands then there may be another convert here. Thanks.

Report
13

Lan, you can use man -k to search for man pages that contain a certain topic. For example, to find man pages about networking type:
man -k network

For more about man, type the following in a terminal:
man man

I set Ubuntu to open a terminal with the keyboard shortcut Ctrl-Alt-Shift-t. That can be set in System > Preferences > Keyboard Shortcuts. It makes things a lot faster. I also have other custom shortcuts like Ctrl-Alt-Shift-h to open my home directory (equivelent to "My Documents").

The great thing about the terminal is that you can pipe commands together and script in the shell. For example, to find all man pages about networking, save them to a file called commands.txt and view them in a text editor in one shot, just type:
man -k network >commands.txt; gedit commands.txt

Did you try shutting down the network interfaces and then restarting them? That usually works for me. Also, on the DNS tab, delete everything in the "Search Domains" box and try again. One other common problem is interference from a firewall, but unless you installed a firewall it shouldn't be there...

Report
14

<blockquote>Quote
<hr> made the mistake of using an old version of vi once, talk about being trapped... shudder<hr></blockquote>

Just saw your comment about vi... It's a real pain to learn vi/vim. I struggled with it for months before I figured it out, but now I can't use any other text editor. If you write any kind of code, definitely check out Gvim. It is like being able to talk to your computer...

I recommend playing a computer game called nethack to get a feel for the vim keyboard movements. To install nethack, just open a terminal and type:
sudo apt-get install nethack-gnome

Then to start the game type:
nethack-gnome

or for the terminal version just type:
nethack

:)

Report
15

FYI. Check out WINE if you wanna run Photoshop CS or other versions, looks like a few people have it running ok. See here. WINE will also run a load of other Windows applications under Linux, check out the database for a full list.

Cheers

Report
16

I tried Ubuntu not long ago and was amazed how much easier Linux is now than a few years ago. Installation was a breeze, all my hardware worked right away, internet and lan connected automatically. Infact it had less problem connecting to my other XP machine than it did under XP itself.
There are still quite a few annoyances though, there are things that should be much easier and I can't really understand why they are not... like I downloaded a program, installed it no problem with the package installer, but then it doesn't make a shortcut or add it to any menu.

Another one was trying to get Java to work, after hours of messing around with it I managed to install it via the terminal (following a how to guide) then I run Firefox and Java doesn't work still. Very annoying.

These are pretty small problems but they take so much time to resolve so for now I have decided to stick with XP.

Report
17

<blockquote>Quote
<hr>I downloaded a program, installed it no problem with the package installer, but then it doesn't make a shortcut or add it to any menu. <hr></blockquote>

To add a program, first figure out what the command is. You can do that by pressing Alt-F2 and typing in the name of the program. It will auto-complete and should give you the name of the program.

Then right-click on the task bar at the top of the screen. Choose "Add to Panel". Then "Custom Application Launcher". Enter a name for it. Type the command you used into the "Command" box. Choose an icon. The launcher will then be on your panel (top of screen).

<blockquote>Quote
<hr>Another one was trying to get Java to work, after hours of messing around with it I managed to install it via the terminal (following a how to guide) then I run Firefox and Java doesn't work still.<hr></blockquote>

To get the Java plugin for Firefox, make sure you have the Multiverse repository enabled. There is a tutorial for that here.

Then try this:
Ubuntu Forums - how to install Java plugin

Report
18

Lan you could have a look at the following (maybe paste the output here?)

open a terminal

sudo su - (so you are root)

ifconfig -a

hobbes:~# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:FC:EF:ED:0C
inet addr:212.203.xxx.xxx Bcast:212.203.xxx.xxx Mask:255.255.255.248
inet6 addr: fe80::250:fcff:feef:ed0c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:188806566 errors:0 dropped:19 overruns:0 frame:0
TX packets:195284077 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2320233131 (2.1 GiB) TX bytes:3155301654 (2.9 GiB)
Interrupt:3 Base address:0xd800

and probably some more interfaces. Make sure it states "UP" somewhere in there. If UP isn't in there do the following:
hobbes:~# ifup <interface name> probably eth0

hobbes:~# arp -a

too see if the interface sees its gateway (router)

hobbes:~# route -e is also handy to see where the packets are sent to.

One more thing that could break stuff is a firewall. Try iptables -L too see if there are any iptables rules.

Report
19

thanks sachar - we'll see if any of that does the trick!

Report
Pro tip
Lonely Planet
trusted partner