• ํฌ๋กฌ ์„ค์น˜

  • ์ฒ˜์Œ์—๋Š” chromium์„ ์ผ๋Š”๋ฐ ๋ฒ„๊ทธ๊ฐ€ ์ข€ ์žˆ์–ด ๋‹ค์‹œ ์›๋ž˜ ํฌ๋กฌ์„ ์„ค์น˜

  • https://www.linuxbabe.com/ubuntu/install-google-chrome-ubuntu-16-04-lts

  • deb ํŒŒ์ผ๋กœ ๋ฐ”๋กœ ์„ค์น˜ํ•˜๋ ค ํ•˜์˜€์œผ๋‚˜ ์˜์กด์„ฑ ๋ฒ„๊ทธ ์ƒ๊น€.

  • ๋ฒ„๊ทธ๊ฐ€ ์—†๋‹ค๋ฉด ๊ทธ๋ƒฅ deb ํŒŒ์ผ ๋”๋ธ”ํด๋ฆญํ•ด์„œ ์„ค์น˜ํ•˜๋ฉด ๋œ๋‹ค.


  • terminal์—์„œ๋„ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ์˜์กด์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒ.

  • ์•„๋ž˜์™€ ๊ฐ™์ด sudo apt-get -f install ๋กœ ํ•ด๊ฒฐ.


  • ๋ณธ๊ฒฉ์ ์œผ๋กœ ์„ค์น˜ํ•ด๋ณด์ž.

For those of you who like to hone their command line skills, here is how to install Google Chrome on Ubuntu 16.04/17.10 using terminal.


Press CTRL+ALT+T to open a terminal window, then edit sources.list file with nano text editor. You need to enter your password.


  • sudo nano /etc/apt/sources.list

Use the down arrow key to scroll to the bottom of this file. Copy the following APT line and paste it at the end of the file.


  • deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

linuxbabe@xenial: ~_011


Press CTRL+O to save the file. Then press CTRL+X to exit out of this file. After that, enter the following command to download Googleโ€™s signing key.


  • wget https://dl.google.com/linux/linux_signing_key.pub

Then use apt-key to add it to your keyring so the package manager can verify the integrity of Google Chrome package.


  • sudo apt-key add linux_signing_key.pub

