General :: Pr Command How To Remove Page Numbering
Mar 26, 2010
When using the pr command for formatting simple text files for printing, page numbers are included in the header by default. I figured out how to remove the date from the header (pr -D ""), and how to remove the title (pr -h ""), but for the life of me I can't figure out how to remove page numbering from the header. Anybody know how/if this can be accomplished?
View 1 Replies
ADVERTISEMENT
Sep 24, 2010
I am working on a literature project, and my school rules say to put the abstract in twice, both in Norwegian and English.
I have gotten LaTeX to accept this, but the page numbering is not good. it seems that I get this order (page numbers in ()
titlepage
Norwegian abstract(I)
blank page (II)
English abstract(I)
[Code].....
will I have to manually set the counter for each part of the preface to get a continuous count? Using report class
View 2 Replies
View Related
Jan 30, 2011
when using the "convert' command is there a way to start the numbering at 22 or 47 instead of 0.
View 1 Replies
View Related
Jun 8, 2011
I want to enable line numbering in emacs - as is vi, which we use exclusively at work (my boss removed emacs from all the machines in the department.)
In vi you just use :set nu - the is a site that explains that this is possible [URL]
It describes a linenum.el - and I can see the program, but don't understand how to install it.
View 2 Replies
View Related
Dec 22, 2010
I want to see files and directories which are in /etc directoty. When i write # ls command it scroll all files at a once and i can't see the files whic starts from a or b .Is there any combination in ls command by which i can view files as per page by pressing spacebar of enter key to see next files.
View 4 Replies
View Related
May 6, 2010
I'm trying to get the source code of a web page from linux command line and save it to a file. I googled for it but didn't get any info. I'm not sure if wget can do this.
View 4 Replies
View Related
Oct 12, 2010
In windows, you could do a dir | more to scroll one page a time.How does one do this in Linux?
View 2 Replies
View Related
Feb 10, 2011
how to run a shell script taking command line arguments in a jsp page.
View 1 Replies
View Related
May 10, 2010
How can I find page hit and page miss ratio in linux fedora core 12?
View 3 Replies
View Related
Jul 26, 2010
All has been fine with my emails but today morning when i tried to log on I got an error message "You must be logged in to access this page, go to logon page" I dont understand why even when i supply my correct user name and password.
View 2 Replies
View Related
Mar 22, 2011
I have a problem where in order to satisfy RPM dependencies, I need to remove packages and downgrade them in the same command. Imagine the following situation Before
A v2.0 depends on B,C
B v2.0 depends on C > 1.0
C v1.1
After
A v1.0 depends on C
C v 1.0
If I issue a
$ rpm -Uvh --oldpackage Av1.0.rpm Cv1.0.rpm
it will fail with "B depends on C > 1.0" If I issue a
$ rpm -e B
it will fail with "A requires B" so I appear to be in a catch-22. The obvious solution is to use a "--nodeps" and remove B before doing the downgrade, but I am creating these commands programmatically so I was hoping to use dependency resolution as a sanity check against an incorrect script. Is there any way to perform this downgrade without breaking the RPM dependency sanity checks by force?
View 2 Replies
View Related
Sep 14, 2010
I am reading the output of /proc/acpi/thermal_zone/ATF0/temperature in a program to read my CPU temp. I am using cat like the following:
Code:
#cat /proc/acpi/thermal_zone/ATF0/temperature
temperature: 49 C
I basically want to get rid of the spaces in between temperature and the actual temperature. Is there a command I can pipe the cat output to, to remove the spaces. I have seen suggestions for sed, or tr, but for some reason I cannot get them to work properly.
View 14 Replies
View Related
Nov 30, 2009
i want to remove words "Max" and "constrained" in a file given below:
Max 0.003745 constrained
Max 0.004549 constrained
Max 0.001689 constrained
[code]....
and further want to replace "Max" by line number so that i can plot the resulting file. i searched in forum, but couldn't do what i wanted to do. e.g. i used
1)grep command
grep -v "Max" inputfile >outputfile
deletes whole line,and hence whole text.
2) sed command
cat inputfile |sed 's/ .{1,12} //g' >outputfile
gives output
0.003745constrained
0.004549constrained
0.001689constrained
[code]....
View 4 Replies
View Related
Jan 24, 2011
I am using this command for blocking some ipaddress. but now i want to remove iapddress. when i try # route delete 64.126.45.122 SIOCDELRT: No such process
View 1 Replies
View Related
May 2, 2011
1. Find everything that belongs to KDE in /usr/bin/
2. Show me what it is
3. (Give me an option to) delete it
A note about what did not remove mentioned;
Code:
apt-get remove kde --purge
apt-get autoremove
View 1 Replies
View Related
May 11, 2010
An app failed to load properly and now i'm stuck in a sequence I don;t understand the solution for.
sudo apt-get autoremove
dpkg was interupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
View 1 Replies
View Related
Dec 2, 2010
how to write a script so that when I use the 'del' command it removes/sends the files / folders to a I specify for example 'dustbin'
View 1 Replies
View Related
Jul 6, 2011
I want to combine 4 ps(or pdf) page to single page and for this i have try a2ps command as:
a2ps -4 1.ps 2.ps 3.ps 4.ps -o outfile.ps
Event through it divide the page into four section. But only give one output of my four input. other three section is blank. Is i am doing some wrong or Is their any other command to do so.
View 3 Replies
View Related
Aug 11, 2011
Vim: substitute for Page Up and Page Down keys?
View 4 Replies
View Related
Jul 13, 2011
I need to remove a large binary file(PDF file) from a large log file which is generated daily.This is seriously hogging space on our servers.I need to remove the large PDF from the logs to make the logs smaller and manageable
I need to take out the texts (or binary file) between the strings
<my:PDF> and </my:PDF>
<applicationForm> and </applicationForm>
<image> and </image>
<extractedSignature> and </extractedSignature>
I am not sure whether sed utility can do this, these are large files and need to be pruned .I am not seeking logrotation advice just a script or command that can strip these large logs of texts between the characters above . I am not sure how to do this.These files are rather large.I am not sure how to achieve this with sed , tail, head , tr or any other facility .
View 2 Replies
View Related
Jan 17, 2011
i am working on a project that uses message queues. i am able to successfully create them and they are working fine. now the problem is to close/remove message queues without software or mq_close / mq_unlink command. earlier when i worked on rh9, there is ipcs utility. we use ipcs to see all the existing message queues and ipcrm to remove them. however ipcs is not working for message queues in RHEL 5.3. Neither ipcs shows the exisiting message queues and neither we are able to use ipcrm. Plz guide to close/remove the queues with ipcs or any other command/utility from shell itself.
View 1 Replies
View Related
Mar 17, 2011
I used this command to merge a book I downloaded by chapters into a single file (I'm putting it here so I don't forget : )
Code:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=book.pdf 0*.pdf
As you know, many (or most?) books number the first pages using roman numbers, so in the pdf the page #1 is actually the logical page #12.
Also, the combined file doesn't have a logical index (section, subsection, etc.) showing in okular or evince.
Since I have many pdfs in similar condition I was wondering if there's a way to change the numbering to make the first "n" pages use logical roman numbers and add a logical index.
View 1 Replies
View Related
Jan 4, 2011
I have a .doc file. The Table on Contents has Roman Numerals as well as the footing. The Table of Contents is linked to the pages and headings. How do I change these to a different numbering system: 1,2,3,? The format is A4 and I want to convert it to letter. Can I do this and keep the links in the TOC to the pages and headings?
View 2 Replies
View Related
Jan 18, 2010
I'm having trouble getting a system to boot. Specifically, I think the MBR is trashed and I don't know how to repair it. I'm scared to experiment The system has a PATA DVD drive, a SATA drive via a motherboard connector and two 3ware RAID controllers. I can boot systems from the DVD drive but when I try to boot from the hard drive grub says Error 2 (which is a stage 1.5 error, I think).
The m/b SATA drive has both a 10.3 and an 11.1 system installed, on partions 2 and 3 respectively. Partition 1 is a swap partition. The RAID arrays are whole-disk LVM systems containing data. I want to run the 10.3 system. The BIOS is set to boot from the DVD then the m/b SATA, and NOT to boot from the RAIDs. Two issues worry me: grub's disk numbering and grub version dependency. If I boot into the rescue system on the 10.3 install DVD it shows the partitioned disk as /dev/sda. If I boot into the rescue system on the 11.1 install DVD it shows the partitioned disk as /dev/sdc. I suppose that means something in the kernel changed?
If I run grub in the 11.1 rescue system, I can say "find /boot/grub/menu.lst" and it reports two files on (hd2,1) and (hd2,2). If I run grub in the 10.3 rescue system it says error 15 file not found.I'm scared to use 11.1 grub to setup hd2 because when I've tried previously I've managed to overwrite the LVM metadata on one of the RAID arrays. Is there some way I might get the find command in the 10.3 grub to work? Or is there some way to test what the 11.1 grub will do that is non-destructive.
View 9 Replies
View Related
Oct 6, 2010
I am trying to get my ethernet adapter list to make some sense. This is what ifconfig spits out
Code:
agarzon@euler:~$ ifconfig
eth3 Link encap:Ethernet HWaddr b8:ac:6f:3b:f4:4f
[code]....
View 2 Replies
View Related
Jul 22, 2010
My system (ubuntu 10.04) has a command called 2to3. What exactly is it? it hasn''t got a manual page.
View 2 Replies
View Related
Nov 3, 2010
I could not number formula in Open Office writer relative to a chapter. I would like to numbering like 1.1, 1.2, 1.2. 2.1 etc. Is it possible. I searched in Helps, but doesn't found anything!
View 1 Replies
View Related
Jul 21, 2009
What command should i add into htaccess if i want to make a certain page protected with username and password?
View 1 Replies
View Related
Nov 23, 2009
On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?
View 1 Replies
View Related
Oct 12, 2010
i am able to try ubuntu and everything works fine until i try to install. the menu comes up to the first page where it tells you to plug in your machine and make sure there is enough disk space and network connectivity. when i hit next on this page the mouse icon changes but the next page never loads. the longest i let it hang there was 2 hours. ive tried multiple times with the same result.
im running from a flash drive on an ASUS Eee PC 1001P-PU17
View 4 Replies
View Related