![]() ![]() If you run a desktop, usually media is automounted for you. Also, if you update every two or three days or so, the better. You will maybe see a message in your notification area that you have to reboot before the changes take effect, like when the kernel or important libraries are updated, and I recommend you do that, to avoid unpleasant surprises and to use the latest updates that usually close bugs and add new features. This is really simple, and that’s all there is to it. In Ubuntu, one updates in two steps: the first contacts some remote server to “find out” if there are updates to the installed software, and the second actually performs the upgrade. On a default Ubuntu system only the apt-* tools will be installed, and the tool we will talk about is apt-get. The front-ends for dpkg, which is somewhat of a low level package tool, are apt-* and aptitude. Ubuntu, just like its’ “father”, Debian, and the derivatives, use dpkg as the package manager. So, if for whatever reason you have to update manually, here’s how. What if you mistakenly altered the settings of your system so it doesn’t do that? There’s nothing to be ashamed about, it’s a good way to learn, and we all have been there. Usually your system is configured to look for updates all by itself and if there are any just ask you if you want to apply the changes. Remember that other *nix systems work a little bit differently, so this is Linux-only. On GNU/Linux systems, Ubuntu included, you can set the date (day, month) and time (hour, minute) without the year, second or century part. Therefore to set your date for example to “Fri Jul 6 13:45:50 2012” you would do: # date 070613452012.50 M is month, D is day, h is hour, m is minute, C is century (the first two digits of year, like ), Y is year and s stands for seconds. To set the date, you should type something like date YY]] With no other arguments/flags, it will show you the current date. This paragraph will not be a manual page replacement, but it will help you set your system’s date/time quickly, provided you have root privileges. Where I’m getting at is the fact that the way that you set your date with the date command may differ from the format you’re used to (or what is used in your country). In the United States, the date/time format is of the form mm/dd/yy or mm/dd/yyyy, where m is month, d is day and y is year, either in two-digit format (e.g. Depending on the country you live in, the date format differs from other parts of the world. That is because I was used to the Gnome way of doing that but at the time I had no Gnome. I must confess, this was a task that I had to do a long time ago in front of a terminal and had no idea how to do it. The tasks, part two Setting date and time You will learn some more interesting tips that you can use to master your system, so hold on to your seats, because here we go. Hello, and welcome to part two of our Linux command line series. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |