Monday, February 6, 2012 8:06

‘Linux’ News

Subscribe to RSS feed

Nginx configuration – nginx.conf

Tuesday, August 10, 2010 19:52

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

Tagged with:

Linux Kill user session or logout users

Tuesday, August 10, 2010 11:31

We can use the command 'skill -KILL -u <username>' to logout users. Reference: http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html

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 ...

Tagged with: ,

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, ...

Tagged with:

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 ...

Tagged with:

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.

Tagged with:

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 ...

Tagged with:

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 ...

Tagged with:

Resource:Linux general command.chm

Thursday, December 3, 2009 18:41

Linux general commandLinux general command

Tagged with:

LS命令按时间排序

Wednesday, December 2, 2009 14:57

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

Tagged with: