Linux下创建文件
试一试,其实很简单的。
mkdir -m 775 filename
-m : 设置文件的权限。直接设置,不需要默认权限。
[root@localhost home]# mkdir text1
[root@localhost home]# mkdir -m 777 text2
[root@localhost home]# ls -l
drwxr-xr-x 2 root root 4096 2010-1-19 08:03 text1
drwxrwxrwx 2 root root 4096 2010-1-19 08:04 text2
相关文档:
/*
* linux/fs/fcntl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#include <fcntl.h>
#include <sys/stat. ......
V] 零起点学习Linux系列培训视频 -1 (寒冰作品)
http://www.boobooke.com/v/bbk1301
[V] 零起点学习Linux系列培训视频 -2 (寒冰作品)
http://www.boobooke.com/v/bbk1304
[V] 零起点学习Linux系列培训视频 -3 (寒冰作品)
http://www.boobooke.com/v/bbk1305
[V] 零起点学习Linux系列培训视频 -4 (寒冰作品)
......
在vm下安装unbuntu linux server 9.04
安装完成 查看IP地址 ifconfig
安装telnet sudo apt-get install xinetd telnetd
因为不需要太多人TELNET 暂时不做修改配置文件。
安装FTP sudo apt-get install vsftpd
同样不需要配置 使用默认的ftp:ftp用户访问
mysql
sudo apt-get install mysql-server
apac ......
查看系统的磁盘信息:
fdisk -l
[root@localhost home]# fdisk -l
Disk /dev/hda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 979 7759395 ......
文档创建日期:2010-02-18
01 // P173: 2.编程题 (5)输入一个字符串,统计英文字母、空格、数字和其他字符的个数。
02
03 // The beginning of C program: test06-05.c.
04  ......