Linux2 [csh] 파일의 내용을 한줄로 출력 1234567#한줄 출력cat filesystem_list.tmp | perl -p -e “s|\n| |” #perl 뒤에 sed를 쓰면 실행 안됨perl -p -e “s|\n| |”sed ‘s/ /-/g’ 2021. 6. 26. [csh] 경로 설정 및 폴더 생성 경로를 명령어를 통해서 확인하고해당 경로에 현재 생성하려는 폴더가 존재하지않으면 폴더를 생성함.1234567if(! -d os_info) then mkdir os_infoendif set os = ‘uname’set os_pwd = ‘pwd’set tmp = “$os_pwd/os_info” 2021. 5. 14. 이전 1 다음