Quantcast
Channel: Techgurulive.com » functionality
Viewing all articles
Browse latest Browse all 10

How to Perform mkdir and cd using a single command

$
0
0
Linux: Perform mkdir and cd using a single command If users are creating a new directory, they may cd to the new cirectory immediately to perform some work as shown below. Perform mkdir and cd using a single command: # mkdir -p /tmp/subdir1/subdir2/subdir3 # cd /tmp/subdir1/subdir2/subdir3 # pwd /tmp/subdir1/subdir2/subdir3 Add the following to the  .bash_profile [...]Related posts:
  1. How to use Grep command – Linux Popular Command
  2. How to Control the total number of lines in the history using HISTSIZE

Viewing all articles
Browse latest Browse all 10

Trending Articles