3DプリンタとITとプリキュアのブログ

大学でプログラミングに出会って、ズブズブにハマってしまった情報系学生の書くブログです。

Cloud Functionsで叩けるシェルコマンド一覧

Cloud Functionsでgcloudコマンドが叩きたくなったんですけど、gcloudがインストールされているか分からなかったので、$PATHを調べるついでに、$PATHが通っている全てのコマンドも調べてみました。

こんな感じのCloud Functionsを作った

$PATHは/usr/local/bin:/usr/bin/:/binです。

 

Cloud Functionsで叩けるコマンド一覧

結論から言うとgcloudコマンドは入ってませんでした。

↓は2018/8/27時点での実行結果。適当にgrepしてください。

/bin:
bash
bunzip2
bzcat
bzcmp
bzdiff
bzegrep
bzexe
bzfgrep
bzgrep
bzip2
bzip2recover
bzless
bzmore
cat
chacl
chgrp
chmod
chown
cp
dash
date
dd
df
dir
dmesg
dnsdomainname
domainname
echo
egrep
false
fgrep
findmnt
getfacl
grep
gunzip
gzexe
gzip
hostname
journalctl
kill
ln
login
loginctl
ls
lsblk
machinectl
mkdir
mknod
mktemp
more
mount
mountpoint
mv
nisdomainname
pidof
ps
pwd
rbash
readlink
rm
rmdir
run-parts
sed
setfacl
sh
sh.distrib
sleep
stty
su
sync
systemctl
systemd
systemd-ask-password
systemd-escape
systemd-inhibit
systemd-machine-id-setup
systemd-notify
systemd-tmpfiles
systemd-tty-ask-password-agent
tailf
tar
tempfile
touch
true
udevadm
umount
uname
uncompress
vdir
wdctl
which
ypdomainname
zcat
zcmp
zdiff
zegrep
zfgrep
zforce
zgrep
zless
zmore
znew

