LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-14-2008, 01:03 PM   #1
cantstopnoise
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
Unhappy Mandriva help


I am new to Linux so sorry if some terminology isn't correct

Okay so i used to have a webserver running SuSE 9.2 enterprise i got it free form a buddy but my harddrive died and now i installed the distrobution called Mandriva and i can't figure our how to get into a different directory
In SuSE you just type ls -a to view everything in the directory you're in which works in Mandriva but when you try to use cd / to et into a directory it tells you there's no such directory even though i can see it clear as day with ls -a. does anyone use Linux or Mandriva and know how to do this, i really need to get to my ssh config file.




Also, does anyone know if there is a way to allow root logins to the graphical interface on mandriva
 
Old 01-14-2008, 01:15 PM   #2
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
If, for example, this is the output:
Code:
# ls -a
.                                     downloads        .gtk-bookmarks     movies               .tomboy
..                                    dwhelper         .gtkrc-1.2-gnome2  .mozilla             .tomboy.log
academics                             e-books          .ICEauthority      .mplayer             .transmission
.adobe                                .esd_auth        .icons             music                .Trash
applications                          .fontconfig      .kde               .nautilus            .viminfo
.bash_history                         .gconf           .lesshst           .openoffice.org2.0   .vlc
.bash_logout                          .gconfd          .local             projects             wallpapers
.bash_profile                         .gimp-2.4        .macromedia        .pulse-cookie        .wapi
.bashrc                               .gnome           matlab             .purple              .xine
coding                                .gnome2          .matlab            .qt                  .xsession-errors
.config                               .gnome2_private  .mcop              .recently-used.xbel  .zshrc
.DCOPserver_localhost.localdomain__0  .gnupg           .mcoprc            screenshots
.DCOPserver_localhost.localdomain_:0  .gpg-agent-info  .metacity          .themes
.dmrc                                 .gstreamer-0.10  .mine              .thumbnails
you can only use 'cd dwhelper' but not 'cd /dwhelper'
 
Old 01-14-2008, 01:24 PM   #3
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by cantstopnoise View Post
does anyone use Linux or Mandriva
Oh man, very wrong question! As far as the root login, you can login as root by first logging in as root in text mode and then using the command startx OR startkde, whichever is appropriate.
 
Old 01-14-2008, 02:09 PM   #4
cantstopnoise
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
okay I figured it out now this is probably another silly question. I used to use joe to edit config files in command line. What can i use in Mandriva?
 
Old 01-14-2008, 11:52 PM   #5
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Vim editor!
 
Old 01-15-2008, 12:37 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by cantstopnoise View Post
okay I figured it out now this is probably another silly question. I used to use joe to edit config files in command line. What can i use in Mandriva?
The same applications that you used on SUSE should work on Mandriva. Joe is available in the Mandriva software repositories, so you can use rpmdrake (the gui package manager) to install it or login to a terminal as root and enter
Code:
urpmi joe
 
Old 01-15-2008, 08:40 PM   #7
cantstopnoise
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by deepumnit View Post
Vim editor!
How do you save in vim ?
 
Old 01-15-2008, 09:04 PM   #8
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
After editing, press Escape key and ':', then:
  1. 'w' to save
  2. 'wq' to save and quit

Press Enter
 
  


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
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
Cingular 3G - Sierra Wireless 860 - Mandriva 2007.1 - How To Configure 3G on Mandriva wpennington Mandriva 0 04-27-2007 06:41 PM
LXer: Mandriva releases Mandriva Linux 2007 Spring LXer Syndicated Linux News 0 04-18-2007 11:16 PM
Mandriva 2006 - Greeting mail message from mandriva can't be removed JBailey742 Linux - Software 1 03-27-2006 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 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
Open Source Consulting | Domain Registration