The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: listitem/para
Context English State
Once you have done this, use <command>exit</command> to get back to a login prompt and log in as <systemitem class="username">jack</systemitem>. In general, it is a good idea to do as much work as possible as an ordinary user who does not have the power—and risk—of <systemitem class="username">root</systemitem>.
If you already created a user and you want the user to be able to <command>su</command> to <systemitem class="username">root</systemitem>, you can log in as <systemitem class="username">root</systemitem> and edit the file <filename>/etc/group</filename>, adding <systemitem class="username">jack</systemitem> to the first line (the group <systemitem class="groupname">wheel</systemitem>). But first you need to practice <citerefentry><refentrytitle>vi</refentrytitle><manvolnum>1</manvolnum></citerefentry>, the text editor—or use the simpler text editor, <citerefentry><refentrytitle>ee</refentrytitle><manvolnum>1</manvolnum></citerefentry>, installed on recent versions of FreeBSD.
To delete a user, use <command>rmuser</command>.
Looking Around
Logged in as an ordinary user, look around and try out some commands that will access the sources of help and information within FreeBSD.
Here are some commands and what they do:
Tells you who you are!
Shows you where you are—the current working directory.
Lists the files in the current directory.
<command>ls -F</command>
Lists the files in the current directory with a <literal>*</literal> after executables, a <literal>/</literal> after directories, and an <literal>@</literal> after symbolic links.
<command>ls -l</command>
Lists the files in long format—size, date, permissions.
<command>ls -a</command>
Lists hidden <quote>dot</quote> files with the others. If you are <systemitem class="username">root</systemitem>, the <quote>dot</quote> files show up without the <option>-a</option> switch.
Changes directories. <command>cd ..</command> backs up one level; note the space after <command>cd</command>. <command>cd /usr/local</command> goes there. <command>cd ~</command> goes to the home directory of the person logged in—e.g., <filename>/usr/home/jack</filename>. Try <command>cd /cdrom</command>, and then <command>ls</command>, to find out if your CDROM is mounted and working.
<command>less <replaceable>filename</replaceable></command>
Lets you look at a file (named <replaceable>filename</replaceable>) without changing it. Try <command>less /etc/fstab</command>. Type <command>q</command> to quit.
<command>cat <replaceable>filename</replaceable></command>
Displays <replaceable>filename</replaceable> on screen. If it is too long and you can see only the end of it, press <keycap>ScrollLock</keycap> and use the <keycap>up-arrow</keycap> to move backward; you can use <keycap>ScrollLock</keycap> with manual pages too. Press <keycap>ScrollLock</keycap> again to quit scrolling. You might want to try <command>cat</command> on some of the dot files in your home directory—<command>cat .cshrc</command>, <command>cat .login</command>, <command>cat .profile</command>.
You will notice aliases in <filename>.cshrc</filename> for some of the <command>ls</command> commands (they are very convenient). You can create other aliases by editing <filename>.cshrc</filename>. You can make these aliases available to all users on the system by putting them in the system-wide <command>csh</command> configuration file, <filename>/etc/csh.cshrc</filename>.
Getting Help and Information
Here are some useful sources of help. <replaceable>Text</replaceable> stands for something of your choice that you type in—usually a command or filename.
<command>apropos <replaceable>text</replaceable></command>
Everything containing string <replaceable>text</replaceable> in the <database>whatis database</database>.
<command>man <replaceable>text</replaceable></command>
The manual page for <replaceable>text</replaceable>. The major source of documentation for <trademark class="registered">UNIX</trademark> systems. <command>man ls</command> will tell you all the ways to use <command>ls</command>. Press <keycap>Enter</keycap> to move through text, <keycombo><keycap>Ctrl</keycap><keycap>B</keycap></keycombo> to go back a page, <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo> to go forward, <keycap>q</keycap> or <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> to quit.


No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: listitem/para
Source string location
String age
a year ago
Source string age
a year ago
Translation file
articles/new-users.pot, string 48