Reply to topic  [ 6 posts ] 
Ubuntu commands 
Author Message
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:46 pm
Posts: 10022
Reply with quote
I managed to install OpenOffice onto ubuntu 12 machine. The problem is that it hasn't itegrated into the shell. Apparently I need to do this from the DEBS folder of the installation. No idea how to find it. I found that openoffice seemed to be installed in the opt directory but no idea how to access this from the command line.

On a windows machine, it would be cd\opt because opt would be c:\opt. Can't do this in linux.

_________________
Image
He fights for the users.


Fri Aug 30, 2013 8:31 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Jun 18, 2009 5:10 pm
Posts: 5836
Reply with quote
Try
Code:
cd /opt


Blame MS for this one. ;)

Unfortunately, someone at Microsoft made the slashes in DOS the wrong way round, Windows inherited it and they've never corrected it. Consequently, generations of innocent Windows users are trained to think that local paths should be one way round and network paths the other. They shouldn't - they both do the same thing and should use the same character.

If you combine that with MS's spastic insistence on retaining drive letters, chaos ensues.

Hence why, when you type a web address, you have an internal brain-clunk as you have to change from the idiotic Windows-style C:\Users\JoeBloggs\ to the rest of the world's /home/JoeBloggs/ or http://bbc.co.uk/iplayer/

Oh and remember to leave a space - the path is an argument to the cd function

Also, when using cd

Code:
cd /        - Navigate to the root directory
cd /bin     - Navigate to the Essential binaries directory
cd /opt     - Navigate to the Optional apps directory

cd /home    - Navigate to the directory where users' information is stored
cd ~        - Navigate to your home directory (equivalent to cd /home/<your username>)

cd ./       - Use to navigate to or start a path from the current directory
cd ../      - Use to navigate to or start a path from the parent directory

pwd         - Print working directory i.e. the one you're currently in


Remember you can type a partial directory name and press tab to have auto-complete finish it for you.

Also remember that accessing certain folders may require super-user permissions. In this case, don't log in as root or anything drastic, just type sudo before your command and it will ask for your super-user password

Have a look at https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard for a bit more info

_________________
Jim

Image


Sat Aug 31, 2013 7:06 am
Profile
Spends far too much time on here

Joined: Fri Apr 24, 2009 9:44 pm
Posts: 4860
Reply with quote
ubuntu uses libre office
it should be in the repro's ...

_________________
Hope this helps . . . Steve ...

Nothing known travels faster than light, except bad news ...
HP Pavilion 24" AiO. Ryzen7u. 32GB/1TB M2. Windows 11 Home ...


Sun Sep 01, 2013 10:58 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:46 pm
Posts: 10022
Reply with quote
Awesomeness. I will give it a try. Too ingrained with years of MS-DOS and Windows so definitely struggling with ubuntu.

_________________
Image
He fights for the users.


Tue Sep 10, 2013 8:31 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Another cd idiom I use relatively frequently is the following to change into Bob's home directory:

Code:
cd ~bob

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Wed Sep 11, 2013 12:58 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
And a couple more:
Code:
cd         - Go home (same as `cd ~` and `cd $HOME`
cd -       - Go back to the last folder you were in


Sun Oct 06, 2013 8:37 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.