书栈网 · BookStack 本次搜索耗时 0.009 秒,为您找到 1975 个相关结果.
  • Hack-2 CD的别名

    CD的别名 CD的别名 这也是一个小技巧,用途很广泛,用alias 设置别名: 比如,如果要想返回上一层目录,你可能会这样做:cd .. ,是不是很烦? 那么这种方法可能会让你有点吃惊: ➤ pwd / home / mr ➤ cd .. #返回上一层目录 ➤ pwd / home ➤ cd / home /...
  • Hack 101. Renice Command Examples

    Hack 101. Renice Command Examples How to decrease the priority of a running process? (Increase nice) How to increase the priority of a running process? (Decrease nice) Hack 1...
  • Hack 94. Du Command Examples

    Hack 94. Du Command Examples How much space is taken by my home directory and all its subdirectories? Hack 94. Du Command Examples by Ramesh du command (disk usage) will p...
  • Hack 48. Tar Command Basics

    Hack 48. Tar Command Basics How can I create a single backup file of all files and subdirectories under my home directory? How do I view all the files inside the tar archive? How...
  • Hack 33. PROMPT_COMMAND

    Hack 33. PROMPT_COMMAND Hack 33. PROMPT_COMMAND by Ramesh Bash shell executes the content of the PROMPT_COMMAND just before displaying the PS1 variable. ramesh@dev - db ~...
  • Hack 25. Cut Command Examples

    Hack 25. Cut Command Examples Display the 1st field (employee name) from a colon delimited file Display 1st and 3rd field from a colon delimited file Display only the first 8 cha...
  • Hack 22. Xargs Command Examples

    Hack 22. Xargs Command Examples Xargs Example 1: Xargs Example 2: Xargs Example 3: Xargs Example 4: Xargs Example 5: Hack 22. Xargs Command Examples by Ramesh xargs is...
  • Hack 18. Find Command Examples

    Hack 18. Find Command Examples How to find files containing a specific word in its name? How to find all the files greater than certain size? How to find files that are not modif...
  • Hack-83 循环转存日志

    循环转存日志 循环转存日志 其实我也不知道怎么翻译才好… 英文叫做 rotate log, 大概的意思是按照时间或大小将日志循环, 如果到了设定的日期或者日志的大小达到阀值之后, 就会自动将日志保存到别处, 然后开启一个新的日志, 这样就不会使得日志过于庞大. 如果按照时间循环的话, 就便于日志的整理和归档. 不仅是apache, 好多服务都可以这...
  • Hack-34 设置硬件时间

    设置硬件时间 几个命令: 设置硬件时间 硬件时间和系统时间有什么区别吗? 当然有了, 硬件时间是主板上的时间, 而系统时间则是系统里面的时间. 系统用两个时钟保存时间:硬件时钟和系统时钟。 硬件时钟(即实时时钟 RTC 或 CMOS 时钟)仅能保存:年、月、日、时、分、秒这些时间数值,无法保存时间标准(UTC 或 localtime)和是否使用...