📄 shell.html
字号:
<p>Now like they say use newuser as login. A program called newuser will start,
helping you creating an account.</p>
</blockquote>
<p><br>
<b>Step 4. (Customising Keys)</b></p>
<blockquote>
<p>After a bunch of crap, the newuser program will ask you to Customise keys.
It will be asked the delete key (^H) and the break key (^C). What is in brackets
are the default if you want you can choose any other. The ^H stands for the
delete key (the one that has the <- symbol on it), and the ^C stands for
ctrl+c. Attention don't write ^H or ^C just press the keys, and that will
be the output.</p>
</blockquote>
<p><br>
<b>Step 5. (Selecting Terminal Type)</b></p>
<blockquote>
<p>After you customise the keys you'll be asked to enter your terminal type,
you can select ? and the program will print you all the terminals support
by it, but you should select vt100 or just press enter. Pressing enter the
program will assume that your terminal is a dumb terminal. There is no problem
to select the dumb terminal because you can change it later.</p>
</blockquote>
<p><br>
<b>Step 6. (Personal Data)</b></p>
<blockquote>
<p>It will be asked things like your full name, phone number, birth date, sex,
blablab, your getting the idea. If you want you can just put a . and press
enter. You can also give fake information, I think that 98% of the users at
nether.net did that. In the end of all the questions you'll be asked if you
want to hide the information from other users. Just say yes or no, I suggest
you to say yes.</p>
</blockquote>
<p><br>
<b>Step 7. (Selecting Shell)</b></p>
<p>Now it will be shown a list with the legal shells, just select one, like I
said before if you are new to shell accounts choose bash shell.</p>
<p><br>
<b>Step 8. (Selecting Login)</b></p>
<p>Just select your login, like always 8 chars is the max length.</p>
<p><br>
<b>Step 9. (Selecting Password)</b></p>
<p>Select a password, it will be asked two times to see if the password is correct.
You can change the password later using the passwd command later.</p>
<p><b>Step 10. (Accepting Choices)</b></p>
<p>At this time you should be looking to something like:</p>
<table width="93%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>full name:</td>
<td>Full Name</td>
</tr>
<tr>
<td>loginid: your username password:</td>
<td> <suppressed></td>
</tr>
<tr>
<td>address:</td>
<td>your address if you gave any</td>
</tr>
<tr>
<td>telephone:</td>
<td>your phone number if you gave any</td>
</tr>
<tr>
<td>other e-mail addresses:</td>
<td>your e-mail address if you gave any</td>
</tr>
<tr>
<td>occupation:</td>
<td>The same here</td>
</tr>
<tr>
<td>computers:</td>
<td>Same</td>
</tr>
<tr>
<td>birthdate:</td>
<td>Some date sex: Also something here</td>
</tr>
<tr>
<td>interests:</td>
<td>Something how (did you find out about us): How do you find them</td>
</tr>
<tr>
<td>Privacy switch</td>
<td>on/off</td>
</tr>
<tr>
<td>shell:</td>
<td>your shell account terminal: your terminal type erase '^H' kill '^U' interrupt
'^C'</td>
</tr>
</table>
<p>Type "help" for a list of things you can change.</p>
<p>Select thing to change or "done"?</p>
<p>Now if you agree with all the data just type done and press enter, or if you
want to change something just type the you want to change field.</p>
<p><b><br>
Step 11. (After You type Done)</b></p>
<p>Now the program is checking if there is already your username, you should be
seeing a bunch of numbers scrolling, it's normal don't get scared... Now if
your Login name already exists will be asked another, if there isn't the system
will encrypt your password, and you'll stay for some time watching a bunch of
numbers scrolling. After that....</p>
<p><b><br>
Step 12. (Congratulations You have a shell account)</b></p>
<p>Yep you've got a shell account, now you should be again in the login sequence
and your login name is already written just type in the password, press enter
and have fun.Remember that you can have many shells has you want. So if you
want you can login again with newuser but instead of choosing a bash shell choose
a Cshell and all the others or a shell bash again...</p>
<p><b><font size="4">The commands</font></b></p>
<p>Hi won't talk about of every command that exists in *nix systems, if I did
that the file would become huge. If you want to a big amount of information
about commands check the final notes section. The basic commands are listed
below with their function.</p>
<p>Syntax: command [switches] -> description</p>
<p>man [command] -> display the manual entry about the [command] you gave.</p>
<p>cd [directory] -> like in DOS it changes your current directory, to go one
directory up you also use .., if you want to return to your home directory just
type cd without the [directory] parameter.</p>
<p>ls [-al] -> ls makes the same as dir in DOS, it lists every file in the
directory, the -al is some of the switch you can use. Using this two switch
the listing will be displayed with hidden files, file permission, group and
owner. To know all the other switches man ls.</p>
<p>cat [file] -> it's the same as the command type in DOS, it displays the
<br>
content of the [file] given.</p>
<p>logout -> Logs you out from your shell account.</p>
<p>who -> Shows who's online, with information about those users. There are
programs that make you invisible to the who command, but that's another story,
probably in another tutorial.</p>
<p>ps [-aux] -> ps shows every procedure that is running, something like ctrl+alt+del
in windows (not to reboot, but to show what's running) but much more powerful
since it isn't known how we can run a program without being display in ps. If
you run ps with no switches it will just show your own processes, if you use
the switch -aux it will list every process that is running in the machine.</p>
<p>joe [file] -> joe is a text editor, it edits or creates the [file] given.
</p>
<p>Sometimes the shell providers haven't joe but they should have vi (another
text editor).</p>
<p><br>
This command should be enough for you to start. Also use man command in the
commands that we talk to get a bigger and more detailed description about it.
Good surfing!</p>
<p><b><font size="4">Final Notes</font></b></p>
<p>Now what you need is a little of practice, and good books to get in touch with
the commands. One of the best *nix books is UNIX IN A NUTSHELL. You can find
it in the books section at BSRF WWW page (<a href="http://blacksun.box.sk" target="_blank">http://blacksun.box.sk</a>).
For me, this is the best book about the subject, and since it's free I strongly
recommend you to get it. Another good thing is man. For example, if you want
to get some information about telnet, and how to use it, you just type in:</p>
<blockquote>
<p> man telnet</p>
</blockquote>
<p>And it will be prompt the manual page about telnet. If you are using a shell
in the freeshell server (<a href="http://freeshel.org" target="_blank">freeshell.org</a>)
you can also use the command help without any options. This will call you a
menu with the options you can call. And keep in mind that *nix is Case Sensitive
so Man, man and MaN or .profile and .Profile isn't the same thing.</p>
<p><br>
<b>Appendixes</b><br>
----------<br>
A) Can I run IRC bots on free shell accounts? (by R a v e N) No!! Unless you
intend to be logged into your shell 24 hours a day. Free shell providers will
kill all of your running processes (running programs in the Windows world) once
you log off.</p>
<p>B) Are there are other places in which I can get a shell account? (by <a href="mailto:barakirs@netvision.net.il">R
a v e N</a>) Of course! Try <a href="http://www.cyberarmy.com/lists" target="_blank">http://www.cyberarmy.com/lists</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -