• Using CDPATH environment to accelerate navigation among multiple commonly used directories.


    Using CDPATH environment to accelerate navigation among multiple commonly used directories.

    Using CDPATH environment to accelerate navigation among multiple commonly used directories.

    It is common that we want to change directory (cd command) between several directories, in which case the simple (cd -) command is not enough.

    That is where the CDPATH comes to help, you can set the most often used directories in ~/.bashrc file using the following format:

    export CDPATH=.:/home/wujing/work/huawei-test:/home/wujing/work/myprogram/researchprog/io-scheduling

    and then execute

    source ~/.bashrc

    The cd command will list the subdirectories inside the given paths.

    Author: wujing

    Created: 2014-10-14 二 20:08

    Emacs 24.3.1 (Org mode 8.2.6)

    Validate

  • 相关阅读:
    第八章 对象
    第七章 压缩列表
    第六章 整数集合
    Java中的Unsafe
    站在Java的角度看LinkedList
    Java内部类详解
    浅析Java中的final关键字
    ConcurrentHashMap
    阻塞队列
    线程池的使用和实现
  • 原文地址:https://www.cnblogs.com/wujingcqu/p/4025123.html
Copyright © 2020-2023  润新知