2013年4月2日

Job control

摘要: When you run a program from the shell prompt, stdin is connected to your keyboard, and stdout and stderr are connected to your monitor.when you run a program in the background,the input is disconnected(standard input would be connected to the empty file /dev/null), but the output connections do not 阅读全文

posted @ 2013-04-02 21:19 siszqsqx 阅读(327) 评论(0) 推荐(0) 编辑

Login shell and non-Login shell

摘要: You use an interactive shell when you enter commands at the shell prompt; you use a non-interactive shell when you run a shell script.Whenever you log in, the shell that starts is called a LOGIN SHELL. All other interactive shells are called NON-LOGIN SHELLSThe distinction is important because initi 阅读全文

posted @ 2013-04-02 21:13 siszqsqx 阅读(410) 评论(0) 推荐(0) 编辑

2013年3月26日

Tftp service install

摘要: Warning: TFTP server / protocol provides little security. Make sure a TFTP server is placed behind a firewall system.Tftpd is a server for the Trivial File Transfer Protocol. The TFTP protocol is extensively used to support remote booting of diskless devices or loading operating systems. Debian or U 阅读全文

posted @ 2013-03-26 12:50 siszqsqx 阅读(362) 评论(0) 推荐(0) 编辑

2013年3月23日

Something about C/C++

摘要: Notice:Iam learning C++ and I write down this artical just want to prevent me form forgetting.Reproduced,please indicate the source!With the exception of static const int data members , aclass’s data members cannot be initialized where they’re declared in the class body.Objects contain only data, so 阅读全文

posted @ 2013-03-23 21:00 siszqsqx 阅读(1164) 评论(0) 推荐(0) 编辑

2013年3月22日

Some tips

摘要: 1-What to do when I don't know the usage of a linux command1、type command2、help command if the command is built-inor apropos command or whatis commandthenman n command3、which commandAlso,you canget to know the installation directory of that command.2-get file from the ftp server using ftpget com 阅读全文

posted @ 2013-03-22 15:51 siszqsqx 阅读(214) 评论(0) 推荐(0) 编辑

2013年3月14日

Make

摘要: Make1):The Makefile is often used not only to control the compilation of source code, but also to prepare manual pages and to install the application into a target directory.2):The makefile is read by the make command, which determines the target file or files that are to be made and then compares t 阅读全文

posted @ 2013-03-14 19:04 siszqsqx 阅读(257) 评论(0) 推荐(0) 编辑

2013年2月28日

configure ftp on ubuntu12.10

摘要: 1: install vsftpd.apt-get install vsftpd2:configure /etc/vsftpd.confvi /etc/vsftpd.confuncomment below statement#local_enable=YES#write_enable=YES3:after configuration in step 2,directory /srv/ftp and a usergroup named ftp was added automatically by the system cat /etc/shadow|grep ftp4:useradd&p 阅读全文

posted @ 2013-02-28 15:03 siszqsqx 阅读(161) 评论(0) 推荐(0) 编辑

2013年2月12日

samba setup

摘要: Notice:This is a guest post from https://help.ubuntu.com/10.04/serverguide/samba-fileprint-security.htmlOne of the most common ways to network Ubuntu and Windows computers is to configure Samba as a File Server. This section covers setting up a Samba server to share files with Windows clients.The se 阅读全文

posted @ 2013-02-12 19:13 siszqsqx 阅读(229) 评论(0) 推荐(0) 编辑

导航