PDA

View Full Version : [ubuntu] Running command line commands Ubuntu Server



enenalan
June 5th, 2011, 12:24 AM
Well, I just did my first Ubuntu Server install. Everything went swimmingly, but, um..... How do you actually execute list and change directory commands? X-(

Thanks!!!!!!!

papibe
June 5th, 2011, 12:35 AM
There's lots of tutorials around, just google "bash tutorial" or "bash beginners". Anyway, here's a very useful ebook you can download: The Linux Command Line (http://linuxcommand.org/tlcl.php).

Regards.

AlphaLexman
June 5th, 2011, 12:39 AM
To list files use:
ls
See 'man ls'

To change directories, use
cd dirname/
See 'man bash'

enenalan
June 5th, 2011, 12:46 AM
The problem is that I'm popping in ls, cd, etc. but it's not returning anything...... I'm halfway decent at bash - used it in the desktop edition for a couple of years - but in Ubuntu Server edition, I log in as myself, can run things like apt-get, but I can't seem to do basic file manipulation, copy, directory lists, or anything like that.......

wojox
June 5th, 2011, 12:50 AM
There might not be anything in your /home directory that's visible. Try:


ls -al

File & Directory Commands (https://help.ubuntu.com/community/UsingTheTerminal#File%20&%20Directory%20Commands)

enenalan
June 5th, 2011, 01:04 AM
Thanks wojox, that did it..... And my last bothersome newbie post of the night - so if I can't see any file structure, how exactly do I access the rest of my file system? E.g. like get into the etc directory?

enenalan
June 5th, 2011, 01:39 AM
Never mind. Figured it out. I don't know what the heck I was doing earlier...... :-/