General :: Can't Make Clear On Most Manpages - Can't Simply Usebzip2 File?
Feb 5, 2010
What they don't make clear on most manpages is that you can't simply usebzip2 thisfile.xxx that gives bzip2 free rein to include the original extension in the filename. You must use the -c tag (and better than that, the -c and -k tags, the latter of which leaves the original file untouched post-compression), then -if you wish- the level of compression to apply to a file (in the range of 1-9, with 1 being next-to-no compression and 9 the highest level of compression), followed by the filename/s to compress, then after a single space, a right-hand carat (">"), then another single space and the name you want to give the compressed bzip2 file, remembering to add the extension ".bzip2" (no quotes) to your filename.
Sounds pretty obvious, doesn't it? Well, I thought so too once I read a particular manual page and reasoned it out. Then I remembered the 15 or so minutes it took me to Google myself to that manpage, and I decided it was good Net citizenship to put up a little step-by-step like this one on an appropriate forum on which I was already a registered member.
It isn't just the C++ heads or the Python jockeys who need things broken down to their simplest bits for them from time to time. Newbies and near-newbies do, too. I took it as read that was the reason for this subforum, so here I went.
I am using an internal toy svn server, and svn client seems to be configured to store passwords in gnome-keyring by default. How can I disable it or at least switch to kwallet?I am using Debian Testing.
I would like to make 2 vertical lines and two horizontial lines around this program. I use gcc as compiler.
* Simple parallel port output control program for Linux * * * The program output the data value to PC parallel port data pins * (default lpt1 I/O address 0x37. The data values are given as the * command line parameter to the program. The number can be * in decimal (0..255) or hexadecimal format (0x00..0xFF). [Code]....
Are there any tricks/sites/methods to use the linux man command in a more convenient way? I love commands in terminal but for some strange reason I preferred to type man in firefox then in the terminal. The output is so long and I have to scroll forever to find what I need. Also the lack of example is a headache.
Running SunGard Banner software on RHEL 4.2 x86-32 bit Linux server Oracle Application 10.1.2.3 samba enabled. Users run processes/reports that are logged in a daily log file. In our daily job submission log files the user password shows up as clear text.The password shows up as $PSWD (sample from the logfile):
I've been using empathy to chat on MSN. The problem is I can't erase my password when I want to log off. Theres just one user on this machine, I know it would be easier to create diffrent profiles. But I just want to be able to tell empathy that it should ask my pw to log on to my account.
I am using FC9. Can anyone tell me how to host all the manpages on a Apache Server so that a user can access it using the webbrowser like firefox. After googling I came across something called man2html but it really did not work.
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory make[2]: *** [libmpn.la] Error 127 make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
i am having a problem concern zlib installation.i tried configure file successfully but make file displayed some errors.that usr/linux/limits.h not found.so i found that i have to install glibc-headers-devel...but there is no such a kind of package in ubuntu repository?/????/some people saying that libc6-devel is equal to them!
i am using natty 11.04. can you please guide me how to clear recent history in dash under search files folders?also tell me how to customize dash application menu etc...
I realise KPDF is quite old now but as this issue may recur when I move to a newer distro (well, newer than Hardy) with Okular I thought I'd better ask.I use Gnome, but prefer KPDF to evince when viewing PDF files. However, KPDF's "Open Recent" list behaves very oddly - there's no apparent way to clear it, and items which were on the list one day aren't on it another day (coinciding with old items reappearing on the list).
Is there any way to clear this list?Similarly, is there any way to clear the list of recently opened files in the "Location" drop-down box in File-Open? (which also seems to mysteriously lose list items inbetween reboots).
since arch has started using python3, bleachbit is broken, so i am looking for a system cleaner to replace it. i need something that will overwrite file contents and clear firefox cache + the all the normal functions of a system cleaner.
I use slack 13.1 64 bits on my intel i7 machine. That is I can't find a flash-player plugin that works on all browsers. The firefox crashes on open. The release of adobe 64 bits plugin simply doesn't work on any browser. I use slack 13.1 64 plus kde. Anyone knows some that works?
I have compiled the linux kernel. My bzImage is 1,14 mb big
Anyway. It's only 2 programs i need and it's Python and Busybox. I have compiled python and busybox and put them together in a folder. Busybox is 146 kb and pyton is 4,4 mb.
But how do i make an initrd file of them? Or should a make an initrd file of them?
I get this error when a runt with a compiled busybox to gz format as initrd, and without initrd.
Quote:
VFS: Cannot open root device "sda1" or unknow-block(0,0) Please append a correct "root=" boot option; here are the available partions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1
I have created a file named as pm under the path /home/ppp/ i.e. /home/ppp/pmTo make it executable, I've used command: chmod a+x /home/ppp/pm while residing in root directory.But while trying to run from root by typing ./pm or within the directory /home/ppp, it was displaying that directory not found.Please help by providing the step by step procedure, so that I would be able to run my file from root or from the directory.
Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:
Code:
attrib -r hello.txt
The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?
I've gone through some online tutorial on how to create a MAKE file and actually I don't have a complete understanding of it specifically, linking the particular compiling program to a library and also creating a share/dynamic library.
in my php page they ask the user to enter some input example like year. i want that input to be transfer into my .sh file and will show its output. how to make .sh file receive data from php and php sent data to .sh file