|
|
Linux |
| Questions about the Linux operating system.
| |
| Topics:
General questions about Linux: | |
| [New Answer in "Linux"] | |
| 2007-Jan-10 2:01pm | |
|
|
Installing Linux |
| Answers based on local experience installing Linux systems.
1999-Dec-21 1:40pm furnstahl.1@osu.edu | |
| Topics:
Questions:
| |
| [New Answer in "Installing Linux"] | |
| 1999-Dec-21 1:40pm | |
|
|
Security |
| There are lots of people out there ("crackers") who would
be delighted to break into your Linux box. As soon as you
are connected to the internet they will start trying. So it
is important to secure your machine against intrusions. | |
| Major Topics:
General Questions: | |
| [New Answer in "Security"] | |
| 2000-Mar-30 2:24pm | |
|
|
ssh (secure shell) |
| Use it!
| |
| Major Topics:
General Questions: | |
| [New Answer in "ssh (secure shell)"] | |
| 2003-Apr-07 7:10pm | |
|
|
How do I set up passwordless RSA/DSA authentication with OpenSSH? |
| A good reference is http://www-106.ibm.com/developerworks/linux/library/l-keyc.html and http://www-106.ibm.com/developerworks/library/l-keyc2/.
Here are the basic steps for DSA, which is relevant for ssh2 (which is what you should use!): 1. Set up a pair of keys (public and private) on one of your machines. ssh-keygen -t dsaYou will be prompted for a passphrase. This is like a password. Use a good one! The default names for the public and private keys (~/.ssh/id_dsa and ~/.ssh/id_dsa.pub) should be fine. 2. Copy the public key over to the any remote machines you want to access into the file ~/.ssh/authorized_keys2 (the 2 is for ssh2). (You can just append it to the end of the file.) 3. Protect the private key! IMPORTANT: You need to have the correct file protections on the ~/.ssh directory AND on the files. The ~/.ssh directory, the authorized_keys2 file, and the id_dsa file must be only accessible to you. These commands will do this: chmod 700 ~/.ssh chmod 600 ~/.ssh/id_dsa chmod 600 ~/.ssh/authorized_keys2
4. At this point, we still need to use the passphrase. If you check the second reference at the top, however, you'll find instructions for how to avoid typing the passphrase all the time. | |
| [Append to This Answer] | |
| 2003-Apr-08 8:19am | |
|
|
How do I know if my password (/etc/passwd) file has been compromised? |
| Look for these things in your /etc/passwd file:
* the last field in a passwd entry is the shell. Nothing should have a shell except for root and any user accounts that you have set up (and possibly a database like postgres). These things have something else in that entry: sync (/bin/sync), shutdown (/sbin/shutdown), xfs (/bin/false). * check the UID, which is the number in the third field (delimited by :'s). Only root should be UID 0.
* look for user names you don't recognize. | |
| [Append to This Answer] | |
| 2000-Mar-23 9:19am | |
|
|
How do I find all of the SUID and SGID files? |
You can list all of the SUID and SGID files on your system with the command
(executed as root; don't type the "#"):# find / \( -perm -004000 -o -perm -002000 \) -type f -print[If you don't run this as root, you'll get a lot of "Permission denied" commands 2000-Mar-23 9:27am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Mar-23 9:27am | |
|
|
How can I tell if my machine has been cracked? |
| * Check the /etc/passwd file
see (http://ntg4004.mps.ohio-state.edu/cgi-bin/fom?file=89) for details.
* Look for /.bash_history linked to /dev/null
| |
| [Append to This Answer] | |
| 2000-Mar-23 9:31am | |
|
|
How can I automatically keep track of my system log files? |
| One possibility is the program Logcheck
http://www.psionic.com/abacus/logcheck/.
I'm trying this out: stay tuned!
Some steps in the installation: 1. Change the protection of the log files so that they are
only readable by root.
2000-Mar-30 2:52pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Mar-30 2:52pm | |
|
|
Backing up |
| Options for backing up your files.
| |
| Major Topics:
General Questions:
| |
| [New Answer in "Backing up"] | |
| 1999-Dec-22 9:50am | |
|
|
rdist |
| rdist is a good program for backing up files and directories
to another unix system.
| |
| Major Topics:
General Questions:
| |
| [New Answer in "rdist"] | |
| 1999-Dec-22 9:46am | |
|
|
rsync |
| rsync is a replacement for rcp (remote copy) that has many more
features. Rsync Homepage: (http://rsync.samba.org/rsync/) There is an rsync Faq-O-Matic (http://rsync.samba.org/cgi-bin/rsync.fom), with answers to many of your questions.
Rsync Tutorial: (http://everythinglinux.org/rsync/) | |
| Major Topics:
General Questions: | |
| [New Answer in "rsync"] | |
| 2001-Oct-09 3:17pm | |
|
|
What is rsync? |
| From the README file:
rsync is a replacement for rcp that has many more features.
rsync uses the "rsync algorithm" which provides a very fast method for
bringing remote files into sync. It does this by sending just the
differences in the files across the link, without requiring that both
sets of files are present at one of the ends of the link beforehand.
At first glance this may seem impossible because the calculation of
diffs between two files normally requires local access to both
files. | |
| [Append to This Answer] | |
| 1999-Dec-27 9:03am | |
|
|
Applications and Utilities |
| Info on various useful utilities and applications for Linux.
| |
| Major Topics: General Questions: | |
| [New Answer in "Applications and Utilities"] | |
| 2003-Apr-04 7:56am | |
|
|
Graphics |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Graphics"] | |
| 2001-Oct-19 8:08am | |
|
|
What are the available programs for making plots (graphics) in Linux? |
| A nice program is grace, which has an X-windows interface called xmgrace.
It is an outgrowth of xmgr. The home page is
(http://plasma-gate.weizmann.ac.il/Grace/) and there is an
FAQ (http://plasma-gate.weizmann.ac.il/Grace/doc/FAQ.html) to answer
all of your questions!
Examples of graphs generated with xmgrace (postscript files converted to gif files):
* Diagram with shading </~ntg/examples/xmgrace/fermispheres.gif>
* XY plot with arrows and legend
</~ntg/examples/xmgrace/fig_vt_ca40.gif>
* Log-log plot </~ntg/examples/xmgrace/delEoverA-CR.gif>
| |
| [Append to This Answer] | |
| 2001-Sep-09 3:41pm | |
|
|
How do I convert postscript to PDF for NSF proposals (on linux)? |
Summary so far with details below: [This is very much a work in progress!]
1. Make sure you have Ghostscript 6.0 or later
and tetex-dvips 1.0.6 or later.
2. Make sure that any figure postscript files use Type 1 fonts only
(I don't have a conversion plan yet if they don't!).
3. To convert file.dvi to an appropriate file.ps:
dvips -Ppdf -j0 -G0 -o file.ps file.dvi
4 To convert the resulting file.ps (large!) to file.pdf:
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true file.ps file.pdf
The general NSF instructions are: http://www.fastlane.nsf.gov/a1/pdfcreat.htm. rpm -q ghostscript rpm -q tetex-dvips
Here is what NSF has to say about Ghostscript:
<http://www.fastlane.nsf.gov/a1/pdfcreat.htm#Ghostscript 6.0 or higher> ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true
It is important to configure dvips to use Type 1 fonts. The NSF
instructions to do this are http://www.fastlane.nsf.gov/a1/pdfcreat.htm#DVIPS. dvips -Ppdf -j0 -G0 -o file.ps file.dvi I've tried this on Linux with Ghostscript 6.0 and it produces pdf readable by the Adobe acroread viewer (AND by xpdf) with what appear to be embeddable type 1 fonts (there is still a discrepancy I'm checking). Ghostscript 6.0 rpms for Linux are available as ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-6.01-1.i386.rpm and ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-fonts-6.0-1.noarch.rpm (these links will no doubt be out of date by the time you read this; check http://www.cs.wisc.edu/~ghost/aladdin/ for the latest versions).
The ps2pdf page is
http://www.cs.wisc.edu/~ghost/aladdin/doc/Ps2pdf.htm. | |
| Some other (possibly) useful links [be careful---they go out of date quickly!]:
"Effective Scientific Electronic Publishing" at http://www.cl.cam.ac.uk/~mgk25/publ-tips.html "Using LaTeX to Create Quality PDF Documents for the World Wide Web" at http://www.math.uakron.edu/~dpstory/latx2pdf.html
| |
| [Append to This Answer] | |
| 2000-Apr-21 3:25pm | |
|
|
How do I generate pdf output from LaTeX (including figures)? |
| The optimal solution has been very time dependent!
A good discussion of options is a support page from the University of Minnesota http://www.msi.umn.edu/software/tex/help/pdf.html, which lists three possibilitiies: 1. LaTeX -> dvips -> ps2pdf [not recommended] 2. LaTeX -> dvipdfm [works with embedded eps figures] 3. pdflatex [most reliable; requires conversion of [e]ps figures to postscript]Also see the info at http://www.mpch-mainz.mpg.de/~joeckel/howto_pdf/howto.html.
Find out more about dvipdfm at http://gaspra.kettering.edu/dvipdfm/. There are Linux RPM's available on this page. | |
| [Append to This Answer] | |
| 2001-Oct-19 8:15am | |
|
|
MySQL |
| The MySQL database is open source and free on linux. (It costs money for commercial use on Windows.) 2001-Sep-23 1:26pm furnstahl.1@osu.edu | |
| Subcategories:
Answers in this category: | |
| [New Answer in "MySQL"] | |
| 2001-Sep-23 1:27pm | |
|
|
Where do I find documentation/tutorials for MySQL? |
| There is a list of MySQL documentation at http://www.mysql.com/documentation/index.html, which includes links to the MySQL manual (in html or other formats like PDF), the FAQ and to articles and books about MySQL.
Of the books listed on http://www.mysql.com/portal/books/html/book-1-1.html, I can vouch for MySQL by Paul DuBois. Great book on MySQL and good details on using the database with PHP and Perl.
Of the articles listed on http://www.mysql.com/articles/index.html, I can vouch for "Building a Database-Driven Web Site Using PHP and MySQL," whic is concise yet very helpful. | |
| [Append to This Answer] | |
| 2001-Sep-23 1:32pm | |
|
|
Netscape |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Netscape"] | |
| 2001-Sep-06 8:30am | |
|
|
How do I get rid of the Shop button in Netscape? |
| From slashdot: To disable the Shop button, add to your .Xdefaults file: Netscape*toolBar.myshopping.isEnabled: falseTo disable the search/my netscape, and add a Find button: Netscape*toolBar.destinations.isEnabled: false
Netscape*toolBar.numUserCommands: 1
Netscape*toolBar.userCommand1.commandName: findInObject
Netscape*toolBar.userCommand1.labelString: Find
Netscape*toolBar.userCommand1.commandIcon: Find
Netscape*toolBar.search.isEnabled: false
Alternative method:
Put this line in your preferences.js file:
user_pref("browser.chrome.disableMyShopping", true);
2000-Feb-23 1:02pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Feb-23 1:02pm | |
|
|
Why do apostrophes on some web pages appear as question marks in Netscape? |
| A detailed response is given at http://www.fourmilab.ch/webtools/demoroniser/. Here are some short answers from DejaNews:
Answer 1:
Answer 2 suggests sending a letter to the page owner:
I doubt your goal is to limit your audience, but this is what you have in effect done. My guess is that you
are using an on-line publishing tool provided by Microsoft, or at least running on their systems. In so doing, you have unwittingly fallen prey to Microsoft's recently revealed stated goal of killing HTML by the
"embrace/extend/extinguish" method. Illegal characters are just the start of these intentional
incompatibilities. See http://www.fourmilab.ch/webtools/demoroniser/ for details. | |
| [Append to This Answer] | |
| 2000-Mar-22 2:02pm | |
|
|
How do I get Netscape to automatically pop up gv (or ghostview) when I click on a postscript file? |
1. Under the Edit menu, select Preferences.
2. When the Preferences window pops up, select Navigator (you need
to click on the triangle to the left) and then Applications.
3. You can scroll through the application list. Find the one that
says "postscript document". Click on it and push the "edit" button.
(If there isn't one, choose "new" and fill in the info in step 4.)
4. The information at the top should be something like:
Description: postscript document
MIME Type: application/postscript
Suffixes: ai, eps, ps
5. Select "Handled by" and put
gv %s
in the box (the %s passes the file to gv).
6. Click ok until you're back to where you started!
2000-Apr-05 11:01am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Apr-05 11:01am | |
|
|
|
| Questions and answers related to using PDF files on Linux.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "PDF"] | |
| 2003-Apr-04 7:56am | |
|
|
Acrobat Reader ("acroread") |
|
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "Acrobat Reader ("acroread")"] | |
| 2003-Apr-04 8:07am | |
|
|
How do I set a default printer for Acrobat Reader (acroread)? |
| One choice is to set it in your .Xdefaults file, which lives in your home directory. You can specify all sorts of defaults for Acroread (or any other X-Windows application) in this file. (I think another choice is to use the .acrorc file, but I haven't tried it out. The commands are probably the same with out the *acroread at the beginning.)
To change your default printer to "/usr/bin/lpr -Psmith4035/duplex", which will print on the Smith4035 printer using duplex mode (this assumes you are using CUPS to print), add this line anywhere in your .Xdefaults file (which is just a text file): *acroread*lprCommand:/usr/bin/lpr -Psmith4035/duplexIf you want a different default print command, just change the command after the colon. A list of X "resources" (like *lprCommand) should have come with your Acroread installation. On my system, this file is: /usr/local/Acrobat5/Reader/intellinux/app-defaults/AcroRead 2003-Apr-04 8:18am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 8:18am | |
|
|
How do I make Acroread start up with a larger window? |
| One choice is to set it in your .Xdefaults file, which lives in your home directory. You can specify all sorts of defaults for Acroread (or any other X-Windows application) in this file. (I think another choice is to use the .acrorc file, but I haven't tried it out. The commands are probably the same with out the *acroread at the beginning.)
To adjust the default size of the window in which the text appears (which is called the "document shell", add these lines anywhere in your .Xdefaults file (which is just a text file): *acroread*documentShell.width:800 *acroread*documentShell.height:950which in this case sets the window to be 800 pixels wide and 950 pixels high. If you want a different default size, just change the 800 and 950. If you're not sure what numbers to use, start up Acroread and manually resize the window to the size you want. Then, in a terminal window, type: xwininfoat the prompt. You'll be told to click your mouse in the window of interest; click in the Acroread window. You'll get a lot of information about what is displayed, including the Width and Height. These are the numbers to put in your .Xdefaults file. A list of X "resources" (like *lprCommand) should have come with your Acroread installation. On my system, this file is: /usr/local/Acrobat5/Reader/intellinux/app-defaults/AcroRead 2003-Apr-04 8:17am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 8:17am | |
|
|
How do I read PDF files on a linux machine? |
| Two PDF viewers for Linux are:
xpdf --- which should already be on your machine acroread --- the official pdf viewer from Adobe. You can find RPM's from http://rpmfind.net/linux/rpm2html/search.php?query=acroread. 2001-Sep-23 1:23pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 7:56am | |
|
|
Printing |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Printing"] | |
| 2000-Mar-23 11:17am | |
|
|
How do I print to a remote printer? |
| Configure your printer using linuxconf or printmandrake.
On the machine hosting the remote printer, you need to add the names of machines allowed to print to the /etc/hosts.lpd file (you may need to create it).
Just put one address (e.g., campbell.mps.ohio-state.edu) on each line. | |
| [Append to This Answer] | |
| 2000-Mar-23 11:20am | |
|
|
How do I synchronize my clock to a network (atomic) clock? |
You can use the ntp or xntp daemon. * get a current ntp rpm (e.g., ntp-4.0.99k-4.i386.rpm)
and install it
* in /etc/ntp.conf, comment out the server entries and replace with
local server ip addresses. The lines (near the top) should be:
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
server 128.146.37.10
server 128.146.38.12
* make sure that /etc/rc.d/init.d/ntpd points to the correct function
library (/etc/rc.d/init.d/functions instead of /etc/rc.d/functions).
This may be distribution/version dependent. Just check that it points
to the correct place.
* /etc/rc.d/init.d/ntpd restart
* check /var/log/messages to see if it is working
2001-Oct-16 3:23pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2001-Oct-16 3:23pm | |
|
|
Linux for Physics Majors |
| This is an introduction to Linux. You might have noticed the Penguin Computing machines in room 1011R of Smith Labs. We figured it would be a good thing to answer some possible questions and guide you through the basics.
| |
| Subcategories:
Answers in this category:
| |
| [New Answer in "Linux for Physics Majors"] | |
| 2002-Oct-25 10:24am | |
|
|
What is Linux? |
| Linux was created by Linus Torvalds when he was a student of the University of Helsinki in 1991. He wanted to created a free clone of Unix for personal computers. Using ideas from Minix (a simpler and earlier Unix clone for PC's) Linus began work on his kernel as a class project. Linux is now a fully functioning clone of Unix for PC's. It is freely distributable and is covered under the GNU Public License. | |
| For more in depth information on the above subjects check out: Linux: www.linux.org GNU Public License: www.gnu.org/licenses/gpl.html | |
| Subcategories:
Answers in this category: | |
| [New Answer in "What is Linux?"] | |
| 2002-Jul-17 2:54pm | |
|
|
Is Linux an application like MS Word? |
| No, Linux is an operating system like MS Windows, MacOS, and Unix. Linux itself will not be used to write your papers, compose spreadsheets, or read your email. It is an environment where you can run applications or write programs.
| |
| [Append to This Answer] | |
| 2001-Sep-06 3:32pm | |
|
|
What's the difference between Linux and other OS's? |
| That's a pretty big question. Let's limit it to three of the most widely known operating systems: MacOS, Microsoft Windows, and Unix. The short answer is that Linux combines some of the ideas from all of these illustrious names with the added feature of being customizable by the user. This is not a very informative answer however, so we'll take this one comparison at a time.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "What's the difference between Linux and other OS's?"] | |
| 2001-Oct-22 2:47pm | |
|
|
What's the difference between Linux and MS Windows (NT, 2000, 9x, etc.)? |
| This is actually two questions. There are the Windows 9x OS's which are made specifically for the home user who does not plan on being part of a network. This includes Windows 95, 98, Me, and the new XP. There are also the versions like Windows NT and 2000 which are specifically for workgroups. Let's treat the two separately. | |
| Subcategories:
Answers in this category: | |
| [New Answer in "What's the difference between Linux and MS Windows (NT, 2000, 9x, etc.)?"] | |
| 2001-Oct-22 2:47pm | |
|
|
What's the Difference Between Linux and Windows 9x? |
| Entire books have been written on this subject. Honestly, this is completely a subjective issue. Linux is not for everyone. There are trade offs. The personal Windows OS's have many things going for them. More applications are available for Windows than Linux. Windows has thousands of highly paid software engineers working on it continuously. Windows is easy to use and does not require a vast working knowledge to run.
On the downside, Windows has a tendancy to crash. It does not respond quickly to users who find bugs. It often has problems with networking even when putting a 98 machine into a 2000 network. Linux is gaining popularity and more applications are becoming available for it. There are a couple of popular GUI's (Graphical User Interfaces) available for Linux which make it similar to using Windows. Linux is considered to be more stable than Windows; it rarely crashes. Networking is one of its greatest strengths. Bug support is often found and corrected quickly by the large number of developers who form the Linux community. Also, Linux uses the entire x86 processor and many applications run faster on Linux than on other OS's. On the other hand, Linux is best used by learning some Unix commands and using a command line interface now and then. As an OS for hackers, there may be a better turn around time for support, but it also requires a certain amount of desire to learn.
If you don't mind tinkering, exploring, and learning and are willing to put up with developing issues, Linux might be for you. On the other hand, if you would prefer a simple OS and don't mind the occasional crash or the fact that bugs will take longer to iron out, Windows might be your cup of tea.
| |
| [Append to This Answer] | |
| 2002-Jul-17 2:59pm | |
|
|
What's the Difference Between Linux and Windows NT/2000 |
| I was going to go into a relatively in depth discussion on the similarities and differences between Windows NT/2000 and Linux when I reallized something. The majority of differences between the two are at a level which the typical physics major user will not need acquaintance. In other words, we can sum it up as follows. Linux and Windows NT/2000 are both OS's used on networks. They have a number of protocols and methods for accomplishing tasks such as balancing multiple user accounts, providing security, and running software applications.
The methods used to do these things are different in the different operating systems. It should be noted however that the stability of Linux has convinced many people to use Linux for the server of a network of Windows machines. This is often accomplished through use of a program called Samba. | |
| Subcategories:
Answers in this category:
| |
| [Append to This Answer] | |
| 2001-Oct-22 2:47pm | |
|
|
What distribution of Linux do we use? |
| We are currently using Red Hat 7.2 in the Physics Undergraduate Lounge. It has Linux kernel version 2.4.2-2 and is packaged with a large number of applications. This means it includes patch 2 for version 2.4 of the Linux kernel.
| |
| [Append to This Answer] | |
| 2002-Jan-29 11:55am | |
|
|
So what's the deal with all the different distributions of Linux? |
| You may have noticed that unlike Microsoft Windows or Macintosh, Linux is put out by many different companies. In fact, there are even ways that you can get it for free on the web! What's up with that?
Quite simply, this is the result of the "open source" and "free software" movements. The Linux kernel is distributed by such companies as Debian, SuSe, and Red Hat and they sell it with a number of applications and technical support. The GNU Public License says that people are perfectly free to do this as long as they realize that other people may sell the exact same kernel for less or even nothing. In fact, it is quite easy to get the Linux kernel for free. Remember however that it will not necessarily come with any sort of guarantee or technical support like ones from major companies.
| |
| [Append to This Answer] | |
| 2002-May-20 3:12pm | |
|
|
How do I pronounce 'Linux'? |
| Lots of people pronounce it different ways, however Linus Torvalds himself has been quoted as naming it to rhyme with Minix. Hence, Linux has a short i sound, "LIH-niks".
| |
| [Append to This Answer] | |
| 2002-Oct-25 10:13am | |
|
|
What is Linux used for? |
| Linux has become very popular in recent years. Its stability and networkability have become great assets. It has become the tool of choice for many multimedia authors, application developers, systems administrators, network providers and researchers. Linux was used in the movie "Titanic" as well as for "Shrek", in order to provide the impressive visual effects.
The networking aspects of Linux are especially of interest to many big businesses and scientific communities. It is easy to log in from remote machines, share files, and run remote applications. It is easy to program on Linux in a variety of languages, and text editing with the TeX language is often done using Linux.
| |
| Subcategories:
Answers in this category:
| |
| [New Answer in "What is Linux used for?"] | |
| 2002-Jul-17 3:03pm | |
|
|
What application should I use? |
| Linux has applications which are similar to just about anything you can find on a Windows or Macintosh machine. Interested in spreadsheets? Writing a paper? Programming? Putting together a presentation or poster? We have applications for all of these things on ARRAN and MULL.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "What application should I use?"] | |
| 2002-Jul-17 3:09pm | |
|
|
What do you have similar to MS Office? |
| Our Linux boxes come with KOffice. It has a word processing program (KWord), a spreadsheet program (KSpread), a presentation application (KPresenter), a drawing tool (KIllustrator), a mail program (KMail), and a chart making program (KChart).
There is a caveat, however. While there seems to be little to no problem reading items which were written in MS Office applications, there is a definite problem writing to a format that is readable by MS Office. Still, as long as you are not attempting to switch formats, KOffice is a very good application.
| |
| [Append to This Answer] | |
| 2002-May-02 11:25am | |
|
|
What do you have similar to Photoshop? |
| There are a several applications which allow image manipulation. The GIMP is one of the most popular. GIMP stands for GNU Image Manipulation Program. Feel free to check out their website at http://www.gimp.org/ to see their online manual.
The GIMP can be used as a paint program, to edit photos, change formats of images, and batch processing among other things.
Another application used on Linux is caled ImageMagick. ImageMagick is actually a suite of tools and applications run from the command line. To run a graphical front end to ImageMagick, type the command 'display'. ImageMagick is considered to be extremely flexible by its proponents. It does, however take some time to become used to and acquainted with the many command-line options.
| |
| [Append to This Answer] | |
| 2002-May-20 4:34pm | |
|
|
What would I use to write a program? |
| I prefer to use Emacs to write my programs. If you are using the command line interface, simply type 'emacs name' where "name" is the name of your program. This will create a new file with the title "name" if it does not already exist. Otherwise, it will open the file and you can edit the file as necessary.
If on the other hand you are using the GUI, click on the start application button (it's a "K" for KDE and a foot for GNOME). From there go to Applications and select Emacs.
| |
| [Append to This Answer] | |
| 2002-Apr-11 10:17am | |
|
|
What would I use to write a scientific paper? |
| There are several options here: groff, Mathematica, and LaTeX. The most recent versions of Mathematica allow users to translate notebooks written in mathematica format into LaTeX format. Thus, some consider the real question whether to use LaTeX or groff.
Mathematica is a very powerful tool which can be used to solve mathematical problems of course, but since it has mathematical symbols and notation and since it is very good at producing graphs, figures, and images, it is often used to write scientific papers. It has the entire text of the handbook in the help file so it is relatively easy to use. LaTeX is a language whose syntax is similar to HTML. It is used to format text and can produce results of publishable quality. In fact, most papers in the serious scientific journals are produced using LaTeX or a version thereof. A good reference for LaTeX is A Guide to LaTeX 3: Document Preparation for Beginners and Advanced Users, by Helmut Kopka and Patrick W. Daly.
groff is a text processing system in the same vein as LaTeX. It is used to make the same types of documents for the most part. However, groff is better for producing documents which will be viewed online. This is because LaTeX is unable to produce plain-ASCII output while groff excels at this. Hence, groff is often used to write and to edit man pages.
| |
| [Append to This Answer] | |
| 2002-Jul-19 2:11pm | |
|
|
What would I use to solve a mathematical problem? |
| If you want a simple calculator, I suggest using the calculator programs in KDE or GNOME. Since this is for physics majors though, it is quite probable that you are looking to check your answers for your homework. In which case you will need to perform integrations, solve differential equations, or multiply matrices among other things. In that case, I recommend Mathematica.
You can access that application by typing 'mathematica' on your shell console screen. If you merely want to run the kernel, simply type 'math' instead of mathematica. For more information on running Mathematica, check the FAQ-O-Matic entry, go to www.wolfram.com, or read the help file in the application.
| |
| [Append to This Answer] | |
| 2002-May-02 10:07am | |
|
|
How Do I Use Linux? |
| In this section, we'll answer how to do some common tasks. I think it's best if we use the command line interface at first to get you used to the concept.
I should also let you know that there is a wonderful tutorial on Linux at www.linux.org/lessons/ which goes through many of the important functions and commands in Linux. Later, you can explore the GUI environment which is made to be familiar to Windows and MacOS users.
Ready? Set? Here we go!
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "How Do I Use Linux?"] | |
| 2002-Oct-25 10:24am | |
|
|
How Do I use the Command Line Interface? |
| The first thing that you will notice after you've logged into ARRAN or MULL is that the taskbar on the bottom of the screen. (See, it's already like Windows). On that taskbar should be a picture of a monitor with a sea shell in front. Click on it. This will take you to the command line interface.
You should see something to the effect of [yourname@arran ~]$. You are now at the command line.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "How Do I use the Command Line Interface?"] | |
| 2002-May-23 10:19am | |
|
|
What if I don't remember what command to use? |
| What to do depends on how much you remember. There are two different approaches. If you don't remember what a particular command does or what its syntax would be, use the "man" command. If on the other hand, you know what you want to do but not the command name, "apropos" can be helpful.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "What if I don't remember what command to use?"] | |
| omarshal@campbell.mps.ohio-state.edu | |
| 2002-May-14 10:44am | |
|
|
What is the "man" command? |
| The "man" command is one of the most useful commands in Linux. (Read that last sentence again in case it hasn't sunk in.) The term "man" is short for manual. With it, you can see exactly what the user's manual says about a particular program or command. It explains how to use the command, the syntax, how it works, it may even give you ideas on how to use the command in ways that might not have occurred to you.
The "man" command. Live it, learn it, love it!
| |
| [Append to This Answer] | |
| omarshal@campbell.mps.ohio-state.edu | |
| 2002-May-14 10:43am | |
|
|
What is the "apropos" command? |
| The apropos command can help you figure out what command to use when you aren't sure what the exact term for your command is. For example, suppose that you know that you want to copy a file but you don't remember the command for that. You could type 'apropos copy' and Linux would run a search to find the string 'copy'. Your result will give you much more than you need in this case but each result will give a brief description of it's function. Looking down the list of results, you will quickly see the 'cp' command and the description 'copy files or directories'. Your search is done!
| |
| [Append to This Answer] | |
| 2002-Apr-05 3:04pm | |
|
|
What is a shell and how do I use it? |
| You may have noticed that the monitor icon on your taskbar has a picture of a seashell in front of it. Clicking that icon allows you to access the shell. But what is a shell?
The shell is a program that reads and executes user commands. It controls which processes get run and at what time. Much of flexibility (and the fun) of Linux comes from the ability to write programs called "shell scripts" to customize your workspace.
There are many different shells available for Linux. They include but are not limited to: C shell, the Bourne Again shell, Z shell, and the Korn shell.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "What is a shell and how do I use it?"] | |
| 2002-Jul-19 1:48pm | |
|
|
Which shell should I use? |
| That is completely a matter of preference. Our system is set up with tcsh (an enhanced version of the C shell) as the default. It has the advantage that the command language is similar to the C programming language, so if you are used to using C, both the C shell and tcsh are easy to use.
On the other hand, another popular shell is bash or the Bourne Again shell. Tcsh and bash have many similar features such as job control, command history, and filename completion. They differ in syntax and commands. A poll of the shells of preference for the Physics Computer Facility reveals that variety is the spice of life. Each person has a different favorite. Bash, zsh, and tcsh seem to be the three favorites. Each offer similar ways to do the same jobs.
There are many good books on shells available. I recommend any published by O'Reilly. Check out http://www.oreilly.com. Also,the university offers a class on shell programming under the CIS dept.
| |
| [Append to This Answer] | |
| 2002-Jul-19 1:50pm | |
|
|
How do I change shells? |
| To see which shell you are in at the moment, type 'echo $SHELL'. Now suppose that this shell is not what you want to be using at the moment. Switching shells is easy.
Let's suppose that you want to learn a bit of bash. Just type 'bash' at the command prompt; you'll be in the bash shell! To switch back to your original shell, just type 'exit'. Feel free to explore shells to your heart's content!
| |
| [Append to This Answer] | |
| 2002-Jul-19 1:54pm | |
|
|
How do I control printing on Linux? |
| If you want to print a file, the command is 'lpr'. This command will send whatever file you designate to the print spool to be processed. The syntax is 'lpr filename' where filename is the name of the file being printed.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "How do I control printing on Linux?"] | |
| 2002-Jul-19 2:13pm | |
|
|
How do I control which printer gets my print request? |
| If you need to send the print job to a printer other than the default printer, the -P option will help. Suppose you wanted to send a document called lab1.tex to the printer in room 2097. The syntax would be 'lpr -P smith2097 lab1.tex'.
| |
| [Append to This Answer] | |
| 2002-May-20 4:10pm | |
|
|
How do I see which printer is the default printer? |
| The default printer is easily found. Just type 'lpstat -d'. 'lpstat' stands for 'line printer status' while the '-d' represents 'default'.
| |
| [Append to This Answer] | |
| 2002-May-20 4:12pm | |
|
|
How do I change the defaul printer selection? |
The PRINTER environment variable will allow you to set a default printer. Suppose that you are using the bash shell. Then you would get into the .bashrc file and put the command:
export PRINTER = namewhere "name" is the name of the printer you want to use for your default.
Different shells will have different syntax so if you are unsure which command to use, check with your systems administrator or use a text shell scripting which applies to your shell.
| |
| [Append to This Answer] | |
| 2002-Jul-19 2:21pm | |
|
|
What is job control? |
| Job control = multitasking! It allows users to run multiple programs at once. By putting an ampersand after a command, you run the program associated with it in the background. Then it is given a job number. For example, typing 'mathematica &' might result in [1] 10500. [1] is the job number and 10500 is the process ID. Job numbers are assigned in order as you create more background jobs. You can have as many as you want, but the more you have, the slower your system will run.
To bring the job back to the foreground, type 'fg %1' or 'fg 10500'. Job numbers always take %. To stop the background job, you can type 'kill %1'.
| |
| [Append to This Answer] | |
| 2002-Jun-13 4:41pm | |
|
|
How Do I Access My Files? |
| Yeah, I suppose that would be a good thing. First you'll probably want to see them. Type 'ls'. (Don't include the quotes or period, silly!) Then hit Enter. I like to think of this command as meaning 'list stuff', but that's just me.
A listing of the files and folders in your current directory will appear on your screen. There are several subcommands you can add to 'ls' to make it even more useful. Two of the ones I use the most are '-a' and '-l'. They stand for 'all' and 'long' respectively and the syntax would be 'ls -a' or 'ls -l'. The all command will show the hidden files in your directory. The long gives more information about the files and folders you can see. I'll get back to both of these concepts later.
| |
| Subcategories:
Answers in this category:
| |
| [New Answer in "How Do I Access My Files?"] | |
| 2002-Apr-08 4:36pm | |
|
|
What if I want to write something? |
| That depends on what you want to write. Let's suppose that you want to write something in plain text. Maybe you want to write a program in C or a shell script. Maybe you want to are scripting a web page or writing an essay in TeX. Whatever, you probably want to use a text editor.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "What if I want to write something?"] | |
| 2002-May-13 4:13pm | |
|
|
Yeah, that sounds like what I want! Tell me more about text editors! |
| A text editor is similar to a word processor but without all of the bells and whistles. If you've ever used notepad on Windows, that is a text editor. You don't get spell checking or formatting. It's just plain text.
Linux comes with several types. Emacs, vi, pico, and joe are a few of the more popular ones. Emacs and vi are the most commonly used among these four. Simply type which one you want to use and the name of the file you are writing, and you will be all set. For example, you can type 'vi bob' and you would thus commence working on a file called bob in the vi text editor.
For more information on any of the above, consult the man pages. Also, emacs has a handy tutorial available in its program. Simply type 'Ctrl-h' for the help menu then type 't' to go to the tutorial.
| |
| [Append to This Answer] | |
| 2002-May-13 4:04pm | |
|
|
How do I change directories? |
| This is actually very easy. Let's say that you listed the files and directories in your current directory and you saw the following: Desktop public_html homework hello.c hello.o
Desktop, public_html, and homework are directories in this case. We can go into public_html by typing 'cd public_html'. If you want to go back to your previous level, simply type 'cd ..'. This is all nice and good if you are only going up and down one level at a time, but there will be times whem you want to make bigger leaps. If you happen to know the exact address, you can specify it. For example, you could type 'cd /net/campbell/01/your_name/homework/quantum' to take you to the quantum directory in your homework directory in your home directory. The first "/" takes you to the root directory and everything else specifies where to go from there. Hence, if you want to simply go to the root directory, you can type 'cd /' and you'll immediately go there.
Now suppose with all of this bouncing around and changing directories, you've forgotten where you are working. This can be an important thing to know after all. All you need to do is type 'pwd' for "print working directory". It's like having your very own GPS!
| |
| [Append to This Answer] | |
| 2002-Jan-30 12:04pm | |
|
|
How do I copy/move/rename a file? |
| I put these three things together because really they can all be accomplished with a couple of commands.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "How do I copy/move/rename a file?"] | |
| 2002-Jan-31 3:11pm | |
|
|
How do I copy a file? |
| The 'cp' command can be used to copy files. Here's the syntax for this command: 'cp filename_1 filename_2'. Where filename_1 is the current location of the file you wish to copy and filename_2 is the location to which you wish to copy the file.
Be careful though. If something is already at the location "filename_2", it will be overwritten without warning!
| |
| [Append to This Answer] | |
| omarshal@campbell.mps.ohio-state.edu | |
| 2002-Jan-31 11:33am | |
|
|
How do I move a file? |
| If you want to move the entire file without leaving the original copy, you should use the 'mv' command. The syntax for this command is much like that of the 'cp' command: 'mv filename_1 filename_2'. Once again, "filename_1" refers to the original address of the file and "filename_2" is where you would like to put it.
| |
| [Append to This Answer] | |
| 2002-Jan-31 11:37am | |
|
|
How do I rename a file? |
| There are actually several ways to rename a file. If you want to rename the file you can use the mv command or the cp command.
The format for the two commands are as follows:
In either case, you simply put the new name in the place of "filename_2". cp will have the result of keeping a copy of your old file while mv will move the file to the new address and delete the old copy.
| |
| [Append to This Answer] | |
| 2002-Feb-13 2:11pm | |
|
|
How do I change my password? |
| This is wonderfully simple. Let's suppose that your username is mike. Just type 'passwd mike'. Linux will guide you through changing your password. It will ask you for your old password and then ask you to type your new password. It will then ask you to retype your new password for security purposes.
For the record, you should choose a password that is a combination of lower and uppercase letters. Throwing in a few numbers is a good idea too. Don't use whole words. Not even in other languages. You never know who might try to compromise the security of a network.
| |
| [Append to This Answer] | |
| 2002-May-08 3:18pm | |
|
|
How do I shut down Linux? |
| I'm assuming that you are using one of the Linux boxes in Smith 1011R. If this is a case then as far as shutting down the computer goes ... in a word, DON'T! If there is a problem with Linux which you feel may be alleviated by rebooting the computer, email action@mps.ohio-state.edu or come to room 2180 Smith Labs and ask one of the many helpful people there to give you a hand. Please be ready with the following information.
Know which computer it is (the name of the Linux boxes is written on the machines beneath the CD-ROM drive. It will be either ARRAN or MULL followed by mps.ohio-state.edu). You should also be able to describe the problem precisely and be able to tell us what you were doing when whatever problem you are having occurred.
If you are using a version of Linux at home, check the documentation which came with your computer.
| |
| [Append to This Answer] | |
| 2002-Oct-25 10:27am | |
|
|
How do I suspend/kill jobs? |
| Suppose that you've opened a man page. Perhaps you want to pause the man page and work on something else, or maybe you found what you need and want to quit the man page. Whatever the case, you want the man out of your way. (Sorry, I couldn't resist)!
To suspend the job, type 'Ctrl z'. To kill it, type 'Ctrl \'.
| |
| [Append to This Answer] | |
| 2002-May-23 10:39am | |
|
|
How do I use the GUI (Graphical User Interface)? |
| Perhaps you have grown used to this type of interface from Windows or Macintosh and are not feeling ready to try the command line. Or perhaps you just like the feel of a mouse or trackball. No matter, you will find the GUI on Linux to be just as easy to use as either of the Big Two.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "How do I use the GUI (Graphical User Interface)?"] | |
| 2002-May-14 10:01am | |
|
|
Which GUI should I use? |
| You may have noticed that when you log in to ARRAN or MULL, you are given the option of using KDE or GNOME. These are two GUI's which came with this distribution of Linux. There are good and bad points to each.
GNOME is part of the GNU project. It stands for GNU Network Object Model Environment. You can see more info about them at http://www.gnome.org/. It seems to aim for good looks and maximum configurability. We have experienced some crashing problems with GNOME, however, so be warned. KDE on the other hand is more stable. KDE stands for K Desktop Environment. It is easy to use and strives to make users coming from Windows feel right at home. You can see more info on KDE at http://www.kde.org/.
The Physics Computer Facility recommends KDE for your choice of GUI. Subsequent answers will assume use of KDE.
| |
| [Append to This Answer] | |
| 2002-Jul-19 1:57pm | |
|
|
How do I create a shortcut on my desktop? |
| This is a little bit different than what you might be used to. Create a symbolic link to the application in your Desktop folder. The linking command is 'ln' and to make sure that it's a symbolic link add the '-s' extension. So, in order to create a shortcut, you need to get to a command line.
Hence, if you wanted to create a shortcut to Mathematica on your desktop, you would type 'ln -s mathematica Desktop/Mathematica'. This would create a symbolic link called Mathematica in the Desktop folder. A graphical shortcut will appear on the desktop.
| |
| [Append to This Answer] | |
| 2002-May-14 9:57am | |
|
|
Where else can I turn for help? |
| KDE has a help file. Just click on the picture of the book with the lightbulb on your taskbar. It will take you to the help menu where you can either look at the outline provided or run a search for what you need.
| |
| [Append to This Answer] | |
| 2002-May-14 10:05am | |
|
|
Printing |
| How do I set up printing on Linux in the Physics Dept.?
2001-Sep-26 1:33pm bcd@pacific.mps.ohio-state.edu | |
| Subcategories:
Answers in this category: | |
| [New Answer in "Printing"] | |
| 2001-Sep-26 1:34pm | |
|
|
Downloading and installing CUPS |
Download the latest CUPS rpm from RedHat and install it similarly to this: rpm -Uvh cups-1.1.9-linux-2.2-intel.rpm (you might need the `--force' option also, if it complains of conflicts with lpd files) Get the local config files: ftp://ftp.physics.ohio-state.edu/pub/linux/cups-1.1.9-config.tgz Replace the config files to talk properly to the local server: cd /etc/cups tar zxvfp /whatever/path/cups-1.1.9-config.tgz Edit /etc/cups/lpoptions to change the Default entry to a printer of your choice. This will become the default printer for anyone on this particular host. Make sure cupsd isn't running (you don't need it, and every daemon you don't run helps reduce your security vulnerability): /etc/rc.d/init.d/cups stop /sbin/chkconfig -level 0123456 cups off That's it. Wait 30 seconds or so, and type lpstat -p to see a list of printers. To change the system default printer, as root type lpoptions -d printername For documentation, see http://lpd.physics.ohio-state.edu:631/documentation.html2003-Jan-28 1:23pm bcd@pacific.mps.ohio-state.edu | |
| [Append to This Answer] | |
| 2003-Jan-28 1:23pm | |
|
|
Linux on laptops or notebooks |
| A key web page is Linux on Laptops http://www.linux-laptop.net, which has links to setup information for many (all?) laptops.
The Linux Laptop HOWTO <http://www.mobilix.org/howtos.html (which is now called the Linux-Mobile-Guide), is also worth checking out. | |
| Subcategories:
Answers in this category: | |
| [New Answer in "Linux on laptops or notebooks"] | |
| 2001-Oct-16 11:14am | |
|
|
How do I restore my network connection after a suspend/restore? |
| Look at the /etc/sysconfig/apmd file (just an ascii script that you can edit). It should be commented with details of what flags you can change to get your resume to work.
For example, I changed PCMCIARESTART="no"to PCMCIARESTART="yes"and then my pcmcia card (and my dhcp network connection) resumed fine after a suspend. To start up the pcmcia card by hand, use (as root): /etc/rc.d/init.d/pcmcia restart 2001-Oct-16 11:28am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2001-Oct-16 11:28am | |
|
|
How do I keep my laptop from freezing or otherwise screwing up when I suspend? |
| Try first going to a virtual console using ctrl-alt-F1 and then suspending. When you resume, use ctrl-alt-F7 to get back to your X-windows session. 2001-Oct-16 11:16am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2001-Oct-16 11:16am | |
|
|
How can I ftp a large file without getting a "file too large" error? |
| You may have a maximum filesize limit established by default. For example,
in Redhat Linux 6.x, the default maximum file size is 50MB. So if you try
to download a bigger file, it will stop at 50MB and give you
a "file too large" error (and probably something about a broken pipe).
You can see and change your filesize limit and other limits. The command will depend on the shell you use. If you use tcsh, then the "limit" command gives the info: ==> limit cputime unlimited filesize 50000 kbytes datasize unlimited stacksize 8192 kbytes coredumpsize 1000000 kbytes memoryuse unlimited descriptors 1024 memorylocked unlimited maxproc 256 openfiles 1024To change the filesize limit to 1GB, give the command ==> limit filesize 1000000(the number is the filesize in kbytes or kB). You can put this command in your .cshrc start-up file so that it takes effect in every shell. If you use bash, then the corresponding command is "ulimit -a" (the "-a" is for "all"). [furnstah@ntg4004 furnstah]$ ulimit -a core file size (blocks) 1000000 data seg size (kbytes) unlimited file size (blocks) 50000 max memory size (kbytes) unlimited stack size (kbytes) 8192 cpu time (seconds) unlimited max user processes 256 pipe size (512 bytes) 8 open files 1024 virtual memory (kbytes) 2105343To change the file size to 1GB, give the command [furnstah@ntg4004 furnstah]$ ulimit -f 1000000(the number is the filesize in kbytes or kB). You can put this command in one of your .bashrc start-up file so that it takes effect in every shell. 2000-Jan-25 11:26am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Jan-25 11:26am | |
|
|
How do I avoid getting large core files? |
| You can set a maximum coredump file size. The default size is probably
quite large. For example,
in Redhat Linux 6.x, the default core file size is 1GB.
You can see and change your core file size limit and other limits. The command will depend on the shell you use. If you use tcsh, then the "limit" command gives the info: ==> limit cputime unlimited filesize 50000 kbytes datasize unlimited stacksize 8192 kbytes coredumpsize 1000000 kbytes memoryuse unlimited descriptors 1024 memorylocked unlimited maxproc 256 openfiles 1024To eliminate core files, give the command ==> limit coredumpsize 0You can put this command in your .cshrc start-up file so that it takes effect in every shell. If you use bash, then the corresponding command is "ulimit -a" (the "-a" is for "all"). [furnstah@ntg4004 furnstah]$ ulimit -a core file size (blocks) 1000000 data seg size (kbytes) unlimited file size (blocks) 50000 max memory size (kbytes) unlimited stack size (kbytes) 8192 cpu time (seconds) unlimited max user processes 256 pipe size (512 bytes) 8 open files 1024 virtual memory (kbytes) 2105343To eliminate core files, give the command [furnstah@ntg4004 furnstah]$ ulimit -c 0You can put this command in one of your .bashrc start-up file so that it takes effect in every shell. 2000-Jan-25 11:29am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Jan-25 11:29am | |
|
|
How do I find out the screen resolution? |
You can find out what your X server thinks your dpi (dots per inch) settings are by running xdpyinfo:
$ xdpyinfo | grep resolutionYou can also find out the number of pixels and the physical dimensions in millimeters with: $ xdpyinfo | grep dimensions 2000-Jan-27 9:59pm furnstahl.1@osu.edu | |
| Major Topics:
General Questions:
| |
| [New Answer in "How do I find out the screen resolution?"] | |
| 2000-Jan-27 9:59pm | |
|
|
Skype: microphone doesn't work |
| First, you may have conflicts accessing the sound device due to something like artsd running. You can kill artsd to avoid this. That means things dependent on artsd, such as noatun, won't work.
Second, run alsamixer in a terminal window. Make sure the gain for the Mic is a reasonable level, and it is set for capture (space). Also, make sure that Capture is set to a reasonable level, and is also set to capture (!). Don't see Capture? That's because it's to the right, off of the screen. Keep using right arrow until you find it. | |
| [Append to This Answer] | |
| 2007-Jan-10 2:04pm |
| Previous: |
|
| Next: |
|
| ||||||||||