728x90 ๋ฐ์ํ ๐ง์ด์์ฒด์ /๋ฆฌ๋ ์ค34 ๋ฆฌ๋ ์ค - Ubuntu ๋์ค์ฝ๋ ํ๋ฉด ๊ณต์ ์ค๋ฅ ํด๊ฒฐ Steps (detailed explanation of the steps are above):- echo $XDG_SESSION_TYPE (if it say wayland and not X11 follow with the below)- open the config sudo nano /etc/gdm3/custom.conf- Change #WaylandEnable=false to WaylandEnable=false- CTRL+O and enter to write out changes & CTRL+X and enter to close the session- Reboot ์ถ์ฒ:https://askubuntu.com/questions/1516688/im-having-issues-with-screen-sharin.. 2024. 11. 15. ๋ฆฌ๋ ์ค - ํน์ ์ฌ์ฉ์ sudo ๊ถํ ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ๋ค(sudoers) ํน์ ์ฌ์ฉ์์๊ฒ sudo ๊ถํ์ ์ฃผ๋ ๋ํ์ ์ธ ๋ฐฉ๋ฒ๋ค 1. /etc/sudoers ์ค์ ํ์ผ ์์ 2. sudo ๊ทธ๋ฃน์ ์ฌ์ฉ์ ์ถ๊ฐ ์ฌ์ ์ค๋น - ์๋ก์ด ์ฌ์ฉ์ ๋ง๋ค๊ธฐ janger@desktop:~$ sudo useradd -m dummy janger@desktop:~$ echo "dummy:dummy" | sudo chpasswd -m : ํ ๋๋ ํฐ๋ฆฌ ์๋ ์์ฑ janger@desktop:~$ cat /etc/passwd | grep dummy dummy:x:1001:1001::/home/dummy:/bin/sh ์๋ก ์๊ธด ์ ์ ์ ๋ณด๋ฅผ ํ์ธ 1. /etc/sudoers ์ค์ ํ์ผ ์์ sudoers ์ค์ ํ์ผ์ ์์ ํ๊ธฐ ์ํด์๋ ์ฐ์ ์ฐ๊ธฐ ์ต์ ์ ์ถ๊ฐํด์ผ ํ๋ค. ์๋๋ sudoers์ ๊ธฐ๋ณธ ์์ฑ ์ ๋ณด์ด.. 2023. 11. 9. ๋ฆฌ๋ ์ค - ์์ดํผ ๋ณ๊ฒฝํ๋ ๋ฐฉ๋ฒ(/etc/network/interfaces) ์์) ์ฌ์ค ์์ดํผ 192.168.57.10์ 192.168.57.30์ผ๋ก ๋ณ๊ฒฝํ๊ณ ์ถ์ ๊ฒฝ์ฐ ํธ์ง๊ธฐ(vi, nano)๋ก /etc/network/interfaces ์ด๊ธฐ nano /etc/network/interfaces ์์ ์ /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hot.. 2023. 10. 31. ๋ฆฌ๋ ์ค - ํ๋๋ฅผ ๊ตฌ๋ถํ์ฌ ๋ฌธ์ ์ถ์ถํ๊ธฐ(awk) ์์ ํ๋ ์ถ์ถ. abc def ghi๋ผ๋ ๋ฌธ์๊ฐ ์์ ๊ฒฝ์ฐ์ ํ๋1(abc)๋ง ์ถ์ถํ๊ณ ์ถ์ ๊ฒฝ์ฐ echo abc def ghi | awk '{print $1}' abc ๋ ๊ฐ ์ด์์ ํ๋ ์ถ์ถ. ํ๋1(abc), ํ๋2(def)๋ฅผ ์ถ์ถํ๊ณ ์ถ์ ๊ฒฝ์ฐ echo abc def ghi | awk '{print $1, $2}' abc def ์์์ ๋ฌธ์์ด ์ถ๊ฐ. ํ๋1(abc), ํ๋2(def) ํ๋3(ghi)์ ์ถ์ถํ๊ณ ์ฌ์ด๋ฅผ "-"๋ฅผ ์ฝ์ ํ๊ธฐ echo abc def ghi | awk '{print $1 "-" $2 "-" $3}' abc-def-ghi ํน์ ๋ฌธ์๋ฅผ ๊ธฐ์ค์ผ๋ก ํ๋๋ฅผ ๊ตฌ๋ถํ๊ธฐ. ์ฝ๋ก (:)์ ๊ธฐ์ค์ผ๋ก ํ๋๋ฅผ ๊ตฌ๋ถํ๊ณ ์ถ์ ๊ฒฝ์ฐ echo abc:def:ghi | awk -F ':' '{ prin.. 2023. 7. 16. ์นผ๋ฆฌ๋ฆฌ๋ ์ค - ํ๊ธ ๊นจ์ง ํด๊ฒฐ, ํ๊ธ ํค๋ณด๋ ์ค์น ์คํฌ๋ฆฝํธ sudo apt update -y sudo apt install fonts-nanum -y sudo apt install fcitx-lib* -y sudo apt install fcitx-hangul -y sudo reboot ์ถ์ฒ: https://awesomek.tistory.com/entry/2020%EB%85%84-Kali-Linux-%ED%95%9C%EA%B8%80%EA%B9%A8%EC%A7%90-%ED%98%84%EC%83%81-%ED%95%B4%EA%B2%B0%ED%95%98%EA%B8%B0 2020๋ Kali Linux ํ๊ธ๊นจ์ง ํ์ ํด๊ฒฐํ๊ธฐ ์นผ๋ฆฌ ๋ฆฌ๋ ์ค 2020๋ ๋ฒ์ ์ค์น ์๋ ๋งํฌ ์ฐธ๊ณ ํด์ฃผ์ธ์. https://awesomek.tistory.com/entry/%ED%95%B4%ED%82%.. 2023. 6. 24. ๋ฆฌ๋ ์ค - ๋ช ๋ น์ด ์นํ(command substitution) / ๋ช ๋ น์ด ์คํ ๊ฒฐ๊ณผ๋ฅผ ๋ช ๋ น์ด์๋ค ์ ๋ฌํ๊ธฐ ๋ช ๋ น์ด1์ ์คํ ๊ฒฐ๊ณผ๋ฅผ ๋ช ๋ น์ด2์ ์ ๋ฌํด์ผ ํ๋ ๊ฒฝ์ฐ๊ฐ ์๋ค. ๊ทธ๋ด๊ฒฝ์ฐ์๋ 2๊ฐ์ง ๋ฐฉ๋ฒ์ด ์๋๋ฐ ํ๋๋ ํ์ดํ๋ผ์ธ(| ) ์ฌ์ฉ๊ณผ ๋ค๋ฅธ ํ๋๋ ๋ช ๋ น์ด ์นํ(`, $) ์ฌ์ฉ ๋ฐฉ๋ฒ์ด๋ค. ๋ ๋ฐฉ๋ฒ์ ๋น์ทํ ์ญํ ์ ํ์ง๋ง ๋ช ๋ น์ด ์นํ์ ์ฃผ๋ก ๋ช ๋ น์ด ์ถ๋ ฅ์ ๋ณ์์ ํ ๋นํ๊ฑฐ๋ ์ธ์๋ก ์ฌ์ฉํ๋ ๊ฒฝ์ฐ์ ์ฌ์ฉ๋๊ณ , ํ์ดํ๋ผ์ธ์ ๋ช ๋ น์ด์ ์ถ๋ ฅ์ ๋ค๋ฅธ ๋ช ๋ น์ด์ ์ ๋ ฅ์ผ๋ก ์ ๋ฌํ์ฌ ์ฐ์์ ์ธ ์ฒ๋ฆฌ๋ฅผ ์ํด ์ฌ์ฉ๋๋ค. 1. ํ์ดํ๋ผ์ธ(|) ์ฌ์ฉ ~ $ echo hello world | cowsay _____________ ------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || 2. backtick(`) ์ฌ์ฉ ~ $ cowsay `echo hello .. 2023. 6. 17. ๋ฆฌ๋ ์ค - WSL 2, Docker, VirtualBox ํจ๊ป ์ฌ์ฉ (Hyper-V ๋นํ์ฑํ) WSL 2, VirtualBox ๋์์ ์ฌ์ฉ ์ธ์ฆ ๋ฐฉ๋ฒ Hyper-V "๋นํ์ฑํ" ๊ฐ์ ๋จธ์ ํ๋ซํผ "ํ์ฑํ" ์ดํ ์ปดํจํฐ ์ฌ๋ถํ Docker Hpyer-V ์์ด ์ฌ์ฉ Docker ์คํ์ Hyper-V๊ฐ ๋นํ์ฑํ๋ ๋์ WSL 2 ๊ธฐ๋ฐ์ผ๋ก ์คํํ๋๋ ๋ฉ์์ง๊ฐ ๋จ๋ฉด "Switch to WSL 2" ํด๋ฆญํ๊ฑฐ๋ Settings - General - Use the WSL 2 based engine ์ฒดํฌ 2023. 5. 22. ๋ฆฌ๋ ์ค - ์๋ชป ์ค์นํ ํจํค์ง ๊ฐ์ ์ญ์ (dpkg --purge) sudo dpkg --purge sudo dpkg --purge --force-remove-reinstreq ์ถ์ฒ: https://wiki.terzeron.com/ko/OS_%EC%9D%BC%EB%B0%98_%EC%8B%9C%EC%8A%A4%ED%85%9C/Unix%EC%99%80_Linux_Tips/Ubuntu_Linux%EC%97%90%EC%84%9C_%EC%9E%98%EB%AA%BB_%EC%84%A4%EC%B9%98%EB%90%9C_%ED%8C%A8%ED%82%A4%EC%A7%80_%EC%A0%9C%EA%B1%B0%ED%95%98%EA%B8%B0 Ubuntu Linux์์ ์๋ชป ์ค์น๋ ํจํค์ง ์ ๊ฑฐํ๊ธฐ wiki.terzeron.com 2023. 5. 18. ๋ฆฌ๋ ์ค - WSL 2 Ubuntu ๊ธฐ๋ณธ ๋ก๊ทธ์ธ ์ฌ์ฉ์ ๋ณ๊ฒฝ ๋ฐฉ๋ฒ 1. ํ์ค ๋ช ๋ น์ด๋ก ๊ธฐ๋ณธ ๋ก๊ทธ์ธ ์ฌ์ฉ์ ๋ณ๊ฒฝ ubuntu config --default-user ์ถ์ฒ: https://askubuntu.com/questions/816732/how-to-change-default-user-in-wsl-ubuntu-bash-on-windows-10 How to change default user in WSL Ubuntu bash on Windows 10 I installed the WSL Bash on Windows 10 and set my user to e.g. 'abc' but now I want to change it to something else. How can I change the user name of the user I'm logged in as? W.. 2023. 5. 17. ๋ฆฌ๋ ์ค - WSL 2 Ubuntu ๋๋ผ์ด๋ธ ๋ณ๊ฒฝ(C:๋๋ผ์ด๋ธ์์ D:๋๋ผ์ด๋ธ๋ก) ์ปดํจํฐ์ WSL 2 Ubuntu๊ฐ ์ค์น๋ ์ง ํ์ธํ๋ ๋ช ๋ น์ด wsl --list -v WSL 2 Ubuntu ์ข ๋ฃ ๋ช ๋ น์ด wsl -t Ubuntu C: ๋๋ผ์ด๋ธ์ ์ค์น๋ WSL 2 Ubuntu Export ํ๊ธฐ wsl --export Ubuntu "D:\wsl_export\ubuntu-ex.tar" C: ๋๋ผ์ด๋ธ์ WSL 2 Ubuntu ์ ๊ฑฐ wsl --unregister Ubuntu D: ๋๋ผ์ด๋ธ์ WSL 2 Ubuntu ๋ฑ๋ก wsl --import Ubuntu "D:\wsl_import\ubuntu" "D:\wsl_export\ubuntu-ex.tar" ์ถ์ฒ: https://dev.to/mefaba/installing-wsl-on-another-drive-in-windows-5c4a Installin.. 2023. 5. 17. ๋ฆฌ๋ ์ค - ๋ฐ์คํฌํฑ ํ๊ฒฝ ํ ๋ง ๋ชจ์ https://www.pling.com/ www.pling.com A community where developers and artists share applications, themes and other content www.pling.com 2023. 5. 17. ๋ฆฌ๋ ์ค - GNOME ํ์ฅ ๋ชจ์(GNOME EXTENSIONS) https://extensions.gnome.org/ ๊ทธ๋ ์ ํ์ฅ extensions.gnome.org 2023. 5. 17. ์ด์ 1 2 3 ๋ค์ 728x90 ๋ฐ์ํ