开工--行胜于言,开工--胜于


  • 0.0 开此Blog主要目的在于开始学习linux内核,入手书籍《鸟哥的Linux私房菜》第三版,目前看到250页有余,立此Blog督促自己更正拖延症,及学会如何思考。
  • 0.1 此篇随笔摘录之前所学的一部分知识,抠脚英语表达,此后的随笔加以更正,但同样附以扎脚英文。
  • 1.[deer4ever_lix@localhost ~]$    :中的~符号表示/home/deer4ever_lix(PWD命令予以显示--print working Directory):$表示的是非root权限  :#为root权限
  • 2.learn how to create a new directory&file in this dir。
    --using:"mkdir"to create dir,the"touch"to create file.
    eg. root@localhost#: cd /tmp:
                #: mkdir testing
                #: chmod 774 testing
                #:touch testing/testing
    you cannot see any files in temp doc,cause you make the root manage this "testing" dir. so you could using the "chown" to change the owner root.
  • 3.You know how to create a new file,but you must know the soulutions you can use to delete the files."rm"in liux is a good soulution in deleate it.(Some troubles will happen if you use rm,It's necessary to man rm ><.)
  • 4.Path & Dir,you can use "-"to return to the laster dir or path,you can use "~"to point to the current path.so,it is a great tools to use cd -,cd ~
    and,you must know  "pwd"means to show the path you are in now.
    mkdir & rmdir are also useful to create and deleate the files and dirs.
  • 5.the difference between use "ls -ld" and use "ls -l":eg. you input $ ls -ld the window will print the info of current path,but if you input $ ls -l
    the window will print the detailed info about all the docs in this path.
  • 6.It's important to create the bak for the files you want to cp,it is priceless when you need the former files.(when I install the stardict,I got it.)
  • 7.One day,you want to find or search for a file you need.you can use these command.eg.num1,"which" is a good choice,so you can input which ls in the termnal,num2,you can also use "find" and "whereis" or "locate".
  • 8.You can use the"free" command to display the amount of free and used memory or swap in your system.
  • 9.You know how to lookat the room you use or free about your dir and files,so you can use the "du"=disk usage to search for the each files in your disk and add it.but the"df"=disk free just search it use the fs=file system.so if your os(operating system) cannot release the room you delete,the date will greater than the du get.
  • 10.The fs(filesystem) of Ext2 include num1.bootsector num2.superblock num3.inode bitmap num4.block bitmap num5.inodetable num6.datablock.

       END--Eco.

相关内容

    暂无相关文章