ITPub博客

首页 > > > Linux handbook of Kangry

Linux handbook of Kangry

作者:Ruiyuan Li 时间:2016-11-27 00:00:00 0 删除 编辑
  • Uninstall program

    • list all program you have installed: dpkg --list

    • uninstall the program you want to remove, it is a command to remove both program and config files: sudo apt-get --purge remove <programname>

    • if you do not expect to delete config files, you can use this command: sudo apt-get remove <programname>

  • Change Time Zone

    • First, sudo dpkg-reconfigure tzdata

    • Then, select your location

  • Reboot Linux

    • sudo reboot

    • sudo shutdown -t now

  • Compress or uncompress

    • .tar: tar -xvf FileName.tar (unpackage), tar -cvf FileName.tar DirName (package)

    • .tar.gz and .tgz: tar -zxvf FileName.tar.gz (uncompress), tar -zcvf FileName.tar.gz DirName(compress)

  • Change the password

    • passwd (username)

转载请注明: » Linux handbook of Kangry
<!-- -->

原文作者:;如有侵权,请联系管理员删除。

下一篇: win8一些快捷键
请登录后发表评论 登录
全部评论

注册时间:2020-05-21

  • 博文量
    495
  • 访问量
    4824