https://stackoverflow.com/questions/43702546/tensorboard-doesnt-show-all-data-points
1 |
|
For Mac OS, the caffeinate
command is used to prevent a Mac from going to sleep.
1 |
|
To get the summary of a grand total disk usage size of a directory in “Human Readable Format”:
1 |
|
Report file system disk space usage. For example, to get the amount of the remaining disk size in “Human Readable Format”:
1 |
|
On Mac OS, check CPU temperature (this needs to be installed sudo gem install istats
)
1 |
|
On Mac OS, change the default shell to Zsh
1 |
|
On Mac OS, change the default shell to Bash
1 |
|
Check sum on Mac OS
1 |
|
zip using command line
1 |
|
unzip using command line
1 |
|
NVIDIA System Management Interface (nvidia-smi
)
1 |
|
Print newline, word, and byte counts for each file
1 |
|
1 |
|
Search pattern (regular expression)
1 |
|
Search the occurences of some text in all files in a folder.
1 |
|
grep
是一个在文件中搜索文本的命令。
-r
选项表示递归搜索子目录。
-l
选项表示只列出包含匹配文本的文件名。
"blabla"
是要搜索的特定单词。
[folder_path]
是你要搜索的目录的路径。
如果你要在当前目录及其子目录中搜索,
1 |
|
--include="*.py"
选项表示只搜索扩展名为 .py
的文件。
1 |
|