02-17-2002
newbie question about hostnames
When I log into bash it will say my username @localhost I wondering how do I change localhost to another such as draco.I've the using the hostname command as root but it changes back to localhost after I reboot.I was wondering how would I hide my ISP hostname in linux.Because when I log into an IRC session it will say something like
mike@tnt1.boston.kn.mk1.com.I want to mask it as something else (i.e I.love.britney.spears.com) I seen other do it I just want to know how
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
im thinking of getting unix but i have no idea where to start I know that its an OS similar to linux but what hardware does in run on? i've heard of solaris but im not quit sure what it is
thankxs (3 Replies)
Discussion started by: ninja
3 Replies
2. UNIX for Dummies Questions & Answers
Okay, I succesfully installed Redhat Linux 7.2 on my comp. I got some Linux drivers for my network card off the manufacturers site, but said driver is just some C source code. Does anybody have any idea what I do with it? Sorry for being vague... any help is greatly appreciated. (4 Replies)
Discussion started by: flopper
4 Replies
3. Shell Programming and Scripting
Hello,
I have text file while looks this
test1
test2
test3
test4
test5
test6
and if I want to parse it and make new file which would like this
test1 test2
test3 test4
test5 test6
How can I do this in korn shell script
Thanks (9 Replies)
Discussion started by: peeyush_23
9 Replies
4. Shell Programming and Scripting
hey all, I have repeatedly seen scripts containing the following syntax,
grep "hello" $myfile >> $log 2>&1
can anyone explain exactly what "2>&1" mean? THANK YOU (4 Replies)
Discussion started by: mpang_
4 Replies
5. UNIX for Dummies Questions & Answers
What is the best way to learn UNIX on the web, with out buying books? any link would be much help.
Thank you in advance, L (1 Reply)
Discussion started by: lsoria1
1 Replies
6. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
7. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
8. UNIX for Dummies Questions & Answers
Hey. i am doing a lab work for shcool I am new to using the commands. This question is give to me. I do not no the length of file nor do i know the how many charterers they are in the question. Question below
"Assume that you are NOT currently in your home directory.
Enter a command to copy... (1 Reply)
Discussion started by: maniac173
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am sure this is very simple but I cant quite get it.
I am trying to search textfile1.txt for a string then take the results of the search and append the result to textfile3.txt
So far I have used
$ find file1.txt -exec grep "string i am looking for" '{}' \; -print
this... (2 Replies)
Discussion started by: radgator
2 Replies
10. Shell Programming and Scripting
I was looking through some code online and came accross this...
ls *.txt | grep text1 | cat file1 – file2 | `echo wc –l`
I know what "ls|grep text1" does and I know a word count gets echoed but beyond that I am confused. Please use layman terms as much as possible as I am a newbie. (8 Replies)
Discussion started by: elohssa
8 Replies
LEARN ABOUT REDHAT
alevtd
alevtd(1) General Commands Manual alevtd(1)
NAME
alevtd - webserver for videotext pages
SYNOPSIS
alevtd [ options ]
DESCRIPTION
alevtd is http daemon which serves videotext pages as HTML. Tune in some station with a utility like v4lctl or some TV application. Then
start it and point your browser to http://localhost:5654/
Pages may be requested either in HTML format (http://localhost:5654/<page>/ or http://localhost:5654/<page>/<subpage>.html) or in ASCII
text format (http://localhost:5654/<page>/<subpage>.txt). Subpage "00" can be used for pages without subpages.
OPTIONS
-h print a short help text and the default values for all options.
-v dev set vbi device (default: /dev/vbi).
-d enable debug output.
-s Write a start/stop notice and serious errors to the syslog. Specify this option twice to get a verbose log (additional log events
like dropped connections).
-t sec set network timeout to >sec< seconds.
-c n set the number of allowed parallel connections to >n<. This is a per-thread limit.
-p port
listen on port >port< for incoming connections. Default 5654.
-n hostname
set the hostname which the server should use (required for redirects).
-i ip bind to IP-address >ip<.
-l log log all requests to the logfile >log< (common log format). Using "-" as filename makes alevtd print the access log to stdout, which
is only useful together with the -F switch (see below).
-L log same as above, but additional flush every line. Useful if you want monitor the logfile with tail -f.
-u user
set uid to >user< (after binding to the tcp port). This option is allowed for root only.
-g group
set gid to >group< (after binding to the tcp port). This option is allowed for root only.
-F don't run as daemon. alevtd will not fork into background, not detach from terminal and report errors to stderr.
-r poll tv frequency, clear vtx page cache if a frequency change was detected.
SEE ALSO
alevt(1), xawtv(1), v4lctl(1)
AUTHOR
Gerd Knorr <kraxel@goldbach.in-berlin.de>
COPYRIGHT
Copyright (C) 2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
(c) 2000 Gerd Knorr alevtd(1)