Questions about: command-line - страница 11

When attempting to remove a directory using a command such as the rmdir command, you may receive a prompt such as "rmdir: 'dir': Directory not empty" and be unable to delete the directory. To remove a directory that contains other files or directorie
Answer #: 1 For shutdown: sudo poweroff For restart: sudo reboot Answer #: 2 Open your terminal with CTRL+ALT+T and do these following commands To shutdown the system: sudo shutdown -h now To restart: sudo reboot & one more command for restart: s
Answer #: 1 The command du “summarizes disk usage of each FILE, recursively for directories,” e. g. , du -hs /path/to/directory -h is to get the numbers “human readable”, e
Question: I have upgraded the kernel on my Ubuntu many times in the past. Now I would like to uninstall unused old kernel images to save some disk space. What is the easiest way to uninstall earlier versions of the Linux kernel on Ubuntu? In Ubuntu e
You just need to do apt-get install --only-upgrade . This will upgrade only that single package, and only if it is installed. If you wish to install the package if it doesn’t exist, or upgrade it if it does, you may leave out --only-upgrade
When I say crash, it simply means that the whole system freezes and does not respond to any keyboard or mouse input. There are many reasons that can cause Ubuntu to crash. It could be due to hardware incompatibility (especially ATI/Nvidia graphics ca
After I add a user using adduser, I can’t see it via System->Administration->Users and Groups unless I logout and then login again. Is that normal? Also, can I set a newly added user as a sudoer or do I have to change that only after adding it?
Answer #: 1 If you want to extract to a particular destination folder, you can use: unzip file. zip -d destination_folder Answer #: 2 It is simple use unzip unzip file. zip Answer #: 3 A more useful tool is 7z, which zips and unzips a range of compre
I am a new Ubuntu Linux user. I need to install a package called package. deb