/usr/bin:
2to3
2to3-2.7
[
a2p
addpart
addr2line
animate
animate-im6
apt
apt-cache
apt-cdrom
apt-config
apt-get
apt-key
apt-mark
ar
arch
as
awk
base64
basename
bashbug
busctl
c++
c++filt
c2ph
c89
c89-gcc
c99
c99-gcc
c_rehash
captoinfo
catchsegv
cc
chacl
chage
chattr
chcon
chfn
chrt
chsh
cksum
clear
clear_console
cmp
comm
compare
compare-im6
compile_et
compose
composite
composite-im6
config_data
conjure
conjure-im6
convert
convert-im6
corelist
cpan
cpp
cpp-4.9
csplit
curl
cut
debconf
debconf-apt-progress
debconf-communicate
debconf-copydb
debconf-escape
debconf-set-selections
debconf-show
delpart
dh_python2
diff
diff3
dircolors
dirname
display
display-im6
dpkg
dpkg-architecture
dpkg-buildflags
dpkg-buildpackage
dpkg-checkbuilddeps
dpkg-deb
dpkg-distaddfile
dpkg-divert
dpkg-genchanges
dpkg-gencontrol
dpkg-gensymbols
dpkg-maintscript-helper
dpkg-mergechangelogs
dpkg-name
dpkg-parsechangelog
dpkg-query
dpkg-scanpackages
dpkg-scansources
dpkg-shlibdeps
dpkg-source
dpkg-split
dpkg-statoverride
dpkg-trigger
dpkg-vendor
du
dwp
edit
elfedit
enc2xs
env
expand
expiry
expr
factor
faillog
fallocate
find
find2perl
flock
fmt
fold
free
g++
g++-4.9
gcc
gcc-4.9
gcc-ar
gcc-ar-4.9
gcc-nm
gcc-nm-4.9
gcc-ranlib
gcc-ranlib-4.9
gcov
gcov-4.9
gencat
getconf
getent
getfacl
getopt
git
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gold
gpasswd
gpg
gpg-zip
gpgsplit
gpgv
gprof
groups
h2ph
h2xs
head
hostid
hostnamectl
i386
iconv
id
identify
identify-im6
import
import-im6
infocmp
infotocap
install
instmodsh
ionice
ipcmk
ipcrm
ipcs
ischroot
join
json_pp
krb5-config
krb5-config.mit
last
lastb
lastlog
lcf
ld
ld.bfd
ld.gold
ldd
libnetcfg
line
link
linux32
linux64
locale
localectl
localedef
logger
logname
lsattr
lscpu
lslocks
lspgpot
lzcat
lzcmp
lzdiff
lzegrep
lzfgrep
lzgrep
lzless
lzma
lzmainfo
lzmore
make
make-first-existing-target
mawk
mcookie
md5sum
md5sum.textutils
mesg
mkfifo
mogrify
mogrify-im6
montage
montage-im6
mtrace
namei
nawk
ncurses5-config
ncursesw5-config
newgrp
nice
nl
nm
nohup
nproc
nsenter
numfmt
objcopy
objdump
od
oldfind
openssl
pager
partx
passwd
paste
patch
pathchk
pdb
pdb2.7
perl
perl5.20.2
perlbug
perldoc
perlivp
perlthanks
pg
pgrep
piconv
pinky
pkill
pl2pm
pldd
pmap
pod2html
pod2man
pod2text
pod2usage
podchecker
podselect
pr
prename
print
printenv
printf
prlimit
prove
psed
pstruct
ptar
ptardiff
ptargrep
ptx
pwdx
pyclean
pycompile
pydoc
pydoc2.7
pygettext
pygettext2.7
python
python2
python2.7
pyversions
ranlib
readelf
realpath
rename
rename.ul
renice
reset
resizepart
rev
rgrep
rpcgen
run-mailcap
runcon
s2p
savelog
script
scriptreplay
sdiff
see
select-editor
sensible-browser
sensible-editor
sensible-pager
seq
setarch
setfacl
setsid
setterm
sg
sha1sum
sha224sum
sha256sum
sha384sum
sha512sum
shasum
shred
shuf
size
skill
slabtop
snice
sort
sotruss
splain
split
sprof
stat
stdbuf
stream
stream-im6
strings
strip
sum
systemd-analyze
systemd-cat
systemd-cgls
systemd-cgtop
systemd-delta
systemd-detect-virt
systemd-nspawn
systemd-path
systemd-run
systemd-stdio-bridge
tabs
tac
tail
taskset
tee
test
tic
timedatectl
timeout
tload
toe
top
touch
tput
tr
truncate
tset
tsort
tty
tzselect
ucf
ucfq
ucfr
unexpand
uniq
unlink
unlzma
unshare
unxz
update-alternatives
uptime
users
utmpdump
vmstat
w
w.procps
wall
watch
wc
whereis
which
who
whoami
x86_64
x86_64-linux-gnu-addr2line
x86_64-linux-gnu-ar
x86_64-linux-gnu-as
x86_64-linux-gnu-c++filt
x86_64-linux-gnu-cpp
x86_64-linux-gnu-cpp-4.9
x86_64-linux-gnu-dwp
x86_64-linux-gnu-elfedit
x86_64-linux-gnu-g++
x86_64-linux-gnu-g++-4.9
x86_64-linux-gnu-gcc
x86_64-linux-gnu-gcc-4.9
x86_64-linux-gnu-gcc-ar
x86_64-linux-gnu-gcc-ar-4.9
x86_64-linux-gnu-gcc-nm
x86_64-linux-gnu-gcc-nm-4.9
x86_64-linux-gnu-gcc-ranlib
x86_64-linux-gnu-gcc-ranlib-4.9
x86_64-linux-gnu-gcov
x86_64-linux-gnu-gcov-4.9
x86_64-linux-gnu-gprof
x86_64-linux-gnu-ld
x86_64-linux-gnu-ld.bfd
x86_64-linux-gnu-ld.gold
x86_64-linux-gnu-nm
x86_64-linux-gnu-objcopy
x86_64-linux-gnu-objdump
x86_64-linux-gnu-ranlib
x86_64-linux-gnu-readelf
x86_64-linux-gnu-size
x86_64-linux-gnu-strings
x86_64-linux-gnu-strip
xargs
xsubpp
xz
xzcat
xzcmp
xzdiff
xzegrep
xzfgrep
xzgrep
xzless
xzmore
yes
zdump
zipdetails

/usr/local/bin:
install_node

aliasも調べてみたけど、aliasは1つも設定されていなかった。