| | |
Create scripts like bash
![]() |
•
•
Join Date: Aug 2009
Posts: 4
Reputation:
Solved Threads: 0
Hi everyone,
Every time I start my laptop, I must point to Places menu and mount the drive D: where contains my documents. D: and Linux partition are different. I want to mount automatically when the computer starts. How does that make such that?
And the other one is:
I must type a long command to change current directory, e.g:
$ cd /media/Programs/Study/Linux....
I want to make a script and place it in the user's folder. To go to the directory quickly, I need to run the script.
I always appreciate any solutions.
Thanks and best regards,
Every time I start my laptop, I must point to Places menu and mount the drive D: where contains my documents. D: and Linux partition are different. I want to mount automatically when the computer starts. How does that make such that?
And the other one is:
I must type a long command to change current directory, e.g:
$ cd /media/Programs/Study/Linux....
I want to make a script and place it in the user's folder. To go to the directory quickly, I need to run the script.
I always appreciate any solutions.
Thanks and best regards,
•
•
Join Date: Nov 2009
Posts: 10
Reputation:
Solved Threads: 0
0
#2 26 Days Ago
You could do it with a script but edit /etc/fstab is the the way to go.
First cp /etc/fstab /etc/orig-fstab Do it as root/sudo
example fstab
You would normally mount it like
mount -t ntfs-3g /dev/sdb(1) /mnt/where-ever/
First cp /etc/fstab /etc/orig-fstab Do it as root/sudo
example fstab
You would normally mount it like
mount -t ntfs-3g /dev/sdb(1) /mnt/where-ever/
![]() |
Similar Threads
- hey, any 1 interested in helping out for scripting (Game Development)
- pyGTK and the Mandate of Sudo (Python)
- looking for.... (Shell Scripting)
- Need help in Shell script (Shell Scripting)
- Help with a calendar script... (HTML and CSS)
- Windows script need help (Computer Science)
- need help with a project (Shell Scripting)
- see my errors :-( (Python)
- which lang to choose (C++)
Other Threads in the Getting Started and Choosing a Distro Forum
- Previous Thread: I have problem with this case code
- Next Thread: graphical problem
Views: 914 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Getting Started and Choosing a Distro
age-related android baremetal chrome cio cloud cloudcomputing code commercial computers crystalballsunday desktop developers development distributions distro dsl elderly embedded filesystems forums google http://expertcore.org/ innovations jauntyjackalope joe_brockmeier kernel library linus linux microsoft multi-core netgear newbies novell openoffice.org opensuse open_source operating operatingsystems parallel performance processing redhat routers smp solaris studios system systembuilders systemintegrators terminalservices thecloud thinclients tools ubuntu users virtualization vmware webbased wikis windows xenon





