Code Monkey home page Code Monkey logo

dibingfa-coreutils's Introduction

dibingfa-coreutils

coreutils by dibingfa

gnu coreutils: https://github.com/coreutils/coreutils

man 3 getopt: https://linux.die.net/man/3/getopt

进度表

  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo: -r -b -g etc for red blue green to print String
  • env
  • expand
  • expr
  • factor
  • false
  • fmt
  • fold
  • getlimits
  • ginstall
  • groups
  • head
  • hostid
  • id
  • join
  • kill
  • link
  • ln
  • local.mk
  • logname
  • ls
  • make-prime-list
  • md5sum
  • mkdir
  • mkfifo
  • mknod
  • mktemp
  • mv
  • nice
  • nl
  • nohup
  • nproc
  • numfmt
  • od
  • paste
  • pathchk
  • pinky
  • pr
  • printenv
  • printf
  • ptx
  • pwd
  • readlink
  • realpath
  • rm
  • rmdir
  • runcon
  • seq
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
  • shred
  • shuf
  • sleep
  • sort
  • split
  • stat
  • stdbuf
  • stty
  • sum
  • sync
  • tac
  • tail
  • tee
  • test
  • timeout
  • touch
  • tr
  • true
  • truncate
  • tsort
  • tty
  • uname
  • unexpand
  • uniq
  • unlink
  • uptime
  • users
  • vdir
  • wc
  • who
  • whoami
  • yes: -n(show line number)-s(sleep NUM seconds between)

coreutils 编译

第一步:ubuntu 16.04

第二步

./bootstrap
./configure FORCE_UNSAFE_CONFIGURE=1 --disable-gcc-warnings

第三步:修改 Makefile

CFLAGS = -g -O0

第四步

make

第五步:VS Code 配置 launcher.json

{
    "version": "0.2.0",
    "configurations": [

        {
            "type": "cppdbg",
            "request": "launch",
            "name": "GDB",
            "program": "${workspaceFolder}/src/echo",
            "cwd": "${workspaceFolder}",
            "args": ["hello"]
        }
    ]
}

第六步:点击 debug

image

dibingfa-coreutils's People

Contributors

dibingfa avatar

Stargazers

EI Madrigal avatar Rager Researcher avatar miller avatar Yang Gao avatar first_K avatar chenshy avatar Chen_shilong avatar Tang Jia avatar  avatar  avatar  avatar  avatar  avatar  avatar Taosh avatar Youyu Song avatar tody avatar osc_字母表 avatar coderock avatar  avatar  avatar  avatar guofeng007 avatar  avatar  avatar  avatar  avatar Yann.Chao avatar liuzhanjie avatar FreeFO avatar liwei avatar  avatar  avatar jmal avatar  avatar violentpanda avatar jiaxi.liu avatar tungchi avatar  avatar joy avatar sl avatar  avatar Kai Chen avatar huyangq avatar aloha_world_ avatar Youth.霖 avatar h0n9xu avatar

Watchers

 avatar violentpanda avatar  avatar huyangq avatar  avatar zhangheng18 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.