박규리

linux command message

No preview for this file type
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ wc -w app.js
98 app.js
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments (master)
$ tar -cf assignment01.tar assignment01
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ ls | sort | wc -w
3
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ ll -SS
total 17
-rw-r--r-- 1 Kyuri 197121 10240 May 6 05:03 assignment01.tar
-rw-r--r-- 1 Kyuri 197121 881 May 6 05:00 app.js
-rw-r--r-- 1 Kyuri 197121 303 May 6 05:00 package.json
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ grep -i -r "test" *
package.json: "test": "echo \"Error: no test specified\" && exit 1"
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ find . -empty -type d
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ find . -ctime +7
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ find -type f -ctime +7 | xargs rm -f
Kyuri@DESKTOP-M7U98VH MINGW64 /d/Users/Park/Desktop/experiment/OSS/Experiments/express/assignments/assignment01 (master)
$ find ./* -size +1k -size 1M
./assignment01.tar