-
HPUX - File Name GenerationIoT 과정 2017. 6. 21. 16:54
? : Matches any single character except a leading dot ( ?, except dot, .?, include hidden file)[ ] : a class of characters from which one will be matched{$ echo [abc]??$ echo [1-9][A-Z]$ echo [!A-Z]??}- :! :* : Matches zero or more characters except a leading dot ( ?, except dot, .?, include hidden file){$ echo .*$ echo *.dat contain only five character : echo ?????contain at least five characte..
-
HPUX - Shell Advanced FeaturesIoT 과정 2017. 6. 21. 14:55
Shell Variable Storage : Local Variables + Environment Variables + Program Code (/usr/bin/sh){$ name=yohan$ set...name=yohan....} Variable Substitution$var : Directs the shell to perform variable substitution{$ echo $PATH/usr/bin:/usr/contrib/bin: ...$ PATH=$PATH:$HOME/usr/bin: .... :/home/user11}Command Substitution$(command) Process and Variable (Parent Child)1 fork : program and data spaces a..
-
HPUX - Shell BasicIoT 과정 2017. 6. 21. 11:36
$ ps PID TTY TIME COMMAND 12608 pts/tg 0:00 telnetd 13471 pts/tg 0:00 ps 12609 pts/tg 0:00 sh frankenstein command history : command "history" recalling commands : Press "ESC", k scrolls backward through the command history, scrolls forward through the command history [then, work as command mode] env : environment describes your session to the programs you run set : describes your local variable..
-
HPUX - viIoT 과정 2017. 6. 20. 15:00
vi "filename" : start a vi edit session of file cursor, line, page moveh, j, k, l. ctrl + b, f.("command mode") + ":" + "( )" + "Return""wq" (write and quit)"q" (quit)"q!" (force quit)"w" (write) vi Modescommand mode : keystrokes intepreted as commandsinput mode : vi input with keystrokes entered into the file ( from command mode -> "i, a, o, I, A, O" )last line mode : ex and search inputs ( fro..
-
HPUX - File Permissions and AccessIoT 과정 2017. 6. 20. 12:43
access typeOwner, Group, Other-rwxrwx--- 1 user11 class 141 Nov 13 1993 prog1-rw-rw---- 1 user11 class 29 Nov 13 1993 yourfile/ow//gr//ot/ owner group ... and other FilesRead : Contents can be examined [cat filename]Write : Contents can be changed [vi filename]Execute : File can be used as a command { eg) $ cat myprog# this is the program myprogdatels -F$ myprogTue Jun 20 12:51:41 KST 2017README..
-
HPUX - Navigating the File System, Managing FilesIoT 과정 2017. 6. 19. 15:22
/opt (optional) : application (C:\Program Files)/usr (user) : commands & commands information/usr/bin (binary / .exe) : Contains the programs for all reference manual selction 1 commands, which are neccessary for basic UNIX system operation and file manipulation/usr/sbin (superuser binary) : Contains system administration commands/usr/lib : contains archive and shared libraries used for applicat..
-
Foundation : predicate logic and quantifiersDiscrete mathmatics and Problem Solving/1 논리 2017. 1. 16. 04:25
오랜만의 포스팅입니다. 이 포스팅을 완료하고 공개로 전환한것이 2월 7일이니까... 포스팅을 같이하면서 미적분책을 독학하는데 첫 장부터 무리수를 도출하는 방법인 바빌로니아 메서드와 무리수와 관련된 증명 문제, 그리구 포물선과 관련된 기하학 문제를 푸는데 그리고 여러가지 고민거리를 안고 지내다가 ( precalculus...고등학교 1학년문젠데 막히니까 고민거리가 생길수 밖에요) 새벽에 삘 받아서 완성하게 되었습니다. 크,,, 아무 금전적 보상도 없지만 열심히하는 클라쓰,,,수학 원리에서... *이번 토막문은 본문 포스팅과 내용이 중복되고 길지만, 다 해치우고 싶은 저의 욕심입니다 ㅎ.....propositional function 명제 함수ϕx를 변수 x를 포함하는 진술이라고 하자. 이 명제는 x가 어떤..
-
Answers : propositions and logical operation, equivalencesDiscrete mathmatics and Problem Solving/1 논리 2017. 1. 15. 04:20
1 a) 명제, 참 b) 참, 거짓을 가릴 수 없는 진술이므로 명제가아니다. c) 이는 명제 함수propositional function이다. 변수variable에 값이 지정되지 않으므로 참, 거짓을 가릴 수 없다. 따라서 명제가 아니다. d) 명제, 참2 a) 민수 또는 민환은 나의 친구가 아니다. b) 주환의 가방에는 책이 3권이 있지 않다. c) 121은 11의 제곱이 아니다.3 a) 나는 이번 주 복권을 사지 않았다. b) 나는 이번 주 복권을 샀거나 1등 상금을 얻었다. c) 나는 이번 주 복권을 샀다면, 1등 상금을 얻었다. d) 나는 이번 주 복권을 샀고, 1등 상금을 얻었다. e) 나는 이번 주 복권을 샀다면, 1등 상금을 얻었다. 그리고 1등 상금을 얻었다면, 이번 주 복권을 산것이다. ..