Tag Info

New answers tagged


You could give the shell some arguments, so that it starts slightly differently. eg. /bin/sh -c "cd /mnt/flash;exec /bin/sh" Starting with -c which will execute commands in following string. First command is the directory change, followed by exec which will start a new shell (in the same process) which is now starting in your desired directory. Update: ...

Top 50 recent answers are included