PDA

View Full Version : domanda da niubbo: Console e comandi


michele21_it
04-03-2006, 10:45
ciao a tutti...

ho un problemino che sicuramente sarà una cavolata....però non riesco a risolverlo..
devo installare l'aggiornamento del flash player,e per farlo,da console dovrei entrare nella directory /home/michele/install_flash_player_7_linux.tar.gz e poi lanciare il comando per l'installazione...

Il problema è che la console non mi fa entrare nella cartella /michele dice che non esiste....
io digito cd /home e va in home
poi digito cd /michele e mi dice "no such file or directory"

come si entra in questa cavolo di directory???help :help:

:fagiano:

WebWolf
04-03-2006, 11:00
in home digita ls -al

e vedi cosa c'è.

poi prova cd /home/michele

entri ?

Prova a scoprire l'arcano.

Suggerimento: cosa è : / ?

michele21_it
04-03-2006, 11:21
allora digitando ls -al,mi è venuto fuori questo:

michele@dhcppc0:~> cd /home
michele@dhcppc0:/home> ls -al
totale 2
drwxr-xr-x 3 root root 72 2006-02-27 11:44 .
drwxr-xr-x 23 root root 544 2006-03-04 12:08 ..
drwxr-xr-x 22 michele users 1432 2006-03-04 12:20 michele

che vuol dire?? :confused: :confused:

Scoperchiatore
04-03-2006, 12:49
gli "/" sono separatori del percorso in linux.
Se hai una cartella home che contiene un'altra cartella, per accedere a quella interna, devi fare o:
cd /home/michele
o
cd /home
cd michele

WebWolf
04-03-2006, 20:07
allora digitando ls -al,mi è venuto fuori questo:

michele@dhcppc0:~> cd /home
michele@dhcppc0:/home> ls -al
totale 2
drwxr-xr-x 3 root root 72 2006-02-27 11:44 .
drwxr-xr-x 23 root root 544 2006-03-04 12:08 ..
drwxr-xr-x 22 michele users 1432 2006-03-04 12:20 michele

che vuol dire?? :confused: :confused:


Che dentro a /home c'è solo una cartella e si chiama 'michele'.


Scoperchiatore se sveli tutto come fanno ad imparare? ;) :D

michele21_it
05-03-2006, 08:20
allora...grazie per le risposte..:)
ho capito che sono già dentro la cartella dove ci sono i miei files :rolleyes: ...per installare il plugin dovrei digitare il comando./flashplayer-installer...ma questo è quello che mi viene fuori...com'è possibile??il file c'è ma lui dice che non c'è... :cry:

