Create and access directory at the same time

mkdir [[folder]] && cd $_
The previous alternative dont work (the cd command was missing).

2
By: mlinoba
2018-10-11 16:40:53

2 Alternatives + Submit Alt

What Others Think

yeah, I completely forgot the cd. Thanks for helping, I've edited my command.
ehmuidifici · 162 weeks and 5 days ago
I put alias mkdirr='function _mkdirr(){ mkdir $1 && cd $_;};_mkdirr' in my .bashrc file.
nickvence · 159 weeks and 4 days ago
This commandlinefu site has been updating about create and access directory at the same time, command was missing. I am getting here essay roo more essay reviews and sharing the effective assignment thoughts as well.
dhoninese · 98 weeks and 1 day ago
Command-line is the only website that helps you to create and detect computer work. It has a wide map for the detection of some sales out forums. You can check https://icasinoreviews.info/bally-casino/ to get cheap casino games. Join their website for more information.
Lere1953 · 96 weeks and 5 days ago
This command is so simple, but it is very effective. I love programming, so I went to college to study programming. But before I entered, I hesitated for a long time whether to go to college or not. So at https://tooly.io/is-college-worth-it/. I found a lot of essays on "is college worth it" and decided I wanted to study. On tooly.io you will find essays on any topic and they are all very high quality. You will be as happy as I am. Now I study in college and study such cool things as presented here.
KurtWoodard · 87 weeks and 3 days ago
Canada homework help
JerrySheppard · 84 weeks and 5 days ago
By the way, they wrote here about homework. This is familiar to me, constantly asked and a lot, just no strength to write it constantly. But I can help beginners who are looking for a real chance and so on. It is also good that my friends helped me and my acquaintances about how it is possible to find a company that can assignment writing help without any problems and these guys really helped, so get acquainted, I hope that I can somehow help each student now.
Manicopus · 60 weeks and 5 days ago
Thank you for sharing this useful material. The information you have mentioned here will be useful. I would like to share with you all one useful source https://qualitycustomessays.com/order-discussion-board-post-online/ which might be interesting for you as well.
jaimebradley · 50 weeks ago
For me, your discussion is important because it is informative for me. I like to find new information. I often use different services for my university studies. For example, I can order an essay on this service https://123helpme.org/articles/nursing-paper-writing-service/ .
robertcooper · 40 weeks and 4 days ago
Latricia31 · 39 weeks and 1 day ago
Looking for an London escort? It's possible to book our [experienced Italian escorts in London](http://www.escortvalentina.com) for outcall escort service in London. To get more information about an escort lady please click on view full profile.
Latricia31 · 39 weeks and 1 day ago
Those who are studying in school at https://www.academicsaviour.com/wangke-daixie for the first online course can be worried about the homework they will encounter. What should they do? Especially those students who are accustomed to face-to-face education, may not really know what the online classwork they are facing at first, so they go to the online class generation agency for help. Then let us learn some common online classroom assignments. 1) Read or watch, then answer the question: This type of network assignment is very similar to a face-to-face assignment. Teachers provide students with video courseware, articles or chapters of a book, and arrange a series of questions for students. Students can read or browse these learning materials according to their own learning pace, as long as they can complete it before the deadline. In general, this type of operation is relatively free and easy and easy to master.
illianna · 34 weeks and 4 days ago
Need for the assignment help in Uk. Treat Assignment Help is one of the best assignment help provider companies in the UK. It tends to provide online assignment help along with Management Assignment Help, Accounting Assignment Help, Finance Assignment Help, HR Assignment Help, Marketing Assignment Help and MBA Assignment Help and so on.
lizaminnelli · 1 week ago
Many of my friends have told me about playing slot machines and I never understood it until I tried it myself! I liked this https://betsofa.com/ site in this regard, which works great and satisfies my excitement!
policherr · 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: