Sunday 19 October 2014

Linux OS command to copy folder/directory and all its contents to another folder/directory


root@Microknoppix:~/vmware#
root@Microknoppix:~/vmware#
root@Microknoppix:~/vmware# pwd
/root/vmware
root@Microknoppix:~/vmware# cp -avr /root/vmware /media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup

knoppix@Microknoppix:~$
knoppix@Microknoppix:~$
knoppix@Microknoppix:~$ sudo su
root@Microknoppix:/home/knoppix# cd /media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup#
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup#
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup#
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup# ls -alh
total 2.0K
drwxrwxrwx 3 knoppix knoppix 72 Oct 20 05:38 .
drwx------ 53 knoppix knoppix 2.3K Oct 20 05:28 ..
drwxrwxrwx 3 root root 88 Oct 20 05:24 vmware
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup# ls -alh
total 2.0K
drwxrwxrwx 3 knoppix knoppix 72 Oct 20 05:38 .
drwx------ 53 knoppix knoppix 2.3K Oct 20 05:28 ..
drwxrwxrwx 3 root root 88 Oct 20 05:24 vmware
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup#


root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup#
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup# ls -alh
total 2.0K
drwxrwxrwx 3 knoppix knoppix 72 Oct 20 05:38 .
drwx------ 53 knoppix knoppix 2.3K Oct 20 05:28 ..
drwxrwxrwx 3 root root 88 Oct 20 05:24 vmware
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup# cd vmware
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware# ls -alh
total 0
drwxrwxrwx 3 root root 88 Oct 20 05:24 .
drwxrwxrwx 3 knoppix knoppix 72 Oct 20 05:38 ..
drwxrwxrwx 3 root root 344 Oct 19 23:46 Windows_XP_Professional
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware# cd Windows_XP_Professional
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware/Windows_XP_Professional#
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware/Windows_XP_Professional# ls -alh
total 3.9G
drwxrwxrwx 3 root root 344 Oct 19 23:46 .
drwxrwxrwx 3 root root 88 Oct 20 05:24 ..
drwxr-xr-x 3 root root 80 Oct 17 15:06 caches
-rw-r--r-- 1 root root 598K Oct 19 23:46 vmware.log
-rw------- 1 root root 8.5K Oct 19 23:46 Windows XP Professional.nvram
-rw------- 1 root root 3.9G Oct 19 23:46 Windows XP Professional.vmdk
-rw-r--r-- 1 root root 0 Oct 17 14:50 Windows XP Professional.vmsd
-rwxr-xr-x 1 root root 2.7K Oct 19 23:46 Windows XP Professional.vmx
-rw-r--r-- 1 root root 3.9K Oct 17 15:05 Windows XP Professional.vmxf
root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware/Windows_XP_Professional#

root@Microknoppix:/media/sda2/home/knoppix/Downloads_4617/vmware_xp_backup/vmware/Windows_XP_Professional#  

Linux OS command to remove/delete directory and all its contents


rm -rf <DirectoryName>


This command will remove a directory and its contents without prompting you to make sure you want to delete each file in the directory. Substitute <DirectoryName> with the actual directory name.

Friday 17 October 2014

Troubleshoot " speedtest.net " application software on MSI GE70 computer hardware

Update the Linux Operating System Ubuntu 14.04 LTS by opening up a Linux prompt and key in the Linux command  #   apt-get update  and hit  ENTER
Then, key in the Linux command   #   apt-get install adobe-flashplugin   and hit ENTER. After that fire up this handy app  " Speedtest.net " and it will be okay




