Linux

1. search a package
1) sudo apt-get udpate
2) sudo apt-cache search something

The "z" flag works with gzip, to either create a tar/gzipped archive:

tar -czvf archive.tgz files/

...or decompress a tar/gzipped archive:

tar -xzvf archive.tgz


To start the server, as root type:

/sbin/service httpd start

To stop the server, as root type:

/sbin/service httpd stop

你可能感兴趣的:(linux,cache)