🔥 Linux - Shortcut to Quickly Return to Previous Directory Without Typing the Directory Name

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • Command to switch to last directory - Linux command line shortcut.
    Linux - Shortcut to Quickly Return to Previous Directory Without Typing the Directory Name
    Happy? Please DONATE via PayPal: thankyou.injust...
    Linux provides a shortcut to quickly return to the previous directory without having to specify the directory name.
    You can see from our prompt, that we are currently working in the root media directory. This terminal highlights the directory name in blue.
    Lets now change to the root home directory using the cd change directory command.
    cd
    We type cd and a space,
    /
    a forward slash for root,
    home
    the name of the home directory,
    [ENTER]
    and press enter.
    You can see from the prompt that we are now in the root home directory.
    Now we can use Linux's shortcut to return to the previous media directory without having to specify the directory name.
    cd
    We begin as usual by typing cd and a space,
    -
    But now we simply type dash as our shortcut,
    [ENTER]
    and press enter.
    You can see from the prompt that we are now back in the root media directory.
    [UP ARROW][ENTER]
    We can now repeat the shortcut and quickly move back and forth between the two directories.

Комментарии • 2

  • @MrBengali8080
    @MrBengali8080 3 месяца назад

    ,but your vidieo viewes is very low,,,,there are many reasons,,,,first problem is,,,your vidieo has no seo, ,seo is search engine etc.