Monday, May 21, 2012 1:09

Posts Tagged ‘Linux’

Nginx configuration – nginx.conf

Tuesday, August 10, 2010 19:52

server { listen 80; server_name nginx.org www.nginx.org; root /data/www; location / { ...

This was posted under category: Java, Linux  |  Read Full Story  |  1 Comment

Platform Status: libjvm.so: cannot open shared object file: No such file or directory

Friday, January 29, 2010 21:46

Error " Generic Status: Library Open failed, Library Name: /dctm65/shared/java/1.5.0_12/jre/lib/i386/libjava.so, Platform Status: libjvm.so: cannot open shared object file: No such file or directory IDQL failed to run.  dmAPIInit() returned a failed status. " was thrown when executing IDQL command. I came across this issue after I installed one docbase on linux server. It seemed that ...

This was posted under category: Documentum, Linux  |  Read Full Story  |  4 Comments

chown – change the owner of a file

Thursday, January 28, 2010 13:34

You can change the owner and group of a file or a directory with the chown command. Please, keep in mind you can do this only if you are the root user or the owner of the file. Set the file's owner: $ chown username somefile After giving this command, ...

This was posted under category: Linux  |  Read Full Story  |  0 Comments

An internal virtual machine error (13) has occurred

Thursday, January 28, 2010 12:13

when I booted the Red Hat WS 4 image, I received the following error: "An internal virtual machine error (13) has occurred.  The virtual machine will reset now." To resolve this error, first boot in single user mode: In GRUB menu select Red Hat Linux with the version of ...

This was posted under category: Linux  |  Read Full Story  |  0 Comments

Linux Find Files Containing Text

Wednesday, January 27, 2010 13:54

Find files that contain a text string: grep -lir "some text" * The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.

This was posted under category: Linux  |  Read Full Story  |  0 Comments

IF Else in bash of linux

Friday, December 18, 2009 13:31

If/Else In order for a script to be very useful, you will need to be able to test the conditions of variables. Most programming and scripting languages have some sort of if/else expression and so does the bourne shell. Unlike most other languages, spaces are very important when using ...

This was posted under category: Linux  |  Read Full Story  |  1 Comment

Copy and Paste in VI

Friday, December 18, 2009 13:27

The command ‘Y’ or ‘yy’ copies (yanks) one or more lines. To copy one line, two lines, 10 lines, and all lines to the end of the file, respectively: Y 2Y 10Y yG To paste the text contained in the buffer above (uppercase P) or below the current cursor position (lowercase p), respectively: P p It is also ...

This was posted under category: Linux  |  Read Full Story  |  0 Comments

Resource:Linux general command.chm

Thursday, December 3, 2009 18:41

Linux general commandLinux general command

This was posted under category: Linux  |  Read Full Story  |  0 Comments

LS命令按时间排序

Wednesday, December 2, 2009 14:57

ls -l -t为按时间排序显示,默认为新的排在前面,可用下面的命令更改升降序: ls -lrt 最新的文件排在后面(升序) ls -lnt 最新的文件排在前面(降序)

This was posted under category: Linux  |  Read Full Story  |  0 Comments

VI操作手册

Thursday, November 12, 2009 9:26

网上有太多关于VI的操作手册了,以下是我从网络上随机找到的短文,以后会把个人的经验都加入来。 vim有3中主要的模式: 1.normal mode:当进入vim时,默认的模式就是normal mode。在此模式下,无法输入任何文字,不过可以利用按键命令来执行许多操作命令,例如移动光标位置、复制、删除。 2.insert mode:进入vim输入a、i、或o键。即可进入insert mode,此模式下可以输入文字内容。 3....

This was posted under category: Linux  |  Read Full Story  |  0 Comments