2019-04-18Ubuntu下文件操作命令
//复制文件到某个地方
sudo cp /home/chentao/libflashplayer.so /usr/lib/mozilla/plugins/
//解压文件
tar -zxvf /home/chentao/下载/flash_player_npapi_linux.x86_64.tar.gz
chentao@chentao-Aspire-E1-571G:~$ tar -zxvf /home/chentao/下载/flash_player_npapi_linux.x86_64.tar.gz
//火狐浏览器flash解压后如下所示
libflashplayer.so
readme.txt
LGPL/
LGPL/LGPL.txt
LGPL/notice.txt
usr/
usr/share/
usr/share/kde4/
usr/share/kde4/services/
usr/share/kde4/services/kcm_adobe_flash_player.desktop
usr/share/pixmaps/
usr/share/pixmaps/flash-player-properties.png
usr/share/applications/
usr/share/applications/flash-player-properties.desktop
usr/share/icons/
usr/share/icons/hicolor/
usr/share/icons/hicolor/32x32/
usr/share/icons/hicolor/32x32/apps/
usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
usr/share/icons/hicolor/16x16/
usr/share/icons/hicolor/16x16/apps/
usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
usr/share/icons/hicolor/48x48/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
usr/share/icons/hicolor/22x22/
usr/share/icons/hicolor/22x22/apps/
usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
usr/share/icons/hicolor/24x24/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
usr/lib/
usr/lib/kde4/
usr/lib/kde4/kcm_adobe_flash_player.so
usr/bin/
usr/bin/flash-player-properties
usr/lib64/
usr/lib64/kde4/
usr/lib64/kde4/kcm_adobe_flash_player.so
license.pdf
chentao@chentao-Aspire-E1-571G:~ ls
bin games include lib local sbin share src
chentao@chentao-Aspire-E1-571G:/usr cd ./mozilla/plugins/
chentao@chentao-Aspire-E1-571G:/usr/lib/mozilla/plugins cd sur
bash: cd: sur: 没有那个文件或目录
chentao@chentao-Aspire-E1-571G:/usr/lib/mozilla/plugins ll
总用量 84
drwxr-xr-x 10 root root 4096 2月 10 08:12 ./
drwxr-xr-x 25 root root 4096 4月 17 22:23 ../
drwxr-xr-x 2 root root 40960 4月 18 20:21 bin/
drwxr-xr-x 2 root root 4096 2月 10 08:14 games/
drwxr-xr-x 6 root root 4096 4月 17 01:49 include/
drwxr-xr-x 133 root root 4096 4月 18 20:37 lib/
drwxr-xr-x 10 root root 4096 2月 10 08:12 local/
drwxr-xr-x 2 root root 4096 4月 17 21:20 sbin/
drwxr-xr-x 249 root root 12288 4月 18 20:37 share/
drwxr-xr-x 6 root root 4096 4月 17 21:23 src/
chentao@chentao-Aspire-E1-571G:/usr ll -a
总用量 84
drwxr-xr-x 10 root root 4096 2月 10 08:12 ./
drwxr-xr-x 25 root root 4096 4月 17 22:23 ../
drwxr-xr-x 2 root root 40960 4月 18 20:21 bin/
drwxr-xr-x 2 root root 4096 2月 10 08:14 games/
drwxr-xr-x 6 root root 4096 4月 17 01:49 include/
drwxr-xr-x 133 root root 4096 4月 18 20:37 lib/
drwxr-xr-x 10 root root 4096 2月 10 08:12 local/
drwxr-xr-x 2 root root 4096 4月 17 21:20 sbin/
drwxr-xr-x 249 root root 12288 4月 18 20:37 share/
drwxr-xr-x 6 root root 4096 4月 17 21:23 src/
chentao@chentao-Aspire-E1-571G:/usr ll -a
总用量 1608
drwxr-xr-x 133 root root 4096 4月 18 20:37 ./
drwxr-xr-x 10 root root 4096 2月 10 08:12 ../
drwxr-xr-x 2 root root 4096 2月 10 08:13 accountsservice/
drwxr-xr-x 2 root root 4096 2月 10 08:13 apg/
drwxr-xr-x 5 root root 4096 2月 10 08:13 apt/
drwxr-xr-x 3 root root 4096 2月 10 08:13 aspell/
drwxr-xr-x 2 root root 4096 2月 10 08:13 at-spi2-core/
drwxr-xr-x 2 root root 4096 2月 10 08:13 avahi/
drwxr-xr-x 2 root root 4096 4月 21 2018 binfmt.d/
drwxr-xr-x 2 root root 4096 2月 10 08:13 bluetooth/
-rwxr-xr-x 1 root root 684 5月 5 2018 cnf-update-db*
drwxr-xr-x 2 root root 4096 2月 10 08:13 colord/
-rwxr-xr-x 1 root root 3300 5月 5 2018 command-not-found*
drwxr-xr-x 2 root root 4096 2月 10 08:13 compat-ld/
drwxr-xr-x 10 root root 4096 2月 10 08:13 cups/
drwxr-xr-x 2 root root 4096 2月 10 08:12 dbus-1.0/
drwxr-xr-x 2 root root 4096 2月 10 08:13 dconf/
drwxr-xr-x 5 root root 4096 2月 10 08:15 debug/
drwxr-xr-x 3 root root 4096 2月 10 08:14 deja-dup/
drwxr-xr-x 3 root root 4096 2月 10 08:12 dpkg/
drwxr-xr-x 2 root root 4096 2月 10 08:12 eject/
drwxr-xr-x 3 root root 4096 2月 10 08:13 emacsen-common/
drwxr-xr-x 2 root root 4096 4月 17 21:21 environment.d/
drwxr-xr-x 2 root root 4096 2月 10 08:14 evince/
drwxr-xr-x 3 root root 4096 2月 10 08:14 evolution/
drwxr-xr-x 7 root root 4096 2月 10 08:14 evolution-data-server/
drwxr-xr-x 2 root root 4096 4月 17 21:20 file/
drwxr-xr-x 8 root root 4096 4月 17 21:12 firefox/
drwxr-xr-x 6 root root 4096 2月 10 08:14 firefox-addons/
drwxr-xr-x 2 root root 4096 4月 18 20:46 flashplugin-installer/
drwxr-xr-x 2 root root 4096 2月 10 08:14 fwupd/
drwxr-xr-x 2 root root 4096 2月 10 08:14 fwupdate/
drwxr-xr-x 3 root root 4096 4月 16 2018 gcc/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gcr/
drwxr-xr-x 2 root root 4096 4月 17 21:20 gdm3/
drwxr-xr-x 3 root root 4096 2月 10 08:14 geoclue-2.0/
drwxr-xr-x 2 root root 4096 4月 17 21:13 gettext/
drwxr-xr-x 3 root root 4096 2月 10 08:14 ghostscript/
drwxr-xr-x 2 root root 4096 4月 17 01:50 girepository-1.0/
drwxr-xr-x 3 root root 12288 4月 17 02:32 git-core/
drwxr-xr-x 3 root root 4096 2月 10 08:14 gjs/
drwxr-xr-x 2 root root 4096 2月 10 08:13 glib-networking/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-control-center/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-disk-utility/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-initial-setup/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-online-accounts/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-session/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-settings-daemon/
drwxr-xr-x 3 root root 4096 2月 10 08:14 gnome-settings-daemon-3.0/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-shell/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnome-terminal/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnupg/
drwxr-xr-x 2 root root 4096 2月 10 08:14 gnupg2/
drwxr-xr-x 2 root root 4096 2月 10 08:13 gold-ld/
drwxr-xr-x 4 root root 4096 2月 10 08:13 groff/
drwxr-xr-x 3 root root 4096 2月 10 08:14 grub/
drwxr-xr-x 2 root root 4096 2月 10 08:14 grub-legacy/
lrwxrwxrwx 1 root root 31 4月 17 01:32 gst-install-plugins-helper -> packagekit/pk-gstreamer-install*
drwxr-xr-x 2 root root 4096 4月 17 21:22 gvfs/
drwxr-xr-x 2 root root 4096 4月 17 01:48 ibus/
drwxr-xr-x 3 root root 4096 4月 18 20:37 iceape/
drwxr-xr-x 3 root root 4096 4月 18 20:37 iceweasel/
drwxr-xr-x 4 root root 4096 2月 10 08:12 initramfs-tools/
drwxr-xr-x 2 root root 4096 2月 10 08:13 ispell/
drwxr-xr-x 3 root root 4096 2月 10 08:12 kernel/
drwxr-xr-x 3 root root 4096 2月 10 08:12 klibc/
drwxr-xr-x 2 root root 4096 2月 10 08:13 language-selector/
lrwxrwxrwx 1 root root 15 4月 17 01:32 libgjs.so.0 -> libgjs.so.0.0.0
-rw-r--r-- 1 root root 839200 12月 20 02:32 libgjs.so.0.0.0
drwxr-xr-x 2 root root 4096 2月 10 08:14 libmbim/
-rw-r--r-- 1 root root 10080 3月 26 2018 libnatpmp.so.1
lrwxrwxrwx 1 root root 17 4月 17 01:32 libnetpbm.so.10 -> libnetpbm.so.10.0
-rw-r--r-- 1 root root 146360 4月 23 2016 libnetpbm.so.10.0
drwxr-xr-x 2 root root 4096 2月 10 08:14 libqmi/
drwxr-xr-x 5 root root 4096 4月 17 21:21 libreoffice/
drwxr-xr-x 3 root root 4096 2月 10 08:14 linux/
drwxr-xr-x 3 root root 4096 2月 10 08:15 linux-boot-probes/
drwxr-xr-x 3 root root 4096 2月 10 08:17 locale/
drwxr-xr-x 2 root root 4096 2月 10 08:14 lp_solve/
drwxr-xr-x 2 root root 4096 2月 10 08:13 man-db/
drwxr-xr-x 2 root root 4096 2月 10 08:15 memtest86+/
drwxr-xr-x 3 root root 4096 4月 18 20:37 midbrowser/
drwxr-xr-x 3 root root 4096 2月 10 08:12 mime/
drwxr-xr-x 2 root root 4096 4月 21 2018 modules-load.d/
drwxr-xr-x 3 root root 4096 2月 10 08:14 mozilla/
drwxr-xr-x 2 root root 4096 2月 10 08:14 mutter/
drwxr-xr-x 6 root root 4096 2月 10 08:12 networkd-dispatcher/
drwxr-xr-x 4 root root 4096 2月 10 08:15 NetworkManager/
drwxr-xr-x 2 root root 4096 2月 10 08:15 notification-daemon/
drwxr-xr-x 2 root root 4096 2月 10 08:13 nvidia/
drwxr-xr-x 2 root root 4096 4月 17 21:15 openssh/
drwxr-xr-x 2 root root 4096 2月 10 08:15 os-prober/
drwxr-xr-x 4 root root 4096 2月 10 08:15 os-probes/
-rw-r--r-- 1 root root 386 2月 5 15:32 os-release
drwxr-xr-x 2 root root 4096 2月 10 08:14 packagekit/
drwxr-xr-x 2 root root 4096 2月 10 08:15 pcmciautils/
drwxr-xr-x 2 root root 4096 2月 10 08:14 pkgconfig/
drwxr-xr-x 4 root root 4096 2月 10 08:13 pm-utils/
drwxr-xr-x 2 root root 4096 4月 17 21:21 policykit-1/
drwxr-xr-x 3 root root 4096 2月 10 08:14 pppd/
drwxr-xr-x 3 root root 4096 2月 10 08:14 pulse-11.1/
drwxr-xr-x 27 root root 20480 2月 10 08:17 python2.7/
drwxr-xr-x 3 root root 4096 2月 10 08:12 python3/
drwxr-xr-x 29 root root 4096 2月 10 08:14 python3.6/
drwxr-xr-x 3 root root 4096 2月 10 08:13 python3.7/
drwxr-xr-x 3 root root 4096 2月 10 08:15 rhythmbox/
drwxr-xr-x 2 root root 4096 2月 10 08:12 rsyslog/
drwxr-xr-x 2 root root 4096 2月 10 08:15 rtkit/
drwxr-xr-x 2 root root 4096 2月 6 2018 sasl2/
drwxr-xr-x 2 root root 4096 2月 10 08:15 shotwell/
drwxr-xr-x 2 root root 4096 4月 17 21:17 snapd/
drwxr-xr-x 2 root root 4096 2月 10 08:13 software-properties/
drwxr-xr-x 2 root root 4096 2月 10 08:15 speech-dispatcher-modules/
drwxr-xr-x 3 root root 4096 2月 10 08:13 ssl/
drwxr-xr-x 2 root root 4096 2月 10 08:12 sudo/
drwxr-xr-x 2 root root 4096 4月 17 21:21 sysctl.d/
drwxr-xr-x 4 root root 4096 2月 10 08:15 syslinux/
drwxr-xr-x 2 root root 4096 2月 10 08:15 SYSLINUX/
drwxr-xr-x 2 root root 4096 2月 10 08:15 syslinux-legacy/
drwxr-xr-x 11 root root 4096 2月 10 08:15 systemd/
drwxr-xr-x 2 root root 4096 2月 10 08:15 system-service/
drwxr-xr-x 2 root root 4096 2月 10 08:12 sysusers.d/
drwxr-xr-x 2 root root 4096 7月 21 2017 tar/
drwxr-xr-x 2 root root 4096 2月 10 08:12 tc/
drwxr-xr-x 8 root root 4096 4月 17 01:45 thunderbird/
drwxr-xr-x 6 root root 4096 2月 10 08:15 thunderbird-addons/
drwxr-xr-x 2 root root 4096 4月 17 21:22 tmpfiles.d/
drwxr-xr-x 3 root root 4096 4月 17 01:50 ubiquity/
drwxr-xr-x 2 root root 4096 2月 10 08:15 ubuntu-release-upgrader/
drwxr-xr-x 2 root root 4096 2月 10 08:14 udisks2/
drwxr-xr-x 3 root root 4096 2月 10 08:14 unity-settings-daemon-1.0/
drwxr-xr-x 2 root root 4096 2月 10 08:15 update-notifier/
drwxr-xr-x 2 root root 4096 2月 10 08:14 upower/
drwxr-xr-x 2 root root 4096 4月 17 01:50 valgrind/
drwxr-xr-x 2 root root 4096 2月 10 08:15 vino/
drwxr-xr-x 4 root root 4096 2月 10 08:15 X11/
drwxr-xr-x 90 root root 69632 4月 18 20:37 x86_64-linux-gnu/
drwxr-xr-x 3 root root 4096 2月 10 08:15 xorg/
drwxr-xr-x 2 root root 4096 2月 10 08:15 xserver-xorg-video-intel-hwe-18.04/
drwxr-xr-x 3 root root 4096 4月 18 20:37 xulrunner/
drwxr-xr-x 3 root root 4096 4月 18 20:37 xulrunner-addons/
drwxr-xr-x 3 root root 4096 2月 10 08:15 zeitgeist/
chentao@chentao-Aspire-E1-571G:/usr/lib sudo cp /home/chentao/libflashplayer.so lib/ ./mozilla/plugins/
[sudo] chentao 的密码:
cp: 目标'./mozilla/plugins/' 不是目录
chentao@chentao-Aspire-E1-571G:/ sudo cp /home/chentao/libflashplayer.so /usr/lib/mozilla/plugins/
chentao@chentao-Aspire-E1-571G:/$