LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2013, 04:23 PM   #16
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495

Quote:
Originally Posted by LinuxorNot? View Post
Hi Habitual, I did enter that command twice and below is what comes up. However, what command will make the files show up in the Downloads folder of the C drive?

drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Videos
drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Templates
drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Public
drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Pictures
drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Music
drwxr-xr-x 2 elementary elementary 40 Dec 15 13:11 Documents
drwxr-xr-x 2 elementary elementary 60 Dec 15 22:23 Downloads
elementary@elementary:~$ ^C
elementary@elementary:~$

Hi ondoho, nope none of those work. I will keep trying though.

Thanks everyone for trying to help.
for starters there is no C:\ drive in Linux. that is a MS misnomer that has zero meaning under Linux or other real operating systems.

from the command line you would use the change directory command to move into the appropriate path you wish to find said files. like so:

Code:
[user@centos ~]$ dird
drwx------. 19 user  user       4096 Dec 19 16:21 ./
drwxr-xr-x.  7 root root      4096 Feb  2  2013 ../
drwxr-xr-x.  3 user  user       4096 May 18  2013 .cache/
drwx------.  4 user  user       4096 May 18  2013 .config/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Friday/
drwxr-xr-x.  3 user  user       4096 May 18  2013 .gnome2/
drwx------.  4 user  user       4096 Jan  7  2013 home.jms1.net/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Monday/
drwxrwxr-x.  3 user  user       4096 Feb  9  2013 notary/
drwxrwxr-x.  4 user  user       4096 Dec 12 18:02 Pi/
drwxrwxr-x.  6 user  user       4096 Sep 11 11:08 user/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Saturday/
drwx------.  2 user  user       4096 Aug 12 14:22 .ssh/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Sunday/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Thursday/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Tuesday/
drwxrwxr-x.  6 user  user       4096 Feb  7  2013 Wednesday/
lrwxrwxrwx.  1 user  user         14 Jan 29  2013 win7 -> /mnt/win7/win7
drwx------.  4 user  user       4096 Jan  5  2013 WINE/
[user@centos ~]$ cd Pi
[user@centos Pi]$ d
total 24
drwxrwxr-x.  4 user user 4096 Dec 12 18:02 ./
drwx------. 19 user user 4096 Dec 19 16:21 ../
-rw-------.  1 user user 6148 Dec 12 18:02 .DS_Store
drwx------.  2 user user 4096 Feb 15  2013 rpfr-17-xfce-r1/
drwx------.  2 user user 4096 Feb 15  2013 rpfr-17-xfce-r2/
note in my system I have created some personal aliases for shorter commands:

Code:
[user@centos Pi]$ alias
alias d='/bin/ls -laF'
alias dird='/bin/ls -laFp | grep /'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
note the two that I bolded. d is ls -laF and dird is almost the same with a slight modification to display only directories.

also of the few GUIs ive used under Linux, there is a means of sorting either by right click and sort, or by double clicking to title of the column of the field you wish to sort by, no different then under MS Window or OSx.
 
Old 12-20-2013, 03:19 PM   #17
fenario
Member
 
Registered: Apr 2013
Location: Rylstone, NSW, Australia
Distribution: Ubuntu 16.04 64bit and a few other OSs
Posts: 43

Rep: Reputation: Disabled
LinuxorNot?

You have to be inside the folder where the files where extracted to, to use the install command, but...as evo2 says it is not recommended to do it this way. There is another reason too and that is dependency hell. libreoffice also depends on other files like ure and uno and unless version 4 doesn't need them they are not included in your list.

It is better to let synaptic or apt-get work out the dependencies and it will install them. Precise repository (the site where the deb packages are stored) does not feature version 4; they are at 3.5.7.2 at the moment.

But there is hope. There is a type of repository called PPA at https://launchpad.net
They are "personal packages archives" and it so happens that there is one for libreofffice version 4.1; your luck! https://launchpad.net/~libreoffice/+...ibreoffice-4-1
To add a repository to apt sources you can directly add some lines into the sources list at /etc/apt/ In Precise these would be:
deb http://ppa.launchpad.net/libreoffice...ice-4-1/ubuntu precise main

or even easier; in a terminal type (copy/paste):
sudo add-apt-repository ppa:libreoffice/libreoffice-4-1

Now you will find it with version 4.1 in synaptic. Just double click on libreoffice and it will choose an assortment of files and their dependencies.
You can also choose some extras, like the help files (for us Aussies it is libreoffice-help-en-gb), libreoffice-l10n-en-gb, libreoffice-pdfimport and others.
You also need to install java like openjdk-7-jre for some functions to work.

Hope that works out for you.....and don't hesitate to ask whatever...a few years into linux and I still have plenty of questions too.

See you mate
 
Old 12-20-2013, 03:28 PM   #18
fenario
Member
 
Registered: Apr 2013
Location: Rylstone, NSW, Australia
Distribution: Ubuntu 16.04 64bit and a few other OSs
Posts: 43

Rep: Reputation: Disabled
lleb

For a newbie your dird command is a bit confusing. It may be a good idea to create aliases but he first needs to know basic commands. Just the cd is enough and ls to list the contents for starters.
In fact he may not even know the windows commands that you are imitating! We have to take it easy on newbies. Thanks for your understanding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort files in directories based on the files date... CharlieMike73 Programming 5 09-09-2009 11:04 PM
Sort files under a folder by created date Kunsheng Programming 3 05-11-2009 05:58 AM
find all files in current folder and all subfolders and sort all by timestamp dlnlinux Linux - Newbie 2 06-03-2008 12:29 PM
bash sort files by date in file name thedude2010 Programming 6 05-12-2006 12:07 PM
How to sort files in a directory by date in KDE? Ace_Azzameen Linux - Software 7 05-24-2004 03:49 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration