Long Time No See and some bash codes tips
Hey there, it has been a month since I updated my posts. In the past month I struggled with all those troublesome stuffs emerging at the beginning of the campus life in UIUC.Actually I am still struggling with them now
So much for the complaints, I’ve enrolled in the cs124 honor course besides the cs124. These two classes are in fact not correlated at all. The cs124 honor is mainly held by a group of senior students.
And no credit hour is given for this course. What I can get is, basically, well, honor?
All in all, they are training us with bash and git for future projects.
I learned bash this week and luckily found that it was just like how the terminal in Linux OS worked.
Here are some notes:
touch file.extis used to create a file. The type of the file depends on the extension you give.echo "string"andecho "string" > file.extThe first command prints the content in the string in a new line, and the second one prints the string into the fil. Using the “>” redirect sign, you can write the string directly into the file through terminal, but “>” will delete the original content and “>>” won’tcat file.extprints the content in the file to the terminal
I think these are things to be noticed during my bash learning. So much for that.
Long Time No See and some bash codes tips
http://gong208.github.io/2023/02/01/2022-08-31-Long_Time_No_See/