Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 1996 14:59:02 -0600 (CST)
From:      David Kelly <dkelly@hiwaay.net>
To:        (Hans N Gruber) <hounddog@juno.com>
Cc:        questions@freebsd.org
Subject:   RE: Help: Idiot on the loose
Message-ID:  <XFMail.961123151227.dkelly@hiwaay.net>
In-Reply-To: <19961123.062533.4671.0.hounddog@juno.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12:25:11 hounddog@juno.com wrote:
>       I managed to create a file called "first file" (yes, with a
>space), and cannot delete it as FreeBSD is treating as two files which
>don't exist.

Tell rm that "first file" is one filename the same way you told us:

nexgen: {1007} mkdir junk
nexgen: {1008} cd junk
nexgen: {1009} touch "first file"
nexgen: {1010} ls -l
total 0
-rw-rw-r--  1 dkelly  dkelly  0 Nov 23 14:57 first file
nexgen: {1011} rm "first file"
nexgen: {1012} ls -l
nexgen: {1013} cd ..
nexgen: {1014} rmdir junk

>Nextly, I created a user on the system (which is me), mainly
>because it seemed at the time (during install), that it was the thing to
>do. How do I log on as admin instead of user?

It was a good thing to do, to create a user account for yourself.
You can do a lot of damage logged in as root.

The "administration" account is named "root". Read /etc/passwd for
information on accounts your system has, but don't edit it with
anything other than vipw. You really need the online man pages as
no book from the library is going to do a perfect job of describing
any specific Un*x. The man pages are not that much overhead, yet
are not enough (either) to fully describe the system:

nexgen: {1028} cd /usr/share/man
nexgen: {1029} du -sk man*
1134    man1
300     man2
772     man3
298     man4
218     man5
112     man6
79      man7
563     man8
2       man9

Looks like 2.5M.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.961123151227.dkelly>