Skip to content

Follow-up on the core utilities implementations. #15

@mdaadoun

Description

@mdaadoun

The core utilities list

From POSIX standards and the GNU core utilities here is a list of the commands. This issue can be used to discuss progress, priorities, consistencies and general problems related to those commands in an embedded linux environment like the pico.

  • grep :: search a file for a pattern
  • cat :: concatenate and print files
  • printf :: write formatted output
  • tr :: translate characters
  • xargs :: construct argument lists and invoke utility
  • sort :: sort, merge, or sequence check text files
  • test :: evaluate expression
  • cd :: change the working directory
  • ls :: list directory contents
  • mkdir :: make directories
  • rmdir :: remove directories
  • cp :: copy files
  • mv :: move files
  • rm :: remove directory entries
  • diff :: compare two files
  • echo :: write arguments to standard output
  • jobs :: display status of jobs in the current session
  • chmod :: change the file modes
  • chgrp :: change the file group ownership
  • chown :: change the file ownership
  • alias :: define or display aliases
  • unalias :: remove alias definitions
  • sed :: stream editor
  • awk :: pattern scanning and processing language
  • cut :: cut out selected fields of each line of a file
  • head :: copy the first part of files
  • tail :: copy the last part of a file
  • more :: display files on a page-by-page basis
  • less :: terminal pager (like more)
  • pwd :: return working directory name
  • df :: report free disk space
  • free :: display amount of free and used memory
  • du :: estimate file space usage
  • find :: find files
  • dirname :: return the directory portion of a pathname
  • basename :: return non-directory portion of a pathname
  • tee :: duplicate standard input
  • uniq :: report or filter out repeated lines in a file
  • bc :: arbitrary-precision arithmetic language
  • cksum :: write file checksums and sizes
  • expr :: evaluate arguments as an expression
  • read :: read a line from standard input
  • sleep :: suspend execution for an interval
  • time :: time a simple command
  • true :: return true value
  • false :: return false value
  • wc :: word, line, and byte or character count
  • csplit :: split files based on context
  • dd :: convert and copy a file
  • patch :: apply changes to files
  • expand :: convert tabs to spaces
  • file :: determine file type
  • iconv :: codeset conversion
  • ln :: link files
  • mkfifo :: make FIFO special files
  • nl :: line numbering filter
  • od :: dump files in various formats
  • pax :: portable archive interchange
  • touch :: change file access and modification times
  • date :: write the date and time
  • id :: return user identity
  • uname :: return system name
  • type :: write a description of command type
  • who :: display who is on the system
  • su :: run a command with substitute user and group ID
  • sudo :: execute a command as another user
  • locate :: find the files by name
  • ping :: send request to network hosts
  • wget :: network downloader
  • curl :: transfer a URL
  • man :: interface to the system reference manuals
  • mount && unmount :: mount/unmount a filesystem
  • lsblk :: list block devices
  • dmesg :: print or control the kernel ring buffer
  • vim :: screen-oriented (visual) display editor

More commands, see the implementation of core utils in rust : https://github.com/uutils/coreutils

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features / General improvementshelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions