분류 전체보기 22

Linux C 프로그래밍 기초 ① / Linux C Programming basics ①

본 프로그래밍은 리눅스 터미널 내에서 vi로 작성되고 실행된다. This programming is written and executed in vi in a Linux terminal. C 프로그래밍 첫 기초를 예제로 시작하려 한다.Let's start with the basics of C programming as an example. 예제를 살펴보기 전에 먼저 디렉토리와 파일을 먼저 정리해보도록 하겠다.Before looking at the example, let's first organize the directories and files. 나중에 복습을 할 때 디렉토리를 정리해놔야 찾기 쉽다.It's a good idea to organize our directories for future revi..

Programming/C 2020.07.15

Vim 설정 / Vim Settings

터미널에서 프로그래밍을 하기 전 마지막 단계인 Vim 설정이다. The last step before programming in the terminal is the Vim configuration. Vim 설정을 하는 이유는 가독성과 편리성을 높이고 컴파일과 디버깅을 편하게 하기 위해서이다. The reason for setting Vim is to improve readability and convenience and to compile and debug easily. centos로 접속을 한 후 터미널에서 "gcc" 와 "vim" 을 입력해보자. After connecting to centos, type "gcc" and "vim" in the terminal. 명령어를 찾을 수 없다고 나올 것이다...

Linux/Linux 2020.07.13

Vim 단축키 / Vim shortcuts

필자는 현재 칼리 리눅스 터미널에서 centos를 사용중이다. I am currently using centos in a Kali Linux terminal. 필자의 프로그래밍 환경을 확인해야 한다면 https://information-security-vlog.tistory.com/10 을 참고하면 되겠다. If you need to check my programming environment, you can refer to information-security-vlog.tistory.com/10. 프로그래밍을 하기전 Vim 설치와 환경 설정 및 단축키를 먼저 확인하고 가자. Before programming, let's check the Vim installation, preferences, and sh..

Linux/Linux 2020.07.09

C 언어란 / What is C language

본 포스팅은 필자의 개인적인 의견이 들어가 있다. This post contains my personal opinion. C 언어를 배우기에 앞서 C 언어란 무엇인가를 먼저 알아야 한다고 생각한다. Before I learn C language, I think we should know what C language is. C 언어가 세상에 나오기 전 1969년 켄 톰슨이 'B'라는 프로그래밍 언어를 만들었고 1972년 벨 연구소의 데니스 리치가 B 언어의 특징을 물려받은 'C' 언어를 만들었다. Before the C language came out, Kenneth Lane Thompson created the programming language'B' in 1969, and in 1972, Dennis..

Programming/C 2020.07.07

virtualbox 네트워크 설정, centos 네트워크 / Virtualbox network setup, centos network setup

virtualbox 네트워크 설정을 해보자. Let's set up a virtualbox network. 필자는 유선랜 사용보다 무선랜 사용을 많이 하기 때문에 유선랜 설정을 진행해보려 한다. I use wireless LAN more than wired LAN, so I will try to set up wired LAN. 먼저 virtualbox에 네트워크 설정을 하고 centos에도 네트워크 설정을 해보도록 하겠다. First, I'll set up a network on the virtualbox and network on the centos. 그리고 한글 입출력을 위해 터미널에서 ssh 연결을 해보겠다. And I will try a ssh connection from the terminal ..

Linux/Kali_Linux 2020.07.06