★Linux★리눅스★
-
Move files to directory based on extension (zsh, macOS)★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 23. 09:12
Move files to directory based on extension (zsh, macOS) https://unix.stackexchange.com/questions/696200/move-files-to-directory-based-on-extension-zsh-macos Move files to directory based on extension (zsh, macOS) I want to have a script to automatically move all files into a directory structure that I have in place (it looks like ~/jpg, ~/png, ~/mp3, ~/zip, and so on). So far, this is almost doi..
-
Linux/Mac Terminal Commmands] ❤️>_ find❤️-Corey Schafer★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 17. 23:48
https://www.youtube.com/watch?v=KCVaNb_zOuw https://youtu.be/peM8bpmTfTE find . 현재 폴더 다 나옴. tree같은 느낌 find Website_Demo 폴더와 파일 다 나옴. find . -type d 디렉토리만 검색됨 find . -type f 파일만 다 나옴. find . -type f -name "test_1.txt" text_1.txt 파일 찾음 find . -type f -name "test*" text뒤에 비슷한거 다 찾아줌 find . -type f -iname "test*" text뒤에 비슷한거 다 찾아줌 대소문자 구분 없이 전부 다 . find . -type f -name "*.py" 파이썬 파일 다 찾아줌. find . -t..
-
[리눅스명령어ls]ls -la 해서 파일 자세히 의미list file and directory names and attributes★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 17. 23:29
https://www.mkssoftware.com/docs/man1/ls.1.asp ls -- list file and directory names and attributes ls [-AabCcdFfghikLlmnopqRrstux1] [-timeout seconds] [-streams] [-X attr] [pathname...] ls lists files and directories. If the pathname is a file, ls displays information on the file according to the requested options. If the pathname is a directory, ls dis www.mkssoftware.com 관련 동영상 https://www.yout..
-
sudo shutdown -h now 맥os터미널 창에서 컴퓨터 종료 시키기★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 16. 21:58
https://www.howtogeek.com/512304/how-to-shut-down-your-mac-using-terminal/ How to Shut Down Your Mac Using Terminal If you shut down your Mac in Terminal, you get more options and flexibility than using the shutdown option in the Apple menu or the power button. Here’s how you do it! www.howtogeek.com 컴퓨터 종료 시키기 sudo shutdown -h now sudo shutdown -h sudo shutdown -h +1 1분 후에 꺼짐 sudo shutdown -h 2..
-
Linus Torvalds ponders limits of automation as kernel release delayed★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 14. 18:27
https://www.theregister.com/2022/03/14/linux_5_17_rc8/ Chip bugs delay Linux Kernel 5.17 release by a week Spectre-like flaw has made an eighth release candidate necessary www.theregister.com
-
grep 사용법 내가 원하는 키워드가 있는지 검색하기!!★Linux★리눅스★/Linux★명령어★Ubuntu★command 2022. 3. 12. 21:52
grep -i "cfg" src/main.rs ❯ grep -i "cfg" src/main.rs // #[cfg(not(target_os = "linux"))] // configuration #[cfg(target_os = "linux")] #[cfg(not(target_os = "linux"))] main.rs 파일 안에 cfg 문구가 있으면 출력해줌. ㅋㅋ 대박 1분 59초에 나옴. https://www.youtube.com/watch?v=rrB13utjYV4 grep 더 자세히 알아보기 Linux/Mac Terminal Tutorial: The Grep❤️Command - search Files and Directories for - https://economiceco.tistory.com/m/12..