IT面试笔试题全集UNIX篇Rain系列.doc

  1. 1、本文档共98页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
IT面试笔试题全集UNIX篇Rain系列

IT面试笔试题全集_史上最全_UNIX篇_Rain系列 Linux/Unix File System Interview Questions _追雨制作 Q: What’s the difference between Symbolic Link and HardLink? A:? ln –s src dst-file??? vs.? ln src-file dst-file You need to understand how file is stored on the File System and what I-node is all about? Each file contains 2 things:? file-name and sucture that stores the real-data of the file. Symbolic link is like: Added link to the filename only. It can cross device/logical partition. Harlink is made at I-node(filesystem) level, it’s confined within the same filesystem(physical device). It’s more like adding a reference count to the original file, when hardlink is deleted, the reference minus one only. Some people on the internet says this: HardLink is a pointer to a file, Symbolic Link is an indirect-pointer to a file. Since symbolic link can point to non-existent file on the disk, Hardlink can not. Q:? How much do you know about journalized file system? Why Journalized File System(JFS)? A:??? Large HardDisk Partiion; quick recovery from crashes, high-performance I/O; Terabytes data file Alternative to ext2 there are: ext3, ReiserFS, XFS, JFS Advantage of JFS: 1.?? ?Simplify restarts (longer fsck means longer down time) 2.?? ?reduce fragmentation 3.?? ?accelerate I/O 4.?? ?obsolete fsck() In ext2:?? I-NODE stores all info about a file except data itself, it’s a book-keeping file for a file. Directory’s I-Node contains: inode numbers of its contents, plus permissions, # of blocks, and etc. Juornal: simply a list of ansactions (modifies meta-data suctures: inodes, free lists, directory enies). Onlye ext3 is backward compatible.??????? tune2fs –j /dev/hdb3 程序员经常用到的UNIX命令 _追雨制作 1. 简单的文件维护与管理 ls, cd, mkdir, rm, cp, mv, cat, more 2. 源程序的编写 vi, ed 3. 编译与连接 gcc, g++, ld 4. 运行与调试 adb,gdb 5. 查看运行状态 % ps –ef % grep aaa a.txt? (aaa is the chars in the file name a.txt) % prstat? (cl D to exit) % kill pid (pid is a process id) Unix面试题(英文 附答案)3-5 _追雨制作 81、What syslog.conf

您可能关注的文档

文档评论(0)

bodkd + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档