2024-10-02
Note: when it says “print” it means print to the terminal or somewhere else, not to paper.
Six. git is the program name, log (1) --follow (2) --date=iso8601 (3) --pretty=format:'%H %ad %d' (4) main (5) index.html (6)
/tmp directorytest.txt in this new directory with content “hello everyone”many hellos.txt (with a space), containing 10 lines with the word “hello”test.txt and many hellos.txttest.txt to the B directorytest.txt file to onehello.txtonehello.txttest.txt to the B directory with name onehello.txtB directoryTry to remove the A directory
Remove the files in the A directory and remove it
Print the working directory and store it in ~/projects/mydir.txt
Print the working directory twice and store it in ~/projects/mydirs.txt