LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Command Line Administration (https://www.linuxquestions.org/questions/linux-general-1/command-line-administration-302529/)

barleykorn 03-16-2005 07:06 PM

Command Line Administration, Grep question
 
What is the best book to learn how to completely administer a linux server from the command line interface.

question 1: How do you configure iptables from the command prompt to accept an incoming ssh connection?

question 2: How do you install a printer from the command line

barleykorn 03-16-2005 07:16 PM

naming
 
how do i give my machine a host name? I have an ip address but not a name?

barleykorn 03-17-2005 08:55 AM

grep
 
what is the grep command that i would use to find all the system-config* files on my computer? do i need to run a database configuration command before I start using grep to search the entire system efficiently?

soulstace 03-17-2005 10:11 AM

$ iptables -A INPUT -p tcp -s any -d 192.168.1.2 --destination-port 22 -m state --state NEW -j ACCEPT

$ hostname <hostname>

XavierP 03-17-2005 10:23 AM

Re: Command Line Administration, Grep question
 
Quote:

Originally posted by barleykorn
What is the best book to learn how to completely administer a linux server from the command line interface.

question 1: How do you configure iptables from the command prompt to accept an incoming ssh connection?

question 2: How do you install a printer from the command line

how do i give my machine a host name? I have an ip address but not a name?

what is the grep command that i would use to find all the system-config* files on my computer? do i need to run a database configuration command before I start using grep to search the entire system efficiently?

A good start place for command line commands would be RUTE (see my sig block), also go to www.tldp.org and there are a number of O'Reilly books available for this.

Iptables - already covered

What printer? You may need drivers, do you have CUPS installed?

FC3 should have a network configuration program - check the System menu

man grep

barleykorn 03-17-2005 11:52 AM

got printer working with cups
 
I got the printer up. Accessed the */admin from a windows box to set up the print server. I am trying to stay away from the Linux guis to get better at working from the command prompt.

barleykorn 03-17-2005 11:54 AM

how do i mount a jump drive.
 
I am trying to mount a jump drive on linux from the command prompt. Any ideas?

reddazz 03-17-2005 12:00 PM

Why not start new threads for different questions, that way your questions will get more exposure and more chances of getting answered.

jcookeman 03-18-2005 07:21 AM

Man, if you know the command then use the man pages. You can find the answer right in there almost all the time. For the mounting of a jump drive, I would plug the drive in, issue 'dmesg' command, find the device, and then 'mount'.

Probably 'man mount' will get you going in the right direction.


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