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 05-17-2003, 04:44 PM   #16
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66

Quote:
Originally posted by Socka
thank you , i have learned a lot from you.
another question
it is useful to copy the output of the console
and it is easy to do it in the X environment
is there ways to copy the output of the console before use "startx"?
You should see this on the console screen - if it goes of the top of the screen - try paging up using:
Shift+PgUp

To go down:
Shift+PgDown

To stop the prompts when you remove a directory use -f ie to remove a directory recursively and without prompts:
rm -rf directory

OldBob you may be interested to know that when using su you do not actually login as root - instead you merely inherit the permissions of root. To login as root using su you need to use:
su -

This creates a new login shell for the user environment. You can also su to a user other than root by doing:
su - bob
 
Old 05-17-2003, 05:22 PM   #17
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Rep: Reputation: 30
Socka,

You well might be ahead of me, so I can't offer much advice.

But, here is the link [to another Linux forum] that I promised.

it has "commands" plus a lot more !

http://www.justlinux.com/nhf/
 
Old 05-17-2003, 06:10 PM   #18
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
This is one of the best books for begginers that I have found. Good info on the basics, and finding your way around the command line:

http://www.tldp.org/LDP/intro-linux/html/index.html
 
Old 05-17-2003, 06:41 PM   #19
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
If you need a hot key similar to ctrl+alt+del, try ctrl+alt+backspace; it stops the X server.
 
Old 05-17-2003, 08:08 PM   #20
Jane Delawney
Member
 
Registered: Dec 2002
Location: UK
Distribution: Mandy 9.1, Knoppix :)
Posts: 146

Rep: Reputation: 15
To remove all the files within a directory you have to use the -r flag (r for recursive) will remove directory and all its contents. If you don't want to be asked to confirm every removal you can also use the -f flag (f for force).

as in: $ rm -rf <directory>

Be careful, be very very careful, with this command, especially if you are root. In fact unless you're very awake, very sober, and know exactly what you are doing, it's probably best not to run this command as root at all. There's a reason for david's .sig warning. Immediately after the / , with no space, you enter the directory name (as eg. rm -rf /myfiles) if you make a typo and put a space in (rm -rf / myfiles) the system will read the / *only* and operate on that....and in *nix / indicates the root directory.

So if you did enter the command david has in his .sig as root, you'd remove every file in your root directory, and all files and directories dependent on it (ie. every file on your root filesystem) without being asked to confirm anything.

As you may appreciate this could suck a little bit Linux has no 'undo' function. Read man rm or info rm for further details and flags.

My most used commands are much as OldBob's; far and away the most used being pwd, because I'm always getting lost

cheers

jd
 
  


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
too much advice- need more. howlleo Linux - Software 11 11-17-2005 08:48 PM
What To Do...Need Advice ryld Linux - Certification 9 10-28-2005 03:29 AM
Need advice onemind Linux - Newbie 2 07-20-2005 06:39 AM
I need advice alrave Linux - Software 4 07-04-2005 07:17 PM
Need Some Advice... KungFuHamster General 9 10-27-2003 06:35 PM


All times are GMT -5. The time now is 04:06 PM.

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