Results 1 to 6 of 6

Thread: Time settings in Linux

  1. #1
    Join Date
    May 2009
    Posts
    760

    Time settings in Linux

    Hi,
    How to setup up time and date in Linux. I need some command reference for that. In the same way is there a way by which can check the battery status of my laptop. What does chroot do. For which thing it i needed. And is it possible to enable ctrl + alt + del in i. I also want to reduce some disk space and speed up my system. I think this can be done via memory swapping.

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    Re: Time settings in Linux

    To set the time, you can use the date command (date [MMDDhhmm [[CC] YY] [. Ss]]). This date command offers you to set the date and time. This can be accessed via terminal. The format lies in this way MM: month, DD: day of the month, hh: hours (24h), mm: minutes, CC: Century (19 for 1994 for example), YY: year & 2 digits. Example to set the time on June 11, 2004 at 22:46: # date 061122462004

  3. #3
    Join Date
    Apr 2008
    Posts
    3,267

    Re: Time settings in Linux

    The chroot is a mechanism to virtually change the root directory or ("/", "root") of a given directory. This particular mechanism is used to secure the system: if a hacker manages to enter a directory chroot (/ var / www /, for example), it has not provided access to "real" file system. It is also used for installation of meta-distributions such as Linux From Scratch or Gentoo.

  4. #4
    Join Date
    Apr 2008
    Posts
    3,522

    Re: Time settings in Linux

    To disable ctrl + alt + del, you need to comment out (by inserting a # in front), or delete the following line in / etc / inittab (it may differ on your system): ca::ctrlaltdel:/sbin/shutdown -t5 -rf now. It is possible to specify a different task, such as deleting a folder or something. But this is not specifically made for that. So I am not actually sure that this works.

  5. #5
    Join Date
    Apr 2008
    Posts
    3,295

    Re: Time settings in Linux

    You can do this using df (disk free). This command allows you to empty some disk space. The Linux os divides the RAM in to parts which are termed as pages. The swapping of the same is called swap space in it and the same can free up your page memory. So you can try to swap space to end some disk space. This will give more spaces and free up your system.

  6. #6
    Join Date
    Nov 2005
    Posts
    3,026

    Re: Time settings in Linux

    Using the command apm, for example: $ apm AC on-line, battery status critical: 100%. This command will show you the remaining battery in your laptop. And for the swapping thing it is necessary for two reasons. First when a system needs more physical memory and the second when the current applications need more memory support for working.

Similar Threads

  1. WDTV live help for the first time settings
    By N^GarJuna in forum MediaCenter
    Replies: 4
    Last Post: 10-02-2012, 04:59 AM
  2. Printer time settings coming from NTS
    By ndaka123488 in forum Hardware Peripherals
    Replies: 3
    Last Post: 13-09-2011, 06:14 PM
  3. Norton: Blocked Time Settings Not Working
    By mahaFEB in forum Networking & Security
    Replies: 4
    Last Post: 04-01-2011, 03:37 AM
  4. Time Machine: Restore emails and settings?
    By Smo-king in forum Operating Systems
    Replies: 4
    Last Post: 23-02-2010, 06:31 PM
  5. Mouse settings reset to default every time
    By Carley in forum Vista Hardware Devices
    Replies: 3
    Last Post: 28-01-2010, 08:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,263,958.62354 seconds with 16 queries