Jump to content

Simply, every time I launch the bash shell I want it to automaticlly launch me in a directory of my choosing. I understand you first have to mount a drive using the cd/mnt/(drive) command. But I would like to automate this process to a full directory path.

 

I did try to start a shell script but i'm not really sure what i'm doing:

 

#!/bin/bash

cd /mnt/e/Personal/Academic/DMU/Year_2/CTEC2901/Exercises 

If anyone has any ideas, that would be great.

 

   
   
Link to post
Share on other sites

16 hours ago, GoodBytes said:

You don't need to mount any drive. Windows already mounts your drives/partitions.

 

 

Well it starts in root for me. And I have to manually type in cd/mnt/(drive) Besides it doesn't answer the question.

   
   
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×