전체 글(84)
-
Linux manual - man 사용법
지피티 답변을 참고하여 정리했다. 1. 기본 사용법명령어 확인: man 예: man ls설명서 검색: 키워드로 명령어를 찾고 싶다면 man -k 를 사용합니다.예: man -k quota(apropos 와 동일합니다.)2. 필요한 정보 빠르게 찾기페이지 검색: / 입력 후 검색어 입력예: /option → 해당 단어가 있는 곳으로 이동다음 항목은 n, 이전 항목은 N으로 이동합니다.섹션별 검색:같은 이름의 명령어가 여러 섹션에 있을 때 특정 섹션을 지정할 수 있습니다.예: man 5 passwd (섹션 5는 설정 파일에 대한 설명)섹션 번호:1: 사용자 명령어5: 설정 파일8: 관리자 명령어3. 문서 간 빠른 이동다른 명령어 보기: man 로 새로 열지 않고, 현재 man 페이지에서 !man 를 입력하..
2024.11.22 -
[HackerRank] Oracle - New Companies
혼자 풀었는가? group by 찾아보면서 해서 애매함..해설은 안 봄 Amber's conglomerate corporation just acquired some new companies. Each of the companies follows this hierarchy: Given the table schemas below, write a query to print the company_code, founder name, total number of lead managers, total number of senior managers, total number of managers, and total number of employees. Order your output by ascending compan..
2024.11.21 -
[HackerRank] Oracle - Binary Tree Nodes
혼자 풀었는가 ? XYou are given a table, BST, containing two columns: N and P, where N represents the value of a node in Binary Tree, and P is the parent of N.Write a query to find the node type of Binary Tree ordered by the value of the node. Output one of the following for each node:Root: If node is root node.Leaf: If node is leaf node.Inner: If node is neither root nor leaf node.Sample InputSample O..
2024.11.20 -
[HackerRank] Oracle - Occupations
[문제 및 예시 ]Pivot the Occupation column in OCCUPATIONS so that each Name is sorted alphabetically and displayed underneath its corresponding Occupation. The output column headers should be Doctor, Professor, Singer, and Actor, respectively.Note: Print NULL when there are no more names corresponding to an occupation.Input FormatThe OCCUPATIONS table is described as follows:Occupation will only cont..
2024.11.20 -
리눅스 가장 위에 1줄이 안보일 때 대처법
# .bashrc 파일 수정vi ~/.bashrc# 위치가 헷갈려서find / -name ".bashrc"#로 검색되는 경로중 etc/로 시작하는 경로로 이동vi /.bashrc# 파일 끝에 다음 줄 추가export PROMPT_COMMAND='echo -en "\033[6n"'# 저장 후 적용됐는지 확인하기 위해clearreset하면 제대로 적용되는걸 확인할 수 있다.
2024.11.18 -
네트워크 시작하기 !
오늘 배운 내용- OSI 7계층- 인캡슐레이션 들어가기에 앞서,보통 네트워크는 한번에 이해하기 어렵기 때문에 OSI 7계층을 기준으로개발자 입장에서는 하향식(7계층 -> 1계층 )으로, 네트워크 엔지니어는 상향식으로 배우게 된다. 1.1 홈네트워크홈네트워크의 구성 : 모뎀, 공유기, 노트북 등 단말기의 물리적 연결 1.2 데이터 센터 네트워크기존에는 안정적이고 빠른 서비스 제공을 위해 3계층 디자인을 사용했지만,현재는 2계층 구성인 스파인-리프 구조로 변화되었습니다. 1.3 네트워크 미시적으로 살펴보기프로토콜 네트워크에서 통신할 때의 규약 현재는 여러 프로토콜 기술이 이더넷-TCP/IP 기반 프로토콜로 변경되고 있습니다.프로토콜은 한정된 자원으로 효율적으로 통신하기 위해 대부분 2진수 비트 기반으로 개..
2024.11.15