1) Switch CD/home/sxl513 to your home directory
2) ls/home/sxl513/desktop to view the contents of the Directory
3) sudo chmod 755-r/var/ftp
4) sudo gnome-Open/var/FTP/open the FTP folder
5) sudo gedit/etc/APT/sources. List use NotePad to open the sources. list file.
6) CD .. return to the upper-level directory
7) sudo apt-Get Update update source
8) sudo./*. Run install *. Run File
9) sudo apt-Get remove * uninstall the file *
10) sudo apt-Get install * online installation package
11) create a nested folder in sudo mkdir-P/usr/lib/Win32
12) sudo touch test creates a text file in the current directory.
13) sudo apt-Get install-F handle the dependency between errors
14) sudo dpkg-configure-A handles error: dpkg was interrupted
15) sudo apt-Get clean clears the cache installed online
16) sudo dpkg-s virtualbox query the installed virtualbox package
17) sudo apt-Get autoremove virtualbox-2.2 remove installed virtualbox packages
18) uname-A can use this command to view the Kernel used by the current system.
19) dpkg-get-selections | grep Linux # list the current kernel. The kernel with image is installed. You can run the following command to uninstall the kernel:
20) sudo apt-Get remove linux-image-2.6.24-11-generic # Where the linux-image-2.6.24-11-generic is the version number, complete.
21) force unlock, command
Sudo RM/var/Cache/APT/archives/lock
Sudo RM/var/lib/dpkg/lock
22)/var/Cache/APT/archives # store the path of the software package downloaded during online Installation
23) sudo apt-Get install RAR unrar # Install rar-format compression and decompression tools
24) apt-Get autoremove. The following software packages are automatically installed and are no longer in use:
Scim-modules-socket scim libscim8c2a scim-gtk2-immodule scim-bridge-Agent libqt3-mt
Use 'apt-Get autoremove 'to delete them.