개인적으로 워드프레스를 사용해서 홈페이지를 종종 만듭니다.


주로 정렬을 바꾸고 글자크기를 바꾸고 하는 명령어들을 사용하는데


웹쪽은 잘몰라서 필요할때 마다 검색을 해서 하기에 시간이 많이 소요됩니다.


그래서 제가 개인적으로 워드프레스를 가지고 홈페이지를 만들때 주로사용할때 필요한 명령어를 정리할 예정입니다.



좌, 우, 가운데 정렬


<P align=left>왼쪽정렬</P>

<P align=right>오른쪽 정렬</P>

<P align=center>가운데 정렬</P>


또는


<p style="text-align: left;">왼쪽정렬</p>

<p style="text-align: left;">오른쪽 정렬</p>

<p style="text-align: left;">가운데 정렬</p>


왜인지는 모르겠지만 둘다 먹히는부분도 있고 특정 하나만 먹히는 부분도 있습니다.



BOLD


<STRONG> 강조하고싶은말 </STRONG>



FONT 색깔바꾸기


<span style="color: #ffffff;">



IPCS 와 IPCRM을 이용한 IPC(Inter Process Communication) 자원관리

 

IPCS 명령어


- ipc의 상태를 보는 명령어입니다.


ipcs [-qms]


ipcs

- 모든 IPC의 정보를 보여준다

ipcs -q

- Message queue의 정보를 보여준다

ipcs -m

- Shared memory segment의 정보를 보여준다

ipcs -s

- Semaphore의 정보를 보여준다.


 

 

ex) ipcs 모든 IPC정보를 보여준다

 

aaaa@linux:~> ipcs

 

------ Shared Memory Segments --------

key        shmid      owner      perms      bytes      nattch     status      

0x00000000 131072     root      777        135168     1                       

0x00000000 196609     root      644        106496     1          dest         

0x00000000 851974     aaaa 600        262144     1          dest         

0x00000000 1179655    aaaa 600        393216     2          dest         

 

------ Semaphore Arrays --------

key        semid      owner      perms      nsems     

 

------ Message Queues --------

key        msqid      owner      perms      used-bytes   messages

 

ex) 특정 IPC정보를 본다

 

aaa@linux:~> ipcs -m

 

------ Shared Memory Segments --------

key        shmid      owner      perms      bytes      nattch     status      

0x00000000 131072     root      777        135168     1                       

0x00000000 196609     root      644        106496     1          dest         

0x00000000 851974     aaa 600        262144     1          dest         

0x00000000 1179655    aaa 600        393216     2          dest 



IPCRM 명령어


- 지정한 IPC를 지운다.


ipcrm [ -q msgid | -Q msgkey | -s semid | -S semkey |

              -m shmid | -M shmkey ]


ipcrm -q msgid

Message Queue ID를 지운다

ipcrm -Q msgkey

- Message Queue Key를 지운다

ipcrm -s semid

Semaphore ID를 지운다

ipcrm -S semkey

- Semaphore Key를 지운다

ipcrm -m shmid

- Shared Memory ID를 지운다

ipcrm -M shmkey

- Shared Memory Key를 지운다.


ex )

ipcrm -q 1000

ipcrm -m 232323

+ Recent posts