1
Peekay
Linux command line problem
  • 2006/12/27 0:06

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


As a complete Linux newbie, I am trying to brush up on my command-line skills in terminal and I have hit a problem.

I have Ubuntu Linux with Gnome GUI. In Gnome, my application config files are displayed as icons with user-friendly names. For example, the config file for the CD ripper is shown as:

Sound Juicer CD Ripper

but the real filename when shown using 'ls' on that directory is:

sound-juicer.desktop

Is there a way to find out or display the 'real' filename in Gnome?

Also, I have searched but cannot find a Unix/Linux equivalent of the DOS '/p' switch to display a directory listing one page at a time?

Any help would be appreciated
A thread is for life. Not just for Christmas.

2
JMorris
Re: Linux command line problem
  • 2006/12/27 0:20

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


To display a directory listing one page at a time, type

ls -al | less

As far as listing the real file name goes, doesn't Ubuntu offer a "Properties" link when you right-click on the icon?

HTH.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
jdseymour
Re: Linux command line problem

Not sure about the gnome extension hiding, as I do not use it. But to list a directory line by line or page by page pipe (|) to less. As in:

ls | less

4
Peekay
Re: Linux command line problem
  • 2006/12/27 0:31

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Hey thx guys
Quote:
ls | more

or 'less' does the trick with the listing.

Gnome has a properties dialogue (right-click) - but for some reason the real filename is not shown.
A thread is for life. Not just for Christmas.

Login

Who's Online

232 user(s) are online (177 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits