91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.08M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-02-01
  • 標(biāo)簽: shell??

資源簡介

用c語言寫的一個(gè)shell功能不是很全,但是基本功能已經(jīng)實(shí)現(xiàn)
編譯方式
    Makefile所在路徑直接make

資源截圖

代碼片段和文件信息

////////////////////////////////////////////////////////////////////////////////
///?@file :?command_display.c
///?@brief :?linux?shell
///?@date :?2018/07/05?
///?@author?:?YYY?(最終更新者)
///?@mail???:?yinyy2825@163.com
///?@version:?1.0?新規(guī)?(更新情報(bào)(更新日、更新內(nèi)容、更新案件))
/// @note :?Copyright?(C)?20172018?Free?Software?Foundation?Inc.
////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////////
/// ?INCLUDE ?///
////////////////////////////////////////////////////////////////////////////////
#include?“shell_common.h“




int?Command_Display(const?char?*userconst?char*?pwdchar*?cmd?char*?computer)
{
????char?*pfRslt?=?NULL;
????if(memcmp(“root“usersizeof(“root“))?==?0)
????{
????????fprintf(stdout“%s@%s:%s$?“user?computer?pwd);?
????}
????else
????{
????????if(strlen(pwd)?????????{
????????????fprintf(stdout“%s@hcuuser-VirtualBox:~%s$

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????302??2019-06-23?03:25??shell\.git\config

?????文件?????????73??2019-06-23?03:24??shell\.git\description

?????文件?????????23??2019-06-23?03:25??shell\.git\HEAD

?????文件????????478??2019-06-23?03:24??shell\.git\hooks\applypatch-msg.sample

?????文件????????896??2019-06-23?03:24??shell\.git\hooks\commit-msg.sample

?????文件???????3327??2019-06-23?03:24??shell\.git\hooks\fsmonitor-watchman.sample

?????文件????????189??2019-06-23?03:24??shell\.git\hooks\post-update.sample

?????文件????????424??2019-06-23?03:24??shell\.git\hooks\pre-applypatch.sample

?????文件???????1638??2019-06-23?03:24??shell\.git\hooks\pre-commit.sample

?????文件???????1348??2019-06-23?03:24??shell\.git\hooks\pre-push.sample

?????文件???????4898??2019-06-23?03:24??shell\.git\hooks\pre-rebase.sample

?????文件????????544??2019-06-23?03:24??shell\.git\hooks\pre-receive.sample

?????文件???????1492??2019-06-23?03:24??shell\.git\hooks\prepare-commit-msg.sample

?????文件???????3610??2019-06-23?03:24??shell\.git\hooks\update.sample

?????文件???????1664??2019-06-23?03:25??shell\.git\index

?????文件????????240??2019-06-23?03:24??shell\.git\info\exclude

?????文件????????181??2019-06-23?03:25??shell\.git\logs\HEAD

?????文件????????181??2019-06-23?03:25??shell\.git\logs\refs\heads\master

?????文件????????181??2019-06-23?03:25??shell\.git\logs\refs\remotes\origin\HEAD

?????文件????????149??2019-06-23?03:25??shell\.git\objects\06\e2d2eb316a71ba99e985225f14b9c4f405ed9e

?????文件????????149??2019-06-23?03:25??shell\.git\objects\07\0c1ff230bc07e3f4edb8969743cf908169485b

?????文件????????149??2019-06-23?03:25??shell\.git\objects\09\7171a2fad2a8dd71da9828a4796211fc307392

?????文件?????????85??2019-06-23?03:25??shell\.git\objects\09\ce372d57bbf93d5a5dbf391061b7ad9982cffb

?????文件????????978??2019-06-23?03:25??shell\.git\objects\09\d133dbe6f66ff3a07cd1da7e65ca2734656f9f

?????文件????????305??2019-06-23?03:25??shell\.git\objects\0c\0db943c38c107c98b0a781c92b7d08c401c4d5

?????文件????????173??2019-06-23?03:25??shell\.git\objects\0d\c65e6baa7223d096663217b9aa7f1a8ae3b7ca

?????文件????????124??2019-06-23?03:24??shell\.git\objects\18\87a29e11e09c78eb7b3e13b2d595f4b8c80039

?????文件????????217??2019-06-23?03:25??shell\.git\objects\19\2052c6ea5e2e3358c7fc4733c2c9e013a5aaab

?????文件????????935??2019-06-23?03:25??shell\.git\objects\19\946c28fc3f1d6573ec4202761c2d7a5442868e

?????文件????????347??2019-06-23?03:25??shell\.git\objects\1a\ae8f17ffb04cda039cb54f7dfa88ccd97412e7

............此處省略214個(gè)文件信息

評論

共有 條評論