Diafores eukoles erotisoules
ZORBADELOS KONSTANTINOS
kzorba at otenet.gr
Tue Apr 1 11:04:01 EEST 2003
At Mon, 31 Mar 2003 17:48:01 -0800 (PST),
Nicolas Greece wrote:
An kai o Stelios ta kalipse sxedon ola prostheto ta exis:
> 2.
> Prospatho na kano crypt ena arxeio. Simfona me ta man
> pages kai ta vivlia einai:
> crypt <filename1 > filename 2 mou vgazei omos
> bash: crypt: command not found
>
> Den eiparxei h crypt? To idio kanei kai h encrypt
>
H crypt einai C function, yparxei se vivliothiki kai xrisimopoieitai
apo C programmata.
Apo to man page tis
#define _XOPEN_SOURCE
#include <unistd.h>
char *crypt(const char *key, const char *salt);
.....
Programs using this function must be linked with -lcrypt
Einai eykolo na grapseis ena C programmataki pou na tin xrisimopoiei
gia na kanei ayto pou thes kai akoma pio eykolo na grapseis Perl.
Tora mporei na yparxei kai kapoio etoimo crypt programma den leo.
> 3.
> Ksero tha exete pei 1000 fores se neopes gia to
> unmount alla edo ta pragmata einai diaforetika:
> Xoris na exo prosthesei kammia grammi edolis pouthena
> mporo na do ta arxeia tou cd-rom mou.
> Diladi: cd /mnt/cdrom kai eimai mesa!!! Kanonika den
> tha eprepe na to kano sinexeia mount?
Ontos trexei kapoios automounter pou stin periptosi pou xrisimopoieis
GNOME einai to magicdev. Me to pou vazeis to CD sto kanei aytomata mount.
> Pos ginete unmount?
>
umount /dev/cdrom
i apla
eject
an thes na vgaleis to CD rom.
======================================================
Kostas Zorbadelos
Otenet IT Department | BSO Team
Out there in the darkness, out there in the night
out there in the starlight, one soul burns brighter
than a thousand suns.
More information about the Linux-greek-users
mailing list