General :: Get The Printer Name To Include In `lpoptions -d`?
Apr 12, 2011
I am trying to set the default printer on a machine running xubuntu from the command line. It looks like I need: lpoptions -d "printer_name" but I do not know the name of the printer. How can I find this information?
View 2 Replies
ADVERTISEMENT
Nov 23, 2009
I just upgrade to Fedora 11.
I have problem in installing the printer, no matter add printer in local network or Windows Printer via Samba.
The summary is as follow:
I have download a printer driver and had installed but got error when I tried to printer a test page.
View 6 Replies
View Related
Jul 11, 2010
What is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
View 1 Replies
View Related
Jul 8, 2010
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
View 2 Replies
View Related
May 14, 2010
My Operating system is Ubuntu 10-4 that I have just installed.
View 6 Replies
View Related
Jan 3, 2011
I've bought a HP Photosmart printer, HP Photosmart wireless e-All-in-One printer - B110a and i've got a problem installing it properly. I'm using Debian 6.0 Squeeze. When i connect the printer, Debian doesn't recognize my printer as the Photosmart B109 printer for unknown reason. When i go to the site of HP and search for a driver, it directs me to this site:I've downloaded that latest hplip file as a .run file and installed it. My printer is recognized proparly, but when i try to print a colored image, it comes out black/white. Something is not crrect. Does anyone recognize this problem with this type HP printer?
View 7 Replies
View Related
Jul 19, 2010
When I installed a new copy of my distro on another partition, in order to preserve all the settings from my old my user account, I made a user account with the same name on the new installation, and then copied my old user account's files (in their entirety) to the new user account, overwriting it. I did the copying from the root account (where else? I assume the new user account can't overwrite itself while it's open), and root became the owner of everything I copied, making it impossible to open the new user account. So I then chowned the new user account's folder to myself. I still can't get in, because apparently, chown only chowned the top folder, leaving all subdirectories owned by root. How do I make chown include all subdirectories? I scanned the man page, but didn't see a parameter.
View 4 Replies
View Related
Feb 17, 2011
i have written a simple program in gtk. #include<gtk/gtk.h> //header file main program.. on compiling it is showing fatal error:32 /usr/include/gtk/gtk.h is not found. i have checked the location but file is there.
View 2 Replies
View Related
May 26, 2011
I'm trying to copy files from my local directory to a remote site using rsync.I want to include in the copy all the java files and exclude all the .svn directories, but I can't do it.
View 4 Replies
View Related
Dec 17, 2010
Does RHEL6 include smp kernel? When I run uname -arn it does #SMP but I want to confirm if a seperate RPM like kernel-smp-* is included in default installation.
View 4 Replies
View Related
Jul 4, 2010
I have a CMS I have developed, which will run on several sites all hosted in sub directories on my dedicated server. I want to create symlinks for the main files of the CMS, including all config files, functions and admin sections. Then there will be a few files specific to each site.I read some tutorials on creating symlinks, although most are not very good in my opinion.
Do you have to create a symlink for every file I want to include? Or can I just create a symlink to a directory? For example:CMS is located at /www/cms/.Can I make www/domain1/ point to that directory, and if so, will all files include themselves correctly. I think I am a bit confused on how this works.
View 1 Replies
View Related
Jul 2, 2010
I want to setup a NTP server on open SUSE 11.1. But I don't know whether it has been supported in the system, or it needs me to install a software manually.
View 4 Replies
View Related
Apr 9, 2010
I have installed linux-2.6.21 and lzo-2.03 from source code in fedora core 7 in the same directory. Now I wanted to include header files of lzo library in the linux kernel source code. How to do that?
View 10 Replies
View Related
Aug 18, 2010
I am having problems getting my fedora 13 system to recognize my apache tomcat lib which contains lots of jar files needed to compile servlets and jsp based Java programs; i have set the classpath env variable code...
View 2 Replies
View Related
Apr 28, 2011
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files
how can i add the File Name as a comment before each file?
//FileName
Code:
system='/path/to/my/directory'
cat `find ${system} -name '*.txt'` > outputFileDirectoryName.txt
View 13 Replies
View Related
Mar 8, 2011
I'm trying to install tgrep using the INSTALL file but I'm gettin errors. The following messages speaks for itself.
Code:
denish@ubuntu:~/tgrep$ ./INSTALL
THIS IS THE CONFIGURATION SCRIPT FOR TGREP
answer all questions with full pathnames
I cannot determine the gcc include path on your system. Please enter the gcc include path if it is available: /usr/include
[Code]...
View 2 Replies
View Related
Apr 22, 2010
Is it possible to 'include' a global SSH authorized_keys file?
For example, I have user accounts user1,user2,user3 and my user name is Benjamin. I want to be able to use my ssh key to authenticate as each of these users. I can manually copy my key to each .ssh/authorized_keys file individually, but is there a way to simply include /home/Benjamin/.ssh/global_authorized_keys in each of these user's authorized_keys file without manually adding and removing?
View 2 Replies
View Related
Aug 9, 2010
ok how do I include my username in the sudoers list?
View 4 Replies
View Related
Nov 3, 2010
What skills or concepts would you include in these three areas of Perl?
Perl Automation Test
Perl Development
Network Scripts / Programming
Could you make it look like a course contents so that I can check out those topics for the above three broad subjects of Perl?
View 1 Replies
View Related
Jan 1, 2011
One question /vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet 3 and boot the system. what kind of information each of the /rhgb and /vmlinuz subdirectoris include
View 1 Replies
View Related
Jun 2, 2010
I tested with RHEL6 Beta and they don't include pvscsi driver we use for Vmware ESX.We did asked them to include this driver with new RHEL 6 Beta 1 but they din't. Now we expect it to be shipped with RHEL 6 Beta 2. How can I track the same beforehand. Is there any repository where can I track whether they have plan to ship it or not?
View 2 Replies
View Related
Feb 15, 2011
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.
View 1 Replies
View Related
Mar 30, 2011
I have a script that uses cp to copy data from A to B. There are some troublesome files that are constantly in use and read "Permission denied" or "Text file busy" but I'm not worried about these. Therefore my copy process always contains output.The script runs through cron and the output (automatically) goes to /var/mail/user. I tried setting it up to send me an email and it comes through, but it's completely blank. The email in /var/mail/ contains the full output.
Here is my command:
0 18 * * * /home/backup.sh | mail -s "Backup completed" jsteel@...com
(The script simply contains many "cp -r /mnt/location/a /mnt/location/b")
[code]....
View 2 Replies
View Related
Sep 27, 2010
I created some .tar.gz archives, and later discovered that the archives include their mount points and drives as empty folders. How can I avoid that happening in the future? I suppose I did something wrong when creating the archives. I mean, what is the point of the archives having empty folders that represent the mount points and drives of the archived data?
View 2 Replies
View Related
Jul 16, 2010
how to include my command results in a script? Basically what the script does is it checks the status of a service within the linux server, then sends an email when done. I want to include the results of my status check to my mail when sent.
i.e.
service dhcp3-server status Status of DHCP server: dhcpd3 is running. <---this I want to include in the mail that is sent out via script.
View 6 Replies
View Related
Feb 10, 2010
I normally use the "locate" command to find files that I have on my local drive. However, if I wanted to do this for an external drive, how would I go about this?
From what little I know about Linux, I'm guessing that it creates a reference file from which it performs the search when the command is typed. If I'm right this is updated at a given interval or when "updatedb" is used?
As the external hard drive is not always mounted is it best to create another of these reference files and have a different command (e.g. locateext) or something? Or is it best to add the external hard drive's location to the list of files that get added with updatedb.
I'm running Fedora 11.
View 4 Replies
View Related
Feb 11, 2010
Is it possible to create a symbolic link that include commands for the program?
For instance, I do the following to start the program:
./script -somecommannd
I would like to create a symbolic like that includes "-somecommand"
Is this possible? or would I need to create a second script that executes that command, and link to that script?
View 4 Replies
View Related
Feb 14, 2011
In the process of installing DDD, I get the following error:The X11 library could not be found. Please use the configure options '--x-includes=DIR' and '--x-libraries=DIR' to specificy the X location.I did a "yum install libx11-devel". I was told that the right package was installed
View 1 Replies
View Related
Dec 17, 2010
I recently tried to build a gcc cross-compiler, which is revised from gcc-2.6.3.The building process failed as:
_fixunsxfsi
_fixtfdi
_fixunstfdi
[code]....
View 7 Replies
View Related
Feb 15, 2010
I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?
View 5 Replies
View Related