Commands

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Welcome to Fedora 33 (riscv64)

[root@localhost ~]# pwd


/root
[root@localhost ~]# man
What manual page do you want?
For example, try 'man man'.
[root@localhost ~]# hostname
localhost
[root@localhost ~]# date
Wed Jun 1 03:17:21 PM UTC 2022
[root@localhost ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 02:e0:e4:5c:b6:c1 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20 bytes 6840 (6.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost ~]# pwd
/root
[root@localhost ~]# ls
bench.py hello.c
[root@localhost ~]# -i
sh: -i: command not found
[root@localhost ~]# ls -i
83 bench.py 81 hello.c
[root@localhost ~]# ls-i
sh: ls-i: command not found
[root@localhost ~]# ls -l
total 8
-rw-r--r-- 1 root root 114 Dec 26 2020 bench.py
-rw-r--r-- 1 root root 185 Sep 9 2018 hello.c
[root@localhost ~]# ld -a
lld: unrecognized option '-a'
ld: use the --help option for usage information
[root@localhost ~]# ls -a
. .bash_logout .bashrc .cshrc hello.c
.. .bash_profile bench.py .fldev_cfg .tcshrc
[root@localhost ~]# mkdir
mkdir: missing operand
Try 'mkdir --help' for more information.
[root@localhost ~]# mk dir
sh: mk: command not found
[root@localhost ~]# mkdir
mkdir: missing operand
Try 'mkdir --help' for more information.
[root@localhost ~]# rmdir
rmdir: missing operand
rmdir: missing operand
Try 'rmdir --help' for more information.
[root@localhost ~]# touch
touch: missing file operand
Try 'touch --help' for more information.
[root@localhost ~]# rm
rm: missing operand
Try 'rm --help' for more information.
[root@localhost ~]# cd
[root@localhost ~]# cd..
sh: cd..: command not found
[root@localhost ~]# cd cd..
sh: cd: cd..: No such file or directory
[root@localhost ~]# cd/
sh: cd/: No such file or directory
[root@localhost ~]# cp
cp: missing file operand
Try 'cp --help' for more information.
[root@localhost ~]# cat
^C
[root@localhost ~]# >
sh: syntax error near unexpected token `newline'
[root@localhost ~]# >>
sh: syntax error near unexpected token `newline'
[root@localhost ~]# *
sh: bench.py: command not found
[root@localhost ~]# grep
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
[root@localhost ~]# name
sh: name: command not found
[root@localhost ~]# softlink
sh: softlink: command not found

You might also like