Now update package list and install the stable version of Google Chrome.


  • sudo apt update

  • sudo apt install google-chrome-stable


  • ํŒŒ์ผ ๊ฒ€์ƒ‰

  • find ํŒŒ์ผ ์ฐพ์„ ์œ„์น˜ ์ง€์ • -name ์ฐพ์„ ํŒŒ์ผ ์ด๋ฆ„

  • find ./ -name aaa.txt

  • ./(ํ˜„์žฌ ํด๋” ๋ถ€ํ„ฐ, ํ•˜์œ„ ํด๋” ํฌํ•จ) aaa.txt ํŒŒ์ผ์„ ์ฐพ์•„๋ผ.



  • ํŒŒ์ผ ๋‚ด๋ถ€ ๋ฌธ์ž์—ด ๊ฒ€์ƒ‰

  • grep -r "์ฐพ์„ ๋ฌธ์ž์—ด" ./*


์˜ˆ๋ฅผ ๋“ค์–ด ์•„๋ž˜์˜ ๋ช…๋ น์€ ./(ํ˜„์žฌ ํด๋” ์•„๋ž˜ ๋ชจ๋“  ํŒŒ์ผ์—์„œ) aaa๋ผ๋Š” ๋ฌธ์ž์—ด์ด ์žˆ๋Š”์ง€ ์ฐพ์•„๋ผ. ํ•˜์œ„ ๋””๋ ‰ํ† ๋ฆฌ ๋ชจ๋‘์—์„œ(-r) ์ด๋‹ค. ์—ฌ๊ธฐ์„œ r์€ recursive

  • grep -r "aaa" ./*

  • grep ์šฐ๋ถ„ํˆฌ (์ด๋ ‡๊ฒŒ ํ•ด๋„ ๊ธฐ์กด ์—ด์–ด๋ดค๋˜ ์šฐ๋ถ„ํˆฌ ํŒŒ์ผ์€ ์—ด๋ฆฌ๋”๋ผ)


  • ์žฌ๋ถ€ํŒ…/ ๋„๊ธฐ

  • ์žฌ๋ถ€ํŒ… : reboot ํ˜น์€  init 6

  • ๋„๊ธฐ: poweroff ํ˜น์€ init 0


  • ํŒจํ‚ค์ง€ ์„ค์น˜/์‚ญ์ œ

  • ์„ค์น˜ : sudo apt-get install <package>

  • ์‚ญ์ œ : sudo apt-get purge <package>

  • sudo apt-get autoremove (์˜์กด ๊ด€๊ณ„์˜ ๋ชจ๋“  ํŒจํ‚ค์ง€ ์‚ญ์ œ)

  • sudo apt-get autoclean (์„ค์น˜ํ• ๋•Œ ๋‚ด๋ ค๋ฐ›๊ธฐ ํ•œ ํŒŒ์ผ ์ง€์šฐ๊ธฐ)

=> ์ฆ‰, sudo apt-get purge ํ•œ ํ›„ sudo apt-get autoremove, sudo apt-get autoclean




  • ํด๋” / ํŒŒ์ผ ๋งŒ๋“ค๊ธฐ / ์‚ญ์ œ

  • ํด๋” - mkdir <folder>

  • ์‚ญ์ œ - rm -r <folder> (์•ˆ์— ๋‚ด์šฉ๊นŒ์ง€ ๋ชจ๋‘ ์‚ญ์ œ)

  • ํŒŒ์ผ ์‚ญ์ œ - rm -f <file>

  • ํŒŒ์ผ ์ƒ์„ฑ๋งŒ ํ•˜๊ธฐ- touch <file>

  • ์ผ๋ฐ˜์ ์ธ ํŒŒ์ผ ๋งŒ๋“ค๊ธฐ - vi <file>

  • ํŒŒ์ผ์ด๋‚˜ ํด๋” ์ด๋™ - mv aa bb cc /dd  (aa,bb,ccํŒŒ์ผ์„ /dd๋กœ ์ด๋™)

mv abc.txt def.txt (abc.txt ํŒŒ์ผ์„ def.txt ํŒŒ์ผ๋กœ ์ด๋ฆ„์„ ๋ฐ”๊พธ๊ณ  ์ด๋™)

  • ํŒŒ์ผ์ด๋‚˜ ํด๋” ๋ณต์‚ฌ - cp abc.txt def.txt

cp -r abc def (abc๋””๋ ‰ํ† ๋ฆฌ๋ฅผ def๋””๋ ‰ํ† ๋ฆฌ๋กœ ๋ณต์‚ฌ)

  • ํŒŒ์ผ ๋‚ด์šฉ๋ณด๊ธฐ - cat aa.txt (๋„์Šค์˜ type๊ณผ ๋™์ผ)

    • head aa.txt (์•ž 10์ค„)

    • tail aa.txt (๋’ค 10์ค„)

    • more aa.txt (ํŽ˜์ด์ง€ ๋‹จ์œ„๋กœ ๋ณด๊ธฐ) / more +10 aa.txt (10์ค„๋ถ€ํ„ฐ ์ถœ๋ ฅ)


  • ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ

  • passwd <user>

  • ์˜ˆ) root๊ถŒํ•œ์„ ๊ฐ€์ง„ ์œ ์ €์˜ ๋น„๋ฒˆ ์ƒ์„ฑ. ์ฒ˜์Œ ์‹คํ–‰์‹œ ๋ฐ”๋กœ ์ƒ์„ฑํ™”๋ฉด์œผ๋กœ ๋“ค์–ด๊ฐ„๋‹ค.

  • sudo passwd root


  • ์‚ฌ์šฉ์ž ์ „ํ™˜

  • su - ufo

  • su - root


+ Recent posts