[Linux] Comandi e particolarità per Ubuntu
- Cestino sul desktop di Ubuntu;
- Sapere il numero di files in una directory (ricorsivamente) o in quella corrente:
find Documenti -maxdepth 100 -type f | wc -l
ls | wc -l - Sapere la dimensione di una directory (h per unità di misura comprensibili e s per riassumere - non singolo file -):
sudo du . -hs
- Sapere la distro in uso:
cat /etc/issue
- Riavviare software:
• Apache: sudo /etc/init.d/apache2 restart
• MySQL:: sudo /etc/init.d mysql start
08:04
|
Categorie:
Linux
|
This entry was posted on 08:04
and is filed under
Linux
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
Iscriviti a:
Commenti sul post (Atom)
0 comments:
Posta un commento