I recently has problem on uploading the file to gcloud services, so the solution is suggested as below
is add the username@ instances name
that solve the problem
2019年5月30日星期四
2019年2月27日星期三
Linux and aws
what the hell, keep facing the error cannot save text file under gedit in virtual box
so following the procedure here
https://unix.stackexchange.com/questions/52951/gedit-wont-save-a-file-on-a-virtualbox-share-text-file-busy
so following the procedure here
https://unix.stackexchange.com/questions/52951/gedit-wont-save-a-file-on-a-virtualbox-share-text-file-busy
What fixed it for me (still a bit annoying but works), and is applicable to gedit, is to:
edit - preferences - editor Put a check on "Create backup copy"
When saving from now on, save the file once, ignore the error, save again. works every time.
2019年1月28日星期一
note for using LINUX
haha, first time join a company using Linux, dont even know how to close the file using vi command
just press escape, it will go out of the text and go the last line, then press SHift +semi colon, thenit will appear, then you pressre q +exclamation, then last one, and omost important one, just press enter, then magic will appear.
happy to solve the problem.
also need to take note the OpenFOAM. just type writenow and save file, it will terminate immediately,
iyou can change start now from last time start. then it will start from lasttimestep.
useful vi command
https://www.cs.colostate.edu/helpdocs/vi.html
just press escape, it will go out of the text and go the last line, then press SHift +semi colon, thenit will appear, then you pressre q +exclamation, then last one, and omost important one, just press enter, then magic will appear.
happy to solve the problem.
also need to take note the OpenFOAM. just type writenow and save file, it will terminate immediately,
iyou can change start now from last time start. then it will start from lasttimestep.
useful vi command
https://www.cs.colostate.edu/helpdocs/vi.html
订阅:
博文 (Atom)