michele@dhcppc0:~> ls -al
totale 3964
drwxr-xr-x 22 michele users 1432 2006-03-05 09:09 .
drwxr-xr-x 3 root root 72 2006-02-27 11:44 ..
-rw------- 1 michele users 470 2006-03-05 09:06 .bash_history
-rw-r--r-- 1 michele users 1294 2006-02-27 11:44 .bashrc
drwxr-xr-x 2 michele users 48 2006-02-27 11:44 bin
-rw-r--r-- 1 michele users 54 2006-03-05 09:01 .DCOPserver_dhcppc0__0
lrwxrwxrwx 1 michele users 36 2006-03-05 09:01 .DCOPserver_dhcppc0_:0 -> /home/michele/.DCOPserver_dhcppc0__0
drwx------ 2 michele users 320 2006-02-27 11:47 Desktop
-rw------- 1 michele users 26 2006-02-27 11:46 .dmrc
drwx------ 2 michele users 80 2006-02-27 11:44 Documents
-rw-r--r-- 1 michele users 208 2006-02-27 11:44 .dvipsrc
-rw-r--r-- 1 michele users 1637 2006-02-27 11:44 .emacs
-rw-r--r-- 1 michele users 1124 2006-02-27 11:44 .exrc
drwxr-xr-x 2 michele users 80 2006-02-27 11:46 .fonts
-rw-r--r-- 1 michele users 43 2006-03-05 09:09 .fonts.cache-1
-rw-r--r-- 1 michele users 307 2006-02-27 17:11 .fonts.conf
drwx------ 2 michele users 48 2006-03-05 09:05 .gconf
drwx------ 2 michele users 80 2006-03-05 09:06 .gconfd
drwxr-xr-x 21 michele users 896 2006-03-03 09:53 .gimp-2.2
drwx------ 3 michele users 72 2006-02-27 11:51 .gnome2
drwx------ 2 michele users 48 2006-02-27 11:51 .gnome2_private
-rw-r--r-- 1 michele users 2389 2006-02-27 11:51 .gtk_qt_engine_rc
-rw------- 1 michele users 191 2006-03-05 09:01 .ICEauthority
-rw-r--r-- 1 michele users 989217 2006-03-04 11:14 install_flash_player_7_linux.tar.gz
drwx------ 4 michele users 200 2006-02-27 11:46 .kde
-rw-r--r-- 1 michele users 164 2006-02-27 11:44 .kermrc
drwx------ 3 michele users 72 2006-02-27 11:46 .local
-rw-r--r-- 1 michele users 2554399 2006-02-27 12:38 macosXscreensaver.zip
-rw-r--r-- 1 michele users 370463 2006-02-27 12:33 MacOSX.sis
drwx------ 3 michele users 80 2006-03-04 11:52 .macromedia
drwxr-xr-x 3 michele users 96 2006-02-27 11:51 .mozilla
-rw-r--r-- 1 michele users 6043 2006-02-27 11:44 .muttrc
drwx------ 3 michele users 72 2006-03-01 10:53 .ooo-2.0-pre
-rw-r--r-- 1 michele users 934 2006-02-27 11:44 .profile
drwxr-xr-x 2 michele users 80 2006-02-27 11:44 public_html
drwxr-xr-x 2 michele users 232 2006-03-05 09:01 .qt
-rw------- 1 michele users 34619 2006-02-27 12:07 .realplayerrc
-rw------- 1 michele users 1239 2006-03-03 09:51 .recently-used
drwxr-xr-x 2 michele users 136 2006-02-27 11:46 .skel
drwx------ 4 michele users 96 2006-02-27 12:06 .thumbnails
-rw-r--r-- 1 michele users 311 2006-02-27 11:44 .urlview
-rw------- 1 michele users 162 2006-03-05 09:00 .Xauthority
-rw-r--r-- 1 michele users 7913 2006-02-27 11:44 .xcoralrc
drwxr-xr-x 2 michele users 72 2006-02-27 11:44 .xemacs
-rw-r--r-- 1 michele users 1940 2006-02-27 11:44 .xim.template
drwxr-xr-x 2 michele users 80 2006-02-27 12:06 .xine
-rwxr-xr-x 1 michele users 3261 2006-02-27 11:44 .xinitrc.template
-rw------- 1 michele users 1851 2006-03-05 09:07 .xsession-errors
-rw-r--r-- 1 michele users 119 2006-02-27 11:44 .xtalkrc
michele@dhcppc0:~> cd /install_flash_player_7_linux.tar.gz
bash: cd: /install_flash_player_7_linux.tar.gz: No such file or directory
michele@dhcppc0:~> ./flashplayer-installer
bash: ./flashplayer-installer: No such file or directory

un altra cosa...le istruzioni dicono che è possibile installare manualmente il plugin,copiando due files nella cartella plugins di firefox....ma dove sta la cartella di firefox??non la trovo... :cry: :help:

Mighty83
05-03-2006, 09:49
-rw-r--r-- 1 michele users 989217 2006-03-04 11:14 install_flash_player_7_linux.tar.gz
drwx------ 4 michele users 200 2006-02-27 11:46 .kde
michele@dhcppc0:~> cd /install_flash_player_7_linux.tar.gz
bash: cd: /install_flash_player_7_linux.tar.gz: No such file or directory
michele@dhcppc0:~> ./flashplayer-installer
bash: ./flashplayer-installer: No such file or directory


Dunque il comando che stai x dare (cd) serve per entrare in una cartella ma install_flash_player_7_linux.tar.gz non è una cartella ma un file tar.gz. Guarda quello che ti ho evidenziato... La d indica una directory (cartella) quindi se il file in questione non ha la d vuol dire che il comando cd non ha senso x quel file... Il file tar.gz non è altro che un archivio compresso (tipo .zip in windows)... quindi scompatta il file e poi puoi dar il ./flashpalyer-installer ;)

michele21_it
05-03-2006, 12:26
ehmmm...e come si decompatterebbe il file??che comando devo usare?? :help:

Scoperchiatore
05-03-2006, 12:28
Leggite qualche manuale, così nun poi annà avanti :D

Mighty83
05-03-2006, 12:32
ehmmm...e come si decompatterebbe il file??che comando devo usare?? :help:

mighty@linux# tar xzvf programma.tar.gz
mighty@linux# cd programma
mighty@linux#./flashplayer-installer

(poi ti consiglio di seguire il consiglio ( :D ) di Scoperchiatore ;) )

michele21_it
05-03-2006, 12:41
mighty@linux# tar xzvf programma.tar.gz
mighty@linux# cd programma
mighty@linux#./flashplayer-installer

(poi ti consiglio di seguire il consiglio ( :D ) di Scoperchiatore ;) )

thanks very much... :sofico: stasera ci provo... :fagiano:

Leggite qualche manuale, così nun poi annà avanti :D

:cry: :ops2: :sob: :sob: