[ILUGC] Re: 1D1C - pushd

  • From: KUMARAN T <kumaran88thiru@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Tue, 3 Jan 2023 13:39:36 +0530

Hello Everyone,
                       i will share i am using Technique https://cheat.sh/
                       https://github.com/chubin/cheat.sh This Project help
to get all commands cheat sheet Including Linux,docker,ansible,psql,mysql
and also programming Languages (python,java,go)
                       1) curl cheat.sh/(commandname) /  subtopics
                        Example curl cheat.sh/ pushd
[image: image.png]
   some example Like Python
       curl cheat.sh/python/oops

[image: image.png]

    curl cheat.sh/docker

[image: image.png]

curl cheat.sh/mysql/usercreation
[image: image.png]
 pls check it out ..and check the repository Documentation
https://github.com/chubin/cheat.sh#command-line-client-chtsh
  And also extension sublime text and vscode also

On Tue, Jan 3, 2023 at 6:01 AM Dhanasekar <tkdhanasekar@xxxxxxxxx> wrote:

syntax
$ pushd [OPTIONS] [DIRECTORY]

To add directories
$ pushd ~/Videos
$ dirs -l -v
$ pushd ~/Music
$ pushd ~/Downloads
$ pushd ~/Desktop
$ pushd ~/Templates

To add a new directory without modifying the current directory
$ pushd -n directory
$ pushd -n ~/Documents

To Move to a directory at any position in the stack
$ dirs -l -v
$ pushd +2
when executed the second position directory will now at the top of the
stack



regards,
T.Dhanasekar


---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat



-- 
Thanks & Regards
   T.kumaran



---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat

Other related posts: