Linux / Unix: please help as much as you can. Thanks. (1) What do the following
ID: 3854071 • Letter: L
Question
Linux / Unix: please help as much as you can. Thanks.
(1) What do the following commands do? Explain in detail.
a. cat <Enter> # ie when you type carriage return after typing cat
b. chmod -R 700 $HOME
(2) Identify command options and arguments in the following
$ ls -a -r /tmp /usr .
$ fold -80 /etc/passwd > /tmp/passwd
$ uname -S amazon
$ cat -A /tmp
(3) List name(s) of commands available in Unix system for the following
a. to create a directory structure project.d/project.d/project.d from your home directory without using
multiple commands.
b. to list the first 20 lines in a file
(4) Explain what we do in the following set of commands.
$ pwd
/home/john
$ echo $HOME
/home/john
$ ln -s $HOME /tmp/$HOME.$$ <--- Explain this
$ cd /usr/src/cmd/usr/src/cmd
$ pwd
/usr/src/cmd/usr/src/cmd
$ cd ../../cmd/bin/usr/src <--- Explain this
(5) Using chmod write cmds for the following.
a. change the file perms to read and write by user and no other perms for others.
b. Add perms to a file to be readable by other and group.
Explanation / Answer
Browser support in SWT has always been a complicated story. By default (meaning without any hint from the application developers and the users), SWT relies on “native” renderers (Internet Explorer on Windows, WebKit on macOS and WebKitGTK+ or Mozilla/XULRunner on Linux). While supporting different rendering of pages in the Web is common, it’s annoying when you develop a desktop application where the Browser component is used to render things that Web technologies can do better than SWT (CSS, SVG, WebGL, etc.). Not only that, but you would expect high performance from the renderer for such usage.
To mitigate these discrepancies, developers can provide some hints to the SWT framework about which renderer (WebKit or Mozilla/XULRunner) it should use. Unfortunately, XULRunner is deprecated and is no longer built/shipped by the Mozilla team. WebKit is staying, but it brings its own couple of issues when one tries to use it on all platforms:
For more details on the compatibility of all platforms, you should read the Browser section of the SWT FAQ).
One solution that has been studied further is implementing the SWT Browser widget on top of the JavaFX browser component (WebView). Unfortunately, it has some compatibility issues with GTK+ versions. Furthermore, it is reported to be slow and to have trouble rendering modern HTML pages due to the usage of an old version of WebKitGTK.
So here comes the idea to embed Chromium (the open source project behind the Google Chrome browser). It is available on all major platforms (Windows, Linux and macOS), it is known for its high performance and high quality rendering. On top of that, most of the Chromium packaging for embedding is done by the Chromium Embedded Framework (CEF). CEF is quite successful and is used by some famous
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.