-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnucoreutls-aliases.sh
111 lines (111 loc) · 4.88 KB
/
gnucoreutls-aliases.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# prefer GNU version of most core utilities (interactive shell only).
#
# This is a sh compatible script to be sourced in your shell or script.
#
# Originally found at http://tomayko.com/writings/gnu-is-killing-solaris
# Updated to coreutils 8.32, diff and make. Drop uptime.
#
alias awk=$(type -p gawk gnuawk awk | head -1)
alias b2sum=$(type -p gb2sum b2sum | head -1)
alias base32=$(type -p gbase32 base32 | head -1)
alias base64=$(type -p gbase64 base64 | head -1)
alias basename=$(type -p gbasename basename | head -1)
alias basenc=$(type -p gbasenc basenc | head -1)
alias cat=$(type -p gcat cat | head -1)
alias chcon=$(type -p gchcon chcon | head -1)
alias chown=$(type -p gchown chown | head -1)
alias chroot=$(type -p gchroot chroot | head -1)
alias cksum=$(type -p gcksum cksum | head -1)
alias comm=$(type -p gcomm comm | head -1)
alias cp=$(type -p gcp cp | head -1)
alias csplit$(type -p gcsplit | csplit | head -1)
alias cut=$(type -p gcut cut | head -1)
alias date=$(type -p gdate date | head -1)
alias dd=$(type -p gdd dd | head -1)
alias df=$(type -p gdf df | head -1)
alias dir=$(type -p gdir dir | head -1)
alias dircolors=$(type -p gdircolors dircolors | head -1)
alias dirname=$(type -p gdirname dirname | head -1)
alias diff=$(type -p gdiff diff | head -1)
alias du=$(type -p gdu du | head -1)
alias echo=$(type -p gecho echo | head -1)
alias env=$(type -p genv env | head -1)
alias expand=$(type -p gexpand expand | head -1)
alias expr=$(type -p gexpr expr | head -1)
alias factor=$(type -p gfactor factor | head -1)
alias false=$(type -p gfalse false | head -1)
alias fmt=$(type -p gfmt fmt | head -1)
alias fold=$(type -p gfold fold | head -1)
alias head=$(type -p ghead head | head -1)
alias hostid=$(type -p ghostid hostid | head -1)
alias id=$(type -p gid id | head -1)
alias install=$(type -p ginstall install | head -1)
alias join=$(type -p gjoin join | head -1)
alias link=$(type -p glink link | head -1)
alias ln=$(type -p gln ln | head -1)
alias logname=$(type -p glogname logname | head -1)
alias ls=$(type -p gls ls | head -1)
alias make=$(type -p gmake make | head -1)
alias md5sum=$(type -p gmd5sum md5sum | head -1)
alias mkdir=$(type -p gmkdir mkdir | head -1)
alias mkfifo=$(type -p gmkfifo mkfifo | head -1)
alias mknod=$(type -p gmknod mknod | head -1)
alias mktemp=$(type -p gmktemp mktemp | head -1)
alias mv=$(type -p gmv mv | head -1)
alias nice=$(type -p gnice nice | head -1)
alias nl=$(type -p gnl nl | head -1)
alias nohup=$(type -p gnohup hohup | head -1)
alias nproc=$(type -p gnproc nproc | head -1)
alias numfmt=$(type -p gnumfmt numfmt | head -1)
alias od=$(type -p god od | head -1)
alias paste=$(type -p gpaste paste | head -1)
alias patch=$(type -p gpatch patch | head -1)
alias pathchk=$(type -p gpathchk pathchk | head -1)
alias pinky=$(type -p gpinky pinky | head -1)
alias pr=$(type -p gpr pr | head -1)
alias printenv=$(type -p gprintenv printenv | head -1)
alias printf=$(type -p gprintf printf | head -1)
alias ptx=$(type -p gptx ptx | head -1)
alias pwd=$(type -p gpwd pwd | head -1)
alias readlink=$(type -p greadlink readlink | head -1)
alias realpath=$(type -p grealpath realpath | head -1)
alias rm=$(type -p grm rm | head -1)
alias rmdir=$(type -p grmdir rmdir | head -1)
alias runcon=$(type -p gruncon runcon | head -1)
alias seq=$(type -p gseq seq | head -1)
alias sha1sum=$(type -p gsha1sum sha1sum | head -1)
alias sha224sum=$(type -p gsha224sum sha224sum | head -1)
alias sha256sum=$(type -p gsha256sum sha256sum | head -1)
alias sha384sum=$(type -p gsha384sum sha384sum | head -1)
alias sha512sum=$(type -p gsha512sum sha512sum | head -1)
alias shred=$(type -p gshred shred | head -1)
alias shuf=$(type -p gshuf shuf | head -1)
alias sleep=$(type -p gsleep sleep | head -1)
alias sort=$(type -p gsort sort | head -1)
alias split=$(type -p gsplit split | head -1)
alias stat=$(type -p gstat stat | heas -1)
alias stdbuf=$(type -p gstdbuf stdbuf | head -1)
alias stty=$(type -p gstty stty | head -1)
alias sum=$(type -p gsum sum | head -1)
alias sync=$(type -p gsync sync | head -1)
alias tac=$(type -p gtac tac | head -1)
alias tail=$(type -p gtail tail | head -1)
alias tar=$(type -p gnutar gtar tar | head -1)
alias tee=$(type -p gtee tee | head -1)
alias test=$(type -p gtest test | head -1)
alias timeout=$(type -p gtimeout timeout | head -1)
alias touch=$(type -p gtouch touch | head -1)
alias tr=$(type -p gtr tr | head -1)
alias true=$(type -p gtrue true | head -1)
alias truncate=$(type -p gtruncate truncate | head -1)
alias tsort=$(type -p gtsort tsort | head -1)
alias tty=$(type -p gtty tty | head -1)
alias unexpand=$(type -p gunexpand unexpand | head -1)
alias uniq=$(type -p guniq uniq | head -1)
alias unlink=$(type -p gunlink unlink | head -1)
alias users=$(type -p gusers users | head -1)
alias vdir=$(type -p gvdir vdir | head -1)
alias wc=$(type -p gwc wc | head -1)
alias who=$(type -p gwho who | head -1)
alias whoami=$(type -p gwhoami whoami | head -1)
alias yes=$(type -p gyes yes | head -1)