ma quant'è utile questo terminale!
- tecnopado
- Entusiasta Emergente
- Messaggi: 1356
- Iscrizione: giovedì 20 febbraio 2014, 22:49
- Desktop: i3WM-Gnome-xfce4.12-tmux
- Distribuzione: ArchLinux-CentOS-Manjaro-Gentoo
- Località: mnt /dev/Gorizia/Casa_Mia/
Re: ma quant'è utile questo terminale!
non ho mai compreso la differenza.. me lo spiegate con le parole piu' semplici possibili?
--- Il mio Super Tempo Di BOOT: SSD Crucial M550 GPT+BTRFS+custom kernel 4.0 | Startup finished in 1.145s (kernel) + 674ms (userspace) = 1.820s !!!!!
personal config REPO https://github.com/tecnopado UTENTE ARCHLINUX FIERO&SODDISFATTO!!!! GUIDA BOOTTIME http://www.inthebit.it/fast-boot-time-s ... ux-con-ssd
personal config REPO https://github.com/tecnopado UTENTE ARCHLINUX FIERO&SODDISFATTO!!!! GUIDA BOOTTIME http://www.inthebit.it/fast-boot-time-s ... ux-con-ssd
Re: ma quant'è utile questo terminale!
non sto più mantenendo la lista dei comandi.
se qulacuno volesse aggiornarla lascio il file editabile a disposizione (nel nome del file la posizione in cui sono arrivato...)
ciao
se qulacuno volesse aggiornarla lascio il file editabile a disposizione (nel nome del file la posizione in cui sono arrivato...)
ciao
- Allegati
-
- terminale.zip
- (15.94 KiB) Scaricato 394 volte
-
- Comandi da Terminale [pg 49 #968].pdf
- (50.5 KiB) Scaricato 588 volte
-
- Comandi da Terminale [pg30#4].ods
- (20.39 KiB) Scaricato 410 volte
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
ho appena "scoperto" sto thread molto interessante IMO :) ;Bucky [url=http://forum.ubuntu-it.org/viewtopic.php?p=4615797#p4615797][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:non sto più mantenendo la lista dei comandi.
se qulacuno volesse aggiornarla lascio il file editabile a disposizione (nel nome del file la posizione in cui sono arrivato...)
ciao
allora riguardo l' uso di un thread /post per implementare una lista ho riferito altrove che non e' la soluzione ottima ; perche' invece non fare un bel account git (per esempio in github e altrove ti piace) e lasciare al VCS(git) di implementare la lista in automatico? mantenendo pure tutto lo storico(sempre in automatico) ;) ; il thread si potrebbe usare sempre ma come posto di coordinazione mentre i post sarebbero diventati dei ci e il curatore o meglio i curatori(perche' git e' distribuito e collaborativo/cooperativo) della lista dovrebbero solo compilare un documento che riporti tutto il materiale ; che voglio dire? in poche parole una cosa del genere: https://github.com/vhf/free-programming ... g-books.md ;)
PS:
considera la cosa di su come oltre che consiglio anche come una proposta :) ; non sarebbe male se nascesse un bel progettino (ammesso che non ci sia gia' ) in cui riportare cmds o molto meglio use cases piu' o meno non banali;
potrebbe ... col tempo sfoggiare in qualche corposo pdf ;) chi lo sa ...
Cheers, ;)
HArry G. T. KAr
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- steff
- Moderatore Globale
- Messaggi: 40301
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: ma quant'è utile questo terminale!
Leggi il primo post qui... purtroppo è vecchio e incompleto.harrykar ha scritto:potrebbe ... col tempo sfoggiare in qualche corposo pdf chi lo sa ...
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Re: ma quant'è utile questo terminale!
Avete una relazione, una presentazione, una brochure in PDF con immagini e dovete spedirla o pubblicarla sul web, ma le dimensioni del file sono imbarazzanti?
Non volete usare wetransfer per spedire dieci paginette?
Il vostro PDF obeso ha bisogno di una cura dimagrante:
Non volete usare wetransfer per spedire dieci paginette?
Il vostro PDF obeso ha bisogno di una cura dimagrante:
Codice: Seleziona tutto
gs -dPDFSETTINGS=/prepress -dSAFER -dCompatibilityLevel=1.5 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -dGrayImageResolution=600 -dMonoImageResolution=1200 -dColorImageResolution=300 -sOutputFile=ilMioFileRidotto.pdf -c .setpdfwrite -f ilMioFileGrossoOriginale.pdf
- ale multimediale
- Imperturbabile Insigne
- Messaggi: 3681
- Iscrizione: mercoledì 14 agosto 2013, 18:24
- Desktop: i3-wm
- Distribuzione: Arch,Win10
Re: ma quant'è utile questo terminale!
Codice: Seleziona tutto
dpkg --get-selections | grep linux-image
Codice: Seleziona tutto
dpkg --get-selections | grep linux-headers
"Il progresso è fatto da uomini pigri che cercano modi più facili per fare le cose"
Re: ma quant'è utile questo terminale!
Quoto!TheImmortalPhoenix [url=http://forum.ubuntu-it.org/viewtopic.php?p=3710079#p3710079][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:installate htop che è più completo
- errullaiolo
- Prode Principiante
- Messaggi: 185
- Iscrizione: giovedì 17 gennaio 2013, 14:09
- Distribuzione: Ubuntu 14.04.2 LTS
- Sesso: Maschile
Re: ma quant'è utile questo terminale!
Per scaricare in una determinata cartella i file con una precisa estensione da un sito.
W il mondo e la religione dell'informatica
Codice: Seleziona tutto
wget -r -A .estensione -P cartellaDst http://sito
« Una volta eliminato l'impossibile, ciò che resta, per quanto improbabile, deve essere la verità. »
(Sherlock Holmes)
(Sherlock Holmes)
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
Specifica: manipolare (creare, eliminare ecc) un file con nome che che comincia col carattere '-'
se si tenta si ottiene un errore perche' la shell interpreta il carattere -s come fosse un opzione
LA soluzione sta nel preporre l' option '--' che significa che non ci sono altre opzioni e tutto quel che segue puo' essere considerato come nome del file
se si tenta si ottiene un errore perche' la shell interpreta il carattere -s come fosse un opzione
Codice: Seleziona tutto
$ touch -stupid_file_name
touch: invalid option -- 's'
Try `touch --help' for more information.
Codice: Seleziona tutto
touch -- -stupid_file_name
rm -- -stupid_file_name
Ultima modifica di harrykar il sabato 12 settembre 2015, 17:35, modificato 1 volta in totale.
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
in Lucid (10.04LTS)non c'e' installato di default e sembra non ci sia neanche in util-linuxm3nhir [url=http://forum.ubuntu-it.org/viewtopic.php?p=4592204#p4592204][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Non so se sia gia stato postato ma il comandoelenca i filesystem e relative partizioni montate. Di solio in Ubuntu, Debian e derivate è presente di default (contenuto nel pacchetto util-linux)Codice: Seleziona tutto
findmnt
le opzioni di visualizzazione sono:
-l elenca in formato lista ; -s elenca leggendo da fstab ; -m elenca da mtab ; -t <filesystem> elenca per tipo di filesystem
Codice: Seleziona tutto
$ findmnt
findmnt: command not found
$ sudo apt-get install util-linux
[sudo] password for mister:
Reading package lists... Done
Building dependency tree
Reading state information... Done
util-linux is already the newest version.
The following packages were automatically installed and are no longer required:
libaio1 seabios libglobalmenu-gnome vgabios libgnomenu0-2 bridge-utils
qemu-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- UbuNuovo
- Imperturbabile Insigne
- Messaggi: 4446
- Iscrizione: sabato 12 dicembre 2009, 20:58
- Desktop: Mate
- Distribuzione: Ubuntu Mate 22.04.1 LTS
- Sesso: Maschile
- Contatti:
Re: ma quant'è utile questo terminale!
findmnt è un fantasma ma a me funziona regolarmente (Ubuntu 14.04), non mi pare di averlo installato manualmente.
se lo cerco in synaptic non viene trovato.
la pagina man dice:
Codice: Seleziona tutto
8-) apt-cache show findmnt
N: Impossibile trovare il pacchetto findmnt
E: Nessun pacchetto trovato
8-) dpkg -s findmnt
dpkg-query: il pacchetto "findmnt" non è installato e non è disponibile alcuna informazione
Usare "dpkg --info" (= "dpkg-deb --info") per esaminare gli archivi e
"dpkg --contents" (= "dpkg-deb --contents") per elencarne il contenuto.
8-) dpkg -l | grep findmnt
8-)
la pagina man dice:
...
AVAILABILITY
The findmnt command is part of the util-linux package and is available
from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Codice: Seleziona tutto
8-) dpkg -s util-linux
Package: util-linux
Essential: yes
Status: install ok installed
Priority: required
Section: utils
Installed-Size: 1642
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 2.20.1-5.1ubuntu20.6
Replaces: e2fsprogs, fdisk, fstrim, linux32, miscutils, schedutils, setterm, sparc-utils
Provides: linux32, schedutils
Depends: lsb-base (>= 3.0-6), tzdata (>= 2006c-2), dpkg (>= 1.15.4) | install-info, debconf (>= 0.5) | debconf-2.0, sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16)
Pre-Depends: libblkid1 (>= 2.20.1), libc6 (>= 2.15), libncurses5 (>= 5.5-5~), libselinux1 (>= 1.32), libslang2 (>= 2.2.4), libtinfo5, libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4)
Suggests: util-linux-locales, kbd | console-tools, dosfstools
Breaks: mac-fdisk (<< 0.1-16ubuntu3~), pmac-fdisk (<< 0.1-16ubuntu3~)
Conflicts: console-tools (<< 1:0.2.3-21), fdisk, fstrim, kbd (<< 1.05-3), linux32, schedutils, setterm
Conffiles:
/etc/init/hwclock-save.conf 4a002046525e338fc23e4418602865c9
/etc/init/hwclock.conf 132aa3db7e5a8cf55168e4866052208a
/etc/cron.weekly/fstrim 4de5cd1aac392609593296f0d81e7595
Description: Miscellaneous system utilities
This package contains a number of important utilities, most of which
are oriented towards maintenance of your system. Some of the more
important utilities included in this package allow you to partition
your hard disk, view kernel messages, and create new filesystems.
Homepage: http://userweb.kernel.org/~kzak/util-linux/
Original-Maintainer: LaMont Jones <lamont@debian.org>
Salva l'Ucraina!
Re: ma quant'è utile questo terminale!
@ubunuovo bisogna vedere in quale versione di util-linux è stato introdotto findmnt.
Se @harrykar usa una versione di ubuntu antecedente a quella, non vedo perché lamentarsi della mancanza, dopotutto.
Che poi non capisco l'ostinarsi ad usare una versione vecchia di 5 anni, ma quello è un caso a parte.
Se @harrykar usa una versione di ubuntu antecedente a quella, non vedo perché lamentarsi della mancanza, dopotutto.
Che poi non capisco l'ostinarsi ad usare una versione vecchia di 5 anni, ma quello è un caso a parte.
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
In util linux 2.17.2(che stanno nella lucid) non c'e' ; verificato anche da ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.17/hydrophobia [url=http://forum.ubuntu-it.org/viewtopic.php?p=4803505#p4803505][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:@ubunuovo bisogna vedere in quale versione di util-linux è stato introdotto findmnt.
c'e' solo findfs
non cambiare qualcosa che funziona (quando non hai bisogno di altro) non e' necessariamente un male ;)Che poi non capisco l'ostinarsi ad usare una versione vecchia di 5 anni, ma quello è un caso a parte.
Cheers ;)
HArry G.T. KAr
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
immergersi fra le caratteristiche dei banchi di memoria RAM
PS:
Il sudo e' necessario per poter accedere a /dev/mem pena un mero
Codice: Seleziona tutto
$ sudo dmidecode -t memory
Spoiler
Mostra
[sudo] password for mister:
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 32 MB
Maximum Total Memory Size: 128 MB
Supported Speeds:
70 ns
60 ns
Supported Memory Types:
Standard
EDO
Memory Module Voltage: 5.0 V
Associated Memory Slots: 4
0x0006
0x0007
0x0008
0x0009
Enabled Error Correcting Capabilities: None
Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A0
Bank Connections: None
Current Speed: 10 ns
Type: Other
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A1
Bank Connections: None
Current Speed: 10 ns
Type: Other
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A2
Bank Connections: 4 5
Current Speed: 10 ns
Type: Other
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A3
Bank Connections: 6 7
Current Speed: 10 ns
Type: Other
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
Handle 0x001A, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 2 GB
Error Information Handle: Not Provided
Number Of Devices: 4
Handle 0x001B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: DRAM
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A1
Bank Locator: Bank2/3
Type: DRAM
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001D, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: 128 bits
Data Width: 128 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A2
Bank Locator: Bank4/5
Type: DRAM
Type Detail: None
Speed: 800 MHz (1.2 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001E, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: 128 bits
Data Width: 128 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A3
Bank Locator: Bank6/7
Type: DRAM
Type Detail: None
Speed: 800 MHz (1.2 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 32 MB
Maximum Total Memory Size: 128 MB
Supported Speeds:
70 ns
60 ns
Supported Memory Types:
Standard
EDO
Memory Module Voltage: 5.0 V
Associated Memory Slots: 4
0x0006
0x0007
0x0008
0x0009
Enabled Error Correcting Capabilities: None
Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A0
Bank Connections: None
Current Speed: 10 ns
Type: Other
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A1
Bank Connections: None
Current Speed: 10 ns
Type: Other
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A2
Bank Connections: 4 5
Current Speed: 10 ns
Type: Other
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A3
Bank Connections: 6 7
Current Speed: 10 ns
Type: Other
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
Handle 0x001A, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 2 GB
Error Information Handle: Not Provided
Number Of Devices: 4
Handle 0x001B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: DRAM
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A1
Bank Locator: Bank2/3
Type: DRAM
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001D, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: 128 bits
Data Width: 128 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A2
Bank Locator: Bank4/5
Type: DRAM
Type Detail: None
Speed: 800 MHz (1.2 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Handle 0x001E, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001A
Error Information Handle: Not Provided
Total Width: 128 bits
Data Width: 128 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A3
Bank Locator: Bank6/7
Type: DRAM
Type Detail: None
Speed: 800 MHz (1.2 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None
Il sudo e' necessario per poter accedere a /dev/mem pena un mero
Codice: Seleziona tutto
$ dmidecode -t memory
# dmidecode 2.9
/dev/mem: Permission denied
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- harrykar
- Entusiasta Emergente
- Messaggi: 1151
- Iscrizione: giovedì 29 gennaio 2009, 19:43
- Desktop: /bin/ksh; /bin/sh; gnome
- Distribuzione: OpenBSD ; Debian ; Lucid10.4 86_64
- Località: World Wide :)
- Contatti:
Re: ma quant'è utile questo terminale!
Anche se esistono piu modi per fermare(o anche fare il reboot) il sistema(poweroff, halt, reboot, init 0) per tutti i unix-like lo standard e' usare da superuser shutdown -h now (nel caso reboot sostituire -r al posto di -h) anche se si batte qualche carattere in piu' perche' sicuramente col shutdown da parte del sistema si prendono tutte le precauzioni affinche' il sistema si fermi nel modo piu' corretto possibile faccendo il fluch dei buffers, chiudendo tutti i processi attivi, eseguendo tutti gli script di livello(per i sistemi alla sysV ) ecc ; con gli altri commandi invece cio' non e' sempre detto dipende da distro a distroLuka7 [url=http://forum.ubuntu-it.org/viewtopic.php?p=1747027#p1747027][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Molto più comodo di andare in alto, cliccare sul pulsantino e scegliere l'opzione giusta nella finestrella che compare.Codice: Seleziona tutto
sudo halt
Questa http://manpages.ubuntu.com/manpages/luc ... oot.2.html e' la chiamata di sistema al kernel usata per fa ripartire , fermare spegnere il sistema dipende dai parametri che le vengono passati( per esempio reboot(RB_POWEROFF) fa il poweroff );
Inoltre quando si e' in un sistema di produzione(multiutenza) col shutdown - h +60 Chiusura per manutenzione; riapertura fra 30 minuti si da tempo agli utenti di poter uscire in tempo da cio' che facevano e si spiega il perche' dell' interruzione e il riattacco
PS:
tutto cio' a a che fare con la possibile corruzione del FS --che potrebbe portare uno stacco improvviso di alimentazione malgrado i sistemi di journaling-- e l' improvviso stop dei processi dato che si parla di sistemi timesharing multi-programmati e multiutente (Windows, MAc OS X, Linux, BSD )
"Arguing with an engineer is like wrestling with a pig in the mud; after a while you realize you are muddy and the pig is enjoying it." -- Don't Learn to HACK - Hack to LEARN -- cyberwarfare is now an active part of information warfare -- http://www.eecs.ucf.edu/~leavens/litera ... tions.html
- cialu
- Scoppiettante Seguace
- Messaggi: 338
- Iscrizione: mercoledì 7 gennaio 2015, 14:54
- Desktop: AwesomeWM - GNOME - i3wm
- Distribuzione: Fedora - Ubuntu - Void x86_64
- Contatti:
Re: ma quant'è utile questo terminale!
È una bella idea e potrebbe trasformarsi in qualcosa di molto utile.harrykar [url=http://forum.ubuntu-it.org/viewtopic.php?p=4667734#p4667734][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:ho appena "scoperto" sto thread molto interessante IMOBucky [url=http://forum.ubuntu-it.org/viewtopic.php?p=4615797#p4615797][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:non sto più mantenendo la lista dei comandi.
se qulacuno volesse aggiornarla lascio il file editabile a disposizione (nel nome del file la posizione in cui sono arrivato...)
ciao
allora riguardo l' uso di un thread /post per implementare una lista ho riferito altrove che non e' la soluzione ottima ; perche' invece non fare un bel account git (per esempio in github e altrove ti piace) e lasciare al VCS(git) di implementare la lista in automatico? mantenendo pure tutto lo storico(sempre in automatico) ; il thread si potrebbe usare sempre ma come posto di coordinazione mentre i post sarebbero diventati dei ci e il curatore o meglio i curatori(perche' git e' distribuito e collaborativo/cooperativo) della lista dovrebbero solo compilare un documento che riporti tutto il materiale ; che voglio dire? in poche parole una cosa del genere: https://github.com/vhf/free-programming ... g-books.md
PS:
considera la cosa di su come oltre che consiglio anche come una proposta ; non sarebbe male se nascesse un bel progettino (ammesso che non ci sia gia' ) in cui riportare cmds o molto meglio use cases piu' o meno non banali;
potrebbe ... col tempo sfoggiare in qualche corposo pdf chi lo sa ...
Cheers,
HArry G. T. KAr
;-)
-
- Prode Principiante
- Messaggi: 8
- Iscrizione: mercoledì 30 marzo 2016, 18:48
- Desktop: ubuntu
- Distribuzione: Ubuntu 15.10 x86_64
- Sesso: Maschile
Re: ma quant'è utile questo terminale!
proprio questa sera mi ha salvato la vita il terminale con una applicazione .deb che sulla 16.04 non voleva proprio installarsi da gnome software, il terminale e uno dei buoni motivi per cui non cambierò mai sistema operativo.
- noel80
- Entusiasta Emergente
- Messaggi: 2240
- Iscrizione: giovedì 11 settembre 2014, 2:49
- Desktop: Gnome w/Tile || KDE
- Distribuzione: Pop!_OS || SteamOS
Re: ma quant'è utile questo terminale!
qui c'è una lista dei comandi : http://ss64.com/bash/
- cialu
- Scoppiettante Seguace
- Messaggi: 338
- Iscrizione: mercoledì 7 gennaio 2015, 14:54
- Desktop: AwesomeWM - GNOME - i3wm
- Distribuzione: Fedora - Ubuntu - Void x86_64
- Contatti:
Re: ma quant'è utile questo terminale!
Molto interessante... all'occorrenza ci sono anche le altre shell di scripting.noel80 [url=http://forum.ubuntu-it.org/viewtopic.php?p=4906919#p4906919][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:qui c'è una lista dei comandi : http://ss64.com/bash/
- noel80
- Entusiasta Emergente
- Messaggi: 2240
- Iscrizione: giovedì 11 settembre 2014, 2:49
- Desktop: Gnome w/Tile || KDE
- Distribuzione: Pop!_OS || SteamOS
Re: ma quant'è utile questo terminale!
Pochi giorni fa leggevo di questo Googler , un comando da terminale per fare delle ricerche su Google : http://www.tecmint.com/google-commandli ... -terminal/
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 27 ospiti