bash simple task, save dir and cd there (5 easy stars)
Budget: $10 – $30 USD
seems like a simple thing
a) how can I print the folder I am in right now on line 3?
b) how can I cd to the value that is in "savedir.txt" ?
#!/bin/bash
cd /tmp/wrk
echo "folder now.......$pwd"
mkdir /tmp/newfolder
pwd > /tmp/newfolder/savedir.txt
cd /tmp/newfolder
echo test>test.txt && ls -l
# need to cd to value in savedir.txt
~
SINCERELY WOULD BE NICE TO MEET YOU PLEASE
There is hope you can give your “best” price; unemployed, and have cancer with bills backing up. Is $12 good? or close to it?
ANY THOUGHTS ? Please note project is due in two hours as this projects deadline, as this is needed if we can get some done - then we can talk about next steps and 5 stars and another job also. If this is a good one and we are "successful"; would need a couple others setup, but will handle one at a time? Can you do this for something reasonable in a couple hours? thoughts ?
a) how can I print the folder I am in right now on line 3?
b) how can I cd to the value that is in "savedir.txt" ?
#!/bin/bash
cd /tmp/wrk
echo "folder now.......$pwd"
mkdir /tmp/newfolder
pwd > /tmp/newfolder/savedir.txt
cd /tmp/newfolder
echo test>test.txt && ls -l
# need to cd to value in savedir.txt
~
SINCERELY WOULD BE NICE TO MEET YOU PLEASE
There is hope you can give your “best” price; unemployed, and have cancer with bills backing up. Is $12 good? or close to it?
ANY THOUGHTS ? Please note project is due in two hours as this projects deadline, as this is needed if we can get some done - then we can talk about next steps and 5 stars and another job also. If this is a good one and we are "successful"; would need a couple others setup, but will handle one at a time? Can you do this for something reasonable in a couple hours? thoughts ?