dotinstall:~ $ ls
dotinstall:~ $ vi hello
dotinstall:~ $ cat hello
!bin/ash
echo ‘Hello there!’
dotinstall:~ $ vi hello
dotinstall:~ $ cat hello
!bin/ash
echo ‘Hello there!’
dotinstall:~ $
dotinstall:~ $ ls
dotinstall:~ $ vi hello
dotinstall:~ $ cat hello
echo ‘Hello there!’
dotinstall:~ $ vi hello
dotinstall:~ $ cat hello
echo ‘Hello there!’
dotinstall:~ $
dotinstall:~ $ vi hello
dotinstall:~ $:q
dotinstall:~ $ ls -l /exc/shadow
ls: /exc/shadow: No such file or directory
dotinstall:~ $ ls -l /etc/shadow
-rw-r—– 1 root shadow 454 Sep 23 2020 /etc/shadow
dotinstall:~ $ cat /etc/shadow
cat: can’t open ‘/etc/shadow’: Permission denied
dotinstall:~ $ sudo !!
sudo cat /etc/shadow
root:!::0:::::
bin:!::0:::::
daemon:!::0:::::
adm:!::0:::::
lp:!::0:::::
sync:!::0:::::
shutdown:!::0:::::
halt:!::0:::::
mail:!::0:::::
news:!::0:::::
uucp:!::0:::::
operator:!::0:::::
man:!::0:::::
postmaster:!::0:::::
cron:!::0:::::
ftp:!::0:::::
sshd:!::0:::::
at:!::0:::::
squid:!::0:::::
xfs:!::0:::::
games:!::0:::::
cyrus:!::0:::::
vpopmail:!::0:::::
ntp:!::0:::::
smmsp:!::0:::::
guest:!::0:::::
nobody:!::0:::::
dotinstall:!:18528:0:99999:7:::
dotinstall:~ $ sudo
dotinstall:~ $ ls
dotinstall:~ $ touch index.html
dotinstall:~ $ ls -l
total 0
-rw-r–r– 1 dotinsta wheel 0 Sep 8 21:06 index.html
dotinstall:~ $ rm -index.html
rm: unrecognized option: n
BusyBox v1.31.1 () multi-call binary.
Usage: rm [-irf] FILE…
Remove (unlink) FILEs
-i Always prompt before removing
-f Never prompt
-R,-r Recurse
dotinstall:~ $ ls
index.html
dotinstall:~ $ rm – index.html
rm: can’t remove ‘-‘: No such file or directory
dotinstall:~ $ rm – index.html
rm: can’t remove ‘-‘: No such file or directory
rm: can’t remove ‘index.html’: No such file or directory
dotinstall:~ $ ls
dotinstall:~ $
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test3 : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
int a;
float b;
string c;
bool d;
a = 1;
b = 0.01f;
c = "勇者の登場";
d = true;
//コンソールに表示
Debug.Log(a);
Debug.Log(b);
Debug.Log(c);
Debug.Log(d);
}
}
dotinstall:~ $ ls
dotinstall:~ $ cp /etc/services .
dotinstall:~ $ wc services
417 1994 14464 services
dotinstall:~ $ wc -l services
417 services
dotinstall:~ $ head -n 3 services
#
dotinstall:~ $ tail -3 services
fido 60179/tcp # fidonet EMSI over TCP
dotinstall:~ $ grep ‘backup’ services
amanda 10080/tcp # amanda backup services
afbackup 2988/tcp # Afbackup system
afbackup 2988/udp
afmbackup 2989/tcp # Afmbackup system
afmbackup 2989/udp
kamanda 10081/tcp # amanda backup services (Kerberos)
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
dotinstall:~ $ rm services
dotinstall:~ $ ls
dotinstall:~ $
$B$1 絶対参照
B$1絶対行参照
$B1絶対列参照
B1相対参照