root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan# apt-get install flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package flashplugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
adobe-flashplugin flashplugin-installer
E: Package 'flashplugin' has no installation candidate
root@laptop2222:/home/norizan# apt-get install adobe-flashplugin flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
adobe-flashplugin : Conflicts: flashplugin-installer but 11.2.202.400ubuntu0.14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@laptop2222:/home/norizan# apt-get install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-system1.53.0 libcolamd2.7.1 libdee-qt5-3 libdns99 libebackend-1.2-6
libedata-book-1.2-17 libedata-cal-1.2-20 libgweather-3-3 libhud-client2
libjs-jquery libllvm3.3 libpoppler43 libqt53d5 libqt5location5 libqt5v8-5
librhythmbox-core7 libxcb-sync0 linux-headers-3.8.0-19
linux-headers-3.8.0-19-generic linux-image-3.8.0-19-generic
linux-image-extra-3.8.0-19-generic python-apport python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth
python-problem-report python-secretstorage python-simplejson python-wadllib
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
adobe-flash-properties-gtk
Suggested packages:
konqueror-nsplugins x-ttcidfont-conf msttcorefonts ttf-bitstream-vera
ttf-dejavu ttf-xfree86-nonfree xfs libnspr4-0d
The following NEW packages will be installed:
adobe-flash-properties-gtk adobe-flashplugin
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 5,124 kB of archives.
After this operation, 18.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.canonical.com/ubuntu/ trusty/partner adobe-flashplugin i386 11.2.202.400-0trusty1
404 Not Found [IP: 91.189.92.191 80]
Err http://archive.canonical.com/ubuntu/ trusty/partner adobe-flash-properties-gtk i386 11.2.202.400-0trusty1
404 Not Found [IP: 91.189.92.191 80]
E: Failed to fetch http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.400-0trusty1_i386.deb 404 Not Found [IP: 91.189.92.191 80]
E: Failed to fetch http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/adobe-flash-properties-gtk_11.2.202.400-0trusty1_i386.deb 404 Not Found [IP: 91.189.92.191 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@laptop2222:/home/norizan# apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-system1.53.0 libcolamd2.7.1 libdee-qt5-3 libdns99 libebackend-1.2-6
libedata-book-1.2-17 libedata-cal-1.2-20 libgweather-3-3 libhud-client2
libjs-jquery libllvm3.3 libpoppler43 libqt53d5 libqt5location5 libqt5v8-5
librhythmbox-core7 libxcb-sync0 linux-headers-3.8.0-19
linux-headers-3.8.0-19-generic linux-image-3.8.0-19-generic
linux-image-extra-3.8.0-19-generic python-apport python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth
python-problem-report python-secretstorage python-simplejson python-wadllib
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libnspr4-0d
Suggested packages:
x-ttcidfont-conf ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu
ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
flashplugin-installer libnspr4-0d
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 13.4 kB of archives.
After this operation, 207 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://us.archive.ubuntu.com/ubuntu/ trusty-security/universe libnspr4-0d i386 2:4.10.2-1ubuntu1.1
404 Not Found [IP: 91.189.91.24 80]
Err http://us.archive.ubuntu.com/ubuntu/ trusty-security/multiverse flashplugin-installer i386 11.2.202.400ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.24 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/n/nspr/libnspr4-0d_4.10.2-1ubuntu1.1_i386.deb 404 Not Found [IP: 91.189.91.24 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-installer_11.2.202.400ubuntu0.14.04.1_i386.deb 404 Not Found [IP: 91.189.91.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@laptop2222:/home/norizan# apt-get update
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://us.archive.ubuntu.com trusty InRelease
Get:1 http://archive.canonical.com trusty Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty Release.gpg
Get:2 http://archive.canonical.com trusty Release [8,796 B]
Hit http://extras.ubuntu.com trusty Release
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Get:3 http://archive.canonical.com trusty/partner Sources [7,031 B]
Hit http://extras.ubuntu.com trusty/main Sources
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Get:4 http://archive.canonical.com trusty/partner i386 Packages [4,565 B]
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://us.archive.ubuntu.com trusty-security InRelease
Ign http://us.archive.ubuntu.com trusty-proposed InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Get:5 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:6 http://us.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:7 http://us.archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:8 http://us.archive.ubuntu.com trusty-proposed Release.gpg [933 B]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty Release
Get:9 http://us.archive.ubuntu.com trusty-updates Release [59.7 kB]
Get:10 http://us.archive.ubuntu.com trusty-backports Release [59.7 kB]
Get:11 http://us.archive.ubuntu.com trusty-security Release [59.7 kB]
Get:12 http://us.archive.ubuntu.com trusty-proposed Release [110 kB]
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:13 http://us.archive.ubuntu.com trusty-updates/main Sources [127 kB]
Get:14 http://us.archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:15 http://us.archive.ubuntu.com trusty-updates/universe Sources [87.7 kB]
Get:16 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [3,517 B]
Get:17 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [334 kB]
Get:18 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:19 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [213 kB]
Get:20 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,546 B]
Get:21 http://us.archive.ubuntu.com trusty-updates/main Translation-en [152 kB]
Get:22 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [4,719 B]
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Get:23 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [107 kB]
Get:24 http://us.archive.ubuntu.com trusty-backports/main Sources [4,760 B]
Get:25 http://us.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:26 http://us.archive.ubuntu.com trusty-backports/universe Sources [14.8 kB]
Get:27 http://us.archive.ubuntu.com trusty-backports/multiverse Sources [1,883 B]
Get:28 http://us.archive.ubuntu.com trusty-backports/main i386 Packages [6,379 B]
Get:29 http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:30 http://us.archive.ubuntu.com trusty-backports/universe i386 Packages [17.9 kB]
Get:31 http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,235 B]
Get:32 http://us.archive.ubuntu.com trusty-backports/main Translation-en [4,216 B]
Get:33 http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en [776 B]
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Get:34 http://us.archive.ubuntu.com trusty-backports/universe Translation-en [15.0 kB]
Get:35 http://us.archive.ubuntu.com trusty-security/main Sources [47.9 kB]
Get:36 http://us.archive.ubuntu.com trusty-security/restricted Sources [14 B]
Get:37 http://us.archive.ubuntu.com trusty-security/universe Sources [11.2 kB]
Get:38 http://us.archive.ubuntu.com trusty-security/multiverse Sources [698 B]
Get:39 http://us.archive.ubuntu.com trusty-security/main i386 Packages [143 kB]
Get:40 http://us.archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:41 http://us.archive.ubuntu.com trusty-security/universe i386 Packages [50.3 kB]
Get:42 http://us.archive.ubuntu.com trusty-security/multiverse i386 Packages [1,401 B]
Get:43 http://us.archive.ubuntu.com trusty-security/main Translation-en [72.9 kB]
Hit http://us.archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-security/restricted Translation-en
Get:44 http://us.archive.ubuntu.com trusty-security/universe Translation-en [29.7 kB]
Get:45 http://us.archive.ubuntu.com trusty-proposed/restricted i386 Packages [14 B]
Get:46 http://us.archive.ubuntu.com trusty-proposed/multiverse i386 Packages [14 B]
Get:47 http://us.archive.ubuntu.com trusty-proposed/main i386 Packages [131 kB]
Get:48 http://us.archive.ubuntu.com trusty-proposed/universe i386 Packages [23.5 kB]
Get:49 http://us.archive.ubuntu.com trusty-proposed/main Translation-en [51.2 kB]
Get:50 http://us.archive.ubuntu.com trusty-proposed/multiverse Translation-en [14 B]
Hit http://us.archive.ubuntu.com trusty-proposed/restricted Translation-en
Get:51 http://us.archive.ubuntu.com trusty-proposed/universe Translation-en [16.3 kB]
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 2,006 kB in 34s (58.8 kB/s)
Reading package lists... Done
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan# apt-get install adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-system1.53.0 libcolamd2.7.1 libdee-qt5-3 libdns99 libebackend-1.2-6
libedata-book-1.2-17 libedata-cal-1.2-20 libgweather-3-3 libhud-client2
libjs-jquery libllvm3.3 libpoppler43 libqt53d5 libqt5location5 libqt5v8-5
librhythmbox-core7 libxcb-sync0 linux-headers-3.8.0-19
linux-headers-3.8.0-19-generic linux-image-3.8.0-19-generic
linux-image-extra-3.8.0-19-generic python-apport python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth
python-problem-report python-secretstorage python-simplejson python-wadllib
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
adobe-flash-properties-gtk
Suggested packages:
konqueror-nsplugins x-ttcidfont-conf msttcorefonts ttf-bitstream-vera
ttf-dejavu ttf-xfree86-nonfree xfs libnspr4-0d
The following NEW packages will be installed:
adobe-flash-properties-gtk adobe-flashplugin
0 upgraded, 2 newly installed, 0 to remove and 185 not upgraded.
Need to get 5,125 kB of archives.
After this operation, 18.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.canonical.com/ubuntu/ trusty/partner adobe-flashplugin i386 11.2.202.411-0trusty1 [5,014 kB]
Get:2 http://archive.canonical.com/ubuntu/ trusty/partner adobe-flash-properties-gtk i386 11.2.202.411-0trusty1 [111 kB]
Fetched 5,125 kB in 11s (463 kB/s)
Selecting previously unselected package adobe-flashplugin.
(Reading database ... 239756 files and directories currently installed.)
Preparing to unpack .../adobe-flashplugin_11.2.202.411-0trusty1_i386.deb ...
Unpacking adobe-flashplugin (11.2.202.411-0trusty1) ...
Selecting previously unselected package adobe-flash-properties-gtk.
Preparing to unpack .../adobe-flash-properties-gtk_11.2.202.411-0trusty1_i386.deb ...
Unpacking adobe-flash-properties-gtk (11.2.202.411-0trusty1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up adobe-flashplugin (11.2.202.411-0trusty1) ...
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode
Setting up adobe-flash-properties-gtk (11.2.202.411-0trusty1) ...
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#
root@laptop2222:/home/norizan#

Wednesday 1 October 2014

Troubleshoot YouTube videos playing too fast and without sound by mrinal saha

mrinal saha says go to  System>   Preference>  Sound>  and select  ' Analog Stereo '  for the sound output. Followed his instructions and  Click  ' Applications  '   as shown below





Then move the arrow to ' Debian ' and  Click  ' Debian '  as shown below





Then move the arrow to ' Applications '  and Click  ' Applications '  as shown below





Then move the arrow to ' Sound ' and  Click  ' Sound '  as shown below




After Clicking  ' Sound '  select the Sound Application that we use. For me, I select the  ' pavucontrol ' for my sound system because I use ' pavucontrol ' to control the volume on my You Tube videos. I also use
' pavucontrol ' to control the volume on my PHILIPS Shoqbox SB7200 Bluetooth speaker when I connect my Linux machine to the PHILIPS Shoqbox SB7200 Bluetooth speaker. Details are shown below.




Click  ' pavucontrol ' and  Click  ' playback '  and then Click  ' Cedar HDMI Audio [Radeon HD 5400/6300 Series] Digital Stereo (HDMI)  as shown below




Click  ' Cedar HDMI Audio [Radeon HD 5400/6300 Series] Digital Stereo (HDMI) '  and replaced it with
' Built-in Audio Analog Stereo ' as shown below



After that, playback on You Tube videos will be back to normal and the sound will be back to normal. Once again, thank you very much mrinal saha for this awesome tip.