PDA

View Full Version : [xubuntu] Scripting?



DanHorniblow
September 11th, 2011, 05:25 AM
Hi, All of my files that I use daily I store on a home server, which I access via sshfs. I just simply mount my "/home/dan/Documents/" on my laptop to "/home/dan/Documents/" on my home server.

Now this is all good apart from every time I boot up my laptop I have to type a command into terminal.

Could the command be put into a script file, that I just run when I login?

An Sanct
September 11th, 2011, 09:22 AM
crate a sh file (bash script), make sure it is runnable and put it into the startup applications list.

nothingspecial
September 11th, 2011, 12:13 PM
One way of doing this would be editing /etc/fstab, here is a guide

https://help.ubuntu.com/community/SSHFS