<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT公司面试手册 &#187; UNIX</title>
	<atom:link href="http://www.mianwww.com/html/category/it-interview/unix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mianwww.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 11:48:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Unix面试题</title>
		<link>http://www.mianwww.com/html/2012/02/13080.html</link>
		<comments>http://www.mianwww.com/html/2012/02/13080.html#comments</comments>
		<pubDate>Sat, 04 Feb 2012 15:21:14 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=13080</guid>
		<description><![CDATA[1. 有一台UNIX服务器不能够正常连接SSH，然后还可以反馈，检查这台机器的毛病。。给出具体命令 2. LINUX系统下管理员添加硬盘怎么添加 3. 还有同一网段两台主机MAC地址被篡改报错，是怎么回事 4. 网络中的package具体是怎么发出去的？ 5. UNIX里面的ls命令是怎么工作的]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2012/02/13080.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unix时间戳与datetime类型时间之前的转换</title>
		<link>http://www.mianwww.com/html/2011/11/11970.html</link>
		<comments>http://www.mianwww.com/html/2011/11/11970.html#comments</comments>
		<pubDate>Wed, 16 Nov 2011 13:15:42 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11970</guid>
		<description><![CDATA[#region 日期转换数字 /// /// 将Unix时间戳转换为DateTime类型时间 /// /// double 型数字 /// DateTime public static System.DateTime ConvertIntDateTime(double d) { System.DateTime time = System.DateTime.MinValue; System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1)); time = startTime.AddSeconds(d); return time; } /// /// 将c# DateTime时间格式转换为Unix时间戳格式 /// /// 时间 /// double public static double ConvertDateTimeInt(System.DateTime time) { double intResult = 0; System.DateTime startTime [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/11/11970.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>POSIX方面的知识</title>
		<link>http://www.mianwww.com/html/2011/11/11705.html</link>
		<comments>http://www.mianwww.com/html/2011/11/11705.html#comments</comments>
		<pubDate>Wed, 09 Nov 2011 11:25:49 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11705</guid>
		<description><![CDATA[简答题。下面的题目必须全部答对才给分：(5分) 1、在UNIX环境中，编译流程是什么？ 2、ABI，ELF的英文全称是什么 3、一般UNIX的程序有多少段，举一个实际的例子说明。 4、如何在kernel二进制代码中找一个字符串。 5、段地址F000:FFF0转换为线形地址的值是多少(16进制表达)。 6、在一个UNIX文件系统中，文件的唯一性标志是什么？ &#160; 问答题。 1、———————————————————– 写一些代码。如何用文件实现信号灯？要求如果程序崩溃了，这个文件也将自动被删除 &#160; 。 为什么可以这样实现信号灯？(5分) 传统的signal函数信号处理为什么是不可靠的，信号和系统调用有何关系？(5分) 在图形库系统中往往提供timer的功能，除了使用ALARM信号外，你还可以使用什么系统调用来实现timer？(5分) 2、———————————————————– 写一些代码，演示如何正确使用write系统调用。注意看好手册再回答。(2分) 如果一个文件以rw模式打开，在进行read/write操作转换时，需要进行什么操作。(2分) &#160; 3、———————————————————– 解释终端结构termios.c_cc的MIN/TIME数值变化的带来read/write的特性。(5分) 如何理解终端、控制终端、虚拟终端、控制台、tty等类同的概念？(5分) 4、———————————————————– 解释计算机中Copy-On-Write的概念。(2分) 调用fork之后，子进程没有继承父进程的属性有哪些？(5分) 解释为什么每个程序在装入执行之后，总是已经预先打开了stdout、stdin、stderr？(2分) 在fork之前，父进程打开了一个文件。在fork之后，如果子进程移动了文件指针，父进程的文件指针有什么变化；如果子进程关闭了文件，父进程有什么变化？为什么会这样？(5分) 标准输入、输出和错误输出分别是什么类型的缓冲，这些缓冲在用户空间还是在核心空间？ 怎样关闭他们的缓冲？如果父进程关闭了缓冲，在fork之后建立的子进程是否也关闭了缓冲？(5分) vfork和fork相比，有什么特色？(2分) system函数是否等同于fork+exec？(2分) wait系统调用有多少种条件可以退出？(2分) &#160; 5、———————————————————– 系统调用和库函数调用有什么区别。(2分) 在linux2.4.x上的glibc和newlib(一种嵌入式C库)的系统调用有什么不同？(2分) 在linux2.4.x上，对系统调用execve如果调用成功，它返回的值是多少。(2分) &#160; 6、———————————————————– 列出你所知道的2个内存跟踪库。(2分) 设计一个内存跟踪方案，为什么选择这个方案(5分) &#160; 综合编程题。 要求： 1、完成需求，程序运行正确。 2、工作原理文档，使用文档完整。 3、代码规整优美。注释得当。 4、运行速度足够快。 &#160; 1、———————————————————– 这里有一个8MB的文件，编写一个copy程序，拷贝这个文件，并计算所需时间。用工具分析出是哪些代码或函数造成速度瓶颈。 提示：如果只是使用read/write调用，不是一个好的实现。(20分) &#160; 2、———————————————————– [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/11/11705.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix英文面试题</title>
		<link>http://www.mianwww.com/html/2011/10/10929.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10929.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 13:26:38 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10929</guid>
		<description><![CDATA[&#160; Chapter 2 1.What are the two major UNIX system versions? Answer: AT &#38; T UNIX version V, Berkeley UNIX &#160; 2.What is the kernel? Answer: the UINX kernel, also called the base operating system, is the layer that manages all the hardware-dependent functions. &#160; 3.What is a shell? Answer: shell is a powerful command [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10929.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix笔试题 Unix工程师</title>
		<link>http://www.mianwww.com/html/2011/10/10927.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10927.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 13:25:24 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10927</guid>
		<description><![CDATA[填空题 大多数硬件系统包括5个基本硬件组件：输入设备、处理器单元、内存、外部存储器、输出设备        。 linux有__7___个虚拟终端 Linux的版本分为内核版本     版和  发行版本   版，其中由Linus等人维护，全球统一的是  内核版本  版。 显示2002年5月的全年日历的命令是  cal 5 2002          。 显示文件/etc/passwd中一共有多少行的命令是  wc –l  /etc/passwd           。 显示当前系统中登录用户情况的命令是  who          。 在vi编辑器中，删除光标所在行使用   dd         命令。 在vi编辑器中，实现删除/粘贴的命令组合是     dd/p         。 在vi编辑器中，实现复制/粘贴的命令组合是    yy/p          。 列出当前目录下所有以a,b,c,d四个字符中的一个开头的文件名的命令是 ls [a-d]*       。 在Linux系统中，以文件         方式访问设备，所有设备文件都放在 /root        目录下。 Linux的文件类型包括  普通文件       、  目录        、  特殊文件        三类。 Linux文件系统中每个文件用  (索引节点号)        来标识。 全部磁盘块由四个块组成，分别为引导块         、　超级块       、i节点表块        和  [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10927.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>介绍一下Unix的启动过程</title>
		<link>http://www.mianwww.com/html/2011/10/10923.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10923.html#comments</comments>
		<pubDate>Sun, 16 Oct 2011 13:19:13 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10923</guid>
		<description><![CDATA[Unix 启动过程是个复杂的过程.系统加电后首先进入prom自检状态,检查CPU 内存等状态,自检完成后装载bootblk.bootblk从指定的系统盘中加载unix 核心程序, 然后为程序计数器装入核心程序的起始地址.然后才能进行初始化,使用/sbin/init完成初始化]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10923.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell如何按文件大小排序列出一个文件系统下的文件？</title>
		<link>http://www.mianwww.com/html/2011/10/10894.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10894.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 15:02:55 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10894</guid>
		<description><![CDATA[当监控某一文件系统的空间使用情况时，如果该文件系统剩余空间较少或已使用空间增长较快，则有必要排序列出该文件系统中所有大于某一给定字节数的文件，以便进一步维护管理。为此，可用如下命令： # find [filesystem_name] -xdev -size +[512-bytes bloks] -ls &#124; sort -r -n -k7]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10894.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX如何设置用户的文件大小限制？</title>
		<link>http://www.mianwww.com/html/2011/10/10892.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10892.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 15:02:24 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10892</guid>
		<description><![CDATA[在AIX系统中，用户使用系统资源是有一定限制的。如用户缺省可创建或扩展的最大文件为1G（参见/etc/security/limits: fsize = 2097151, fsize_hard=fsize 512-bytes blocks）。 如欲修改，可使用smit: # smit chuser 选择用户，修改下面两项： Soft FILE size [4194302] # (2G,可根据需要设定) Hard FILE size [4194302] # (2G, 可根据需要设定) 用该用户身份登录，使用&#8221;ulimit -f &#8220;和&#8221;ulimit -Hf&#8221;可分别显示其fsize、fsize_hard的大小。]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10892.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX如何解决某一PV上的VGDA与ODM库不一致的问题？</title>
		<link>http://www.mianwww.com/html/2011/10/10890.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10890.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 15:01:59 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10890</guid>
		<description><![CDATA[在系统维护过程中，因为操作错误或其他特殊原因，有可能使某一PV上的LVCB和VGDA与其对应的ODM库不一致，导致ODM库紊乱，对PV的有关操作无法进行，这时可采用如下两个AIX命令加以解决： redefinevg -d hdisk_name vg_name 该命令以指定PV上的LVM信息重新定义给定VG的ODM库。 或：synclvodm -P -v vgname 该命令同步或重建给定VG的ODM库和LVM信息。]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10890.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何转换DOS和AIX两种格式的文本文件？</title>
		<link>http://www.mianwww.com/html/2011/10/10888.html</link>
		<comments>http://www.mianwww.com/html/2011/10/10888.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 15:01:21 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=10888</guid>
		<description><![CDATA[如欲转换DOS和AIX两种格式的文本文件，有两种方法： （1）用ftp命令：设置ASCII传输类型，在一台运行AIX的机器和另外一台运行Windows的机器之间互相传送，这里不再赘述。 （2）使用aix2dos或dos2aix命令 如将DOS格式的文本文件转换为AIX格式，可用命令A：dos2aix inputfile outfile，反之可用命令：aix2dos inputfile outfile，关于dos2aix和aix2dos命令的详细用法可参阅&#8221;dos2aix -h &#8220;和&#8221;aix2dos -h &#8220;。注意要使用这两个命令，必须首先安装文件集bos.pci。]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/10888.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

