General :: Equivalent With A Find At The Most Common Locations?

Apr 21, 2011

I am writing a script to install a program (a GUI interface) and would like to search if the required software is already installed. This made me think of the command whereis. I was curious how the command whereis is working but didn't know where to search. Is it equivalent with a find at the most common locations?

View 6 Replies


ADVERTISEMENT

General :: Update Cannot Find Transmission-common

Apr 5, 2010

I can no longer update Fedora because it fails and hangs on trying to update package "transmission-gtk" due to a dependency "transmission-common" whose source cannot be found. How do I fix this and how can linux update break itself so badly that it adds dependencies to itself without checking for their sources first?

View 5 Replies View Related

General :: Can't Seem To Find KDE Equivalent Of GNOME's

Sep 14, 2010

I can't seem to find the KDE equivalent of GNOME's (or Xfce's, or Windows') ALT-spacebar keystroke combination that brings up the window context menu.

View 4 Replies View Related

General :: Find The Equivalent Command Of A Gui Operation?

Apr 12, 2010

We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->

Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...

View 1 Replies View Related

General :: Find Equivalent Cc Options For Gcc Compiler ?

May 30, 2011

I am comiling some programs on Linux using gcc previously compiled using cc compiler on Solaris. Below are some of the confusions:

1. There is -xildoff option in cc which is giving error "language ildoff not recognized". xildoff in cc is for switching off the option of incremental editor ild. Is there anything equivalent on gcc?

2. There is runtime link option in cc as -R but gcc just says "unrecognised option". Does gcc only supports LD_RUN_PATH?

3. There is -Xa option to force cc to chose a particular flavor of c.Its for default c and K&R C. gcc has -std option but not sure which one is equivalent to -Xa in c. It seems -std=c90?

View 2 Replies View Related

General :: Error: Php53-common Conflicts With Php-common

Jun 4, 2011

I have installed php 5.3.6-4 on centOS 5.6. When i try to install some modules of php then it gives an error

php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common

[code]....

I have reinstall it twice but each time i get same error.

View 6 Replies View Related

Ubuntu :: Apache Tomcat - Cannot Find Common Lib Folder

Jan 3, 2011

I am trying out jUDDI. I have to copy the MySQL JDBC driver to {TOMCAT}/common/lib but the thing is I am new to Linux and I cannot find the common/lib folder. I tried to search for apache inside the usr/lib so that i could copy the MySQL JDBC driver inside it but couldn't find the specific folder. 'Locate' and 'which' were not very helpful. I have installed 'servlet and jsp engine' for tomcat 6.

View 1 Replies View Related

Fedora :: Getting The Pulse Audio Server To Find The Hw0 With The Common M-audio 24/96 Audiophile

Nov 18, 2009

I am having trouble getting the pulse audio server to find the hw0 with the common m-audio 24/96 audiophile. This card worked with previous versions of all forms of pulse but seems to bork on the HW0 function for audio out...which is a stereo analogue simple output. Audacity sees the HW functions but pulse does not! Here is a screen shot of the pulse crap. And another screen shot of what the real card at "alsamixer -c 0" sees. There is no dac or adc detected or configured with pulse. This does not make any sense as alsa and alsamixer has all the correct device controls available to any other software that uses the ice1712 driver.

I am using Fedora 12 amd 64 as a live usb on a 16 gig stick and want to be able to record and mix audio on to HD with my reliable high end m-audio pci sound card without having to mess with the pulse crap or having to install a full HD option. BTW in the pulse sound configuration gui dropdown list there is no indication of HW0 and the only devices that are available in pulse are digital outs.....go figure, so essentially I can see all the correct connections and use programs that access alsa directly eg: audacity but have no sound through the crappy and ever borked pulse audio server! Any suggestions as to how to remove all the pulse stuff that comes with most distros that use gnome? I have done this deed before with Ubuntu but do no know how to do the deed with an rpm based system. If I install a non pulse version of xmms and let it use jackd then I should have reliable sound for cd audio etc and should be able to configure VLC, Ardour and Nted well without pulse getting in on the action and screwing up my sound.

View 1 Replies View Related

General :: Dealing With Locations Of Libraries

Mar 7, 2010

What can you do when your linux system "can't find" dynamically linked libraries that are indeed installed in their correct locations? Case in point, I'm trying to run a program called 'ucanvcam':

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ./ucanvcam
./ucanvcam: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
oliver@human ~/installed/ucanvcam-0.1.6/bin $ locate libgd.so.2
/usr/lib64/libgd.so.2.0.0
/usr/lib64/libgd.so.2

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ldd ./ucanvcam
linux-gate.so.1 => (0xf7706000)
[...]
libgd.so.2 => not found
[...]
librt.so.1 => /lib32/librt.so.1 (0xf6b1e000)

How can I tell it to look for libgd.so.2 in /usr/lib64? And more importantly, why isn't it looking there, and where is it looking?

View 1 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 1 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations?

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 4 Replies View Related

General :: Mount Different Folders On Disk To Different Locations ?

Mar 13, 2010

I have a disk with two folders, folder1 and folder2. I'd like to mount these folders separately in my home folder, that is, to the locations:

Code:

View 5 Replies View Related

General :: Remove Multiple Directories In Different Locations?

Mar 15, 2010

I have hundreds of directories in various subdirs that I need to remove. I want to remove all of these dirs, but can only find solutions on how to do remove files (or how to remove subdirs from within the current dir).

I think I need something like

find -iname 'testfile*' | xargs rm -i

where I want to remove every directory that contains the word 'testfile' within the directory name. I know xargs wont work for dirs,

View 9 Replies View Related

General :: Nautilus Cannot Handle Computer Locations

Mar 15, 2011

I am experiencing weird problem with Gnome 2.30.2 on my Debian installation. I can't open "Computer" from places, also, partitions which are not explicitly defined in fstab are not mounted automatically.

View 2 Replies View Related

General :: Copying Files From Multiple Locations To One Destination

Feb 21, 2011

Suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt

How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt

Can 'cp' search for all file and copy them in another folder?

View 3 Replies View Related

General :: Gnome - Cannot Access Computer Or Trash Locations

Mar 4, 2010

I have built gnome-2.28.1 from scratch (source) with gnome I compiled GDM and many other programs. GDM is starting fine, I can enter my user on the login prompt and login without problems. When I'm in the desktop I can't access the Computer or Trash locations clicking on the icon or even through Nautilus, the same error happening:
Error: Operation not supported.

I tried debugging by hand running the follow command: gvfs-ls trash://
Which tells me exactly Error: Operation not supported.

On my ubuntu system, lsof | grep gvfs returns a lot of gvfsd* daemons, like gvfsd-computer and gvfsd-trash. On my Scratch system lsof | grep gvfs doesn't return anything. My prefix used when building gnome was /opt/gnome and sysconfdir on /etc/gnome/2.28.1. lsof shows me that D-Bus is running, actualy gdm starts gnome with dbus-launch --exit-with-session gnome-session.

And inside my /etc/dbus-1/session-local.conf I have:
Code:
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"[URL]"> <busconfig>
<!-- Search for .service files in /usr/local -->
<servicedir>/opt/gnome/share/dbus-1/services</servicedir>
</busconfig>

Well, I done many tweaks around and still can't display gvfs location, what I think is very odd is that lsof doesn't returns any gvfsd* daemon running.

View 2 Replies View Related

General :: Changing A File At A Time Located In Two Locations?

Nov 23, 2010

suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in /root/fstab . Is there any command to do this?

View 6 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

General :: Windows - Code/software Access Locations In Memory That It's Not Supposed To?

Apr 11, 2011

By default, when applications run, they are limited in the amount of RAM they are allowed to access right? Technically my VLC could not access memory addresses used by Chrome. But how is it possible for the operating system/compiler to mistakingly allow access to an address a code is not allowed. I know alot of 'exploits' and 'payloads' take advantage of this fact and create variables that take up too much space and 'overflow' into other addresses, but how does this actually happen?

Are some programs more prone to this than others? Does it matter in which language they are coded in? For example, I know C is allowed to play around with memory, while Java is not. Also, what are the advantages of this? What if someone wrote malicious code to access someplace in memory, what could they do? The only thing I can think of is passwords/keys stored in RAM.

PS I thought about putting this in Stack Overflow, but my question is much broader than just specifically related to a programming perspective. If I've placed it in the wrong place, I'm sorry.

View 2 Replies View Related

General :: SFTP Chroot - Unable Move Directories To Other Locations Of The System

Sep 26, 2010

I tried setting up sftp for my users. Each of my user have their home directory at "/var/www/public_html/$USER". When my users are using sftp, they can only see their own directories and unable to move to other locations of the system. I followed through the following tutorials: [URL]

The users are able to sftp into the system successfully. However, they are able to see the whole system. Somehow, it appears that the users are not jailed in their home directory although in the tutorial it states otherwise. The difference of my system against the tutorial is that I am using Dropbear for SSH server while it is using Openssh server. Although dropbear does not support sftp, I am able to login through sftp through the use of sftp-server. For the internal mechanics, I am not sure how though.

Assuming that when I tried to SFTP, the sftp-server is ran with the sshd_config, then everything should be working fine right? Do i need to run chroot command at all? The following is the procedure I used to attempt the objective:

1) Add a new user to the group: SFTPonly
2) Chown user:SFTPonly user/home/directory
2) Modify the sshd_config to what is reflected in the tutorial and other paths.

View 1 Replies View Related

General :: Common Folder For Windows?

Jan 1, 2010

I have a standalone system which dual-boots Linux and Windows.The trouble is that the Linux filesystem is separate and the Windows filesystem is separate. there a way to have a folder in which I can store files which I can access whenI'm in Linux as well as in Windows?

View 11 Replies View Related

General :: What Are Common Keyboard Shortcuts

Oct 29, 2009

I am new to linux, I would like to know the commonly used keyboard shortcuts. I want to get familiar from the basics.

View 8 Replies View Related

General :: Auto-mount Virtual Machine Locations When VMware Image Finishes Loading?

Jun 20, 2011

I mount a few locations from a VMware virtual machine, but currently every time I start up VMware I need to re-mount the locations once the VMware image has started up fully, which gets tedious. I'd like to be able to mount them automatically when VMware is started.

I generally double-click the .VMX file (which is associated with VMware Player) to launch the virtual machine, but once it has finished loading I would need to run the mount commands manually or execute a bash script that does it.

Is there any way you can think of to have it done automatically? One way I can think of is to start my virtual machine by running a script that starts VMware player, sleeps for a minute or so, then runs the mount command - but setting the right sleep interval would be difficult because this varies a fair bit - and overall, it's a solution that's kinda icky and that I'd like to avoid if there's some better option.

View 3 Replies View Related

General :: Encrypting A Common Data Partition Between Distros?

Aug 6, 2010

On my laptop (Dell Studio 1745) w/500GB HD, I have a common data partition shared by openSUSE. Fedora, FreeBSD, and windoze 7 currently. I would like to encrypt this partition (/Common) and have it accessible from all distros either with a passphrase key in /root or on a flash key. I've been researching on the web and there seem to be several possibilities using eCryptfs, Luks, cryptosetup, or any of several methods.

My question is, what have people here used and how well did it work? Also, what was required for setup (I'll probably have to explain/teach it to my wife who is technology challenged-but I still love her anyway) and my daughter who's just getting into linux. I would like to be able to keep the entire directory on the hard drive but also have the ability to copy it to external USB device for transport.

View 4 Replies View Related

General :: Lost In Common-passwd PAM Configuration (Ubuntu 10.04)?

Sep 7, 2010

Recently installed some application which screwed the default common-passwd file and has put some restrictions on the passwords which I could setThe present file looks like this

Code:
#password required pam_passwdqc.so min=disabled,8,8,8,8 passphrase=0 enforce=users
password required pam_passwdqc.so min=1,0,0,0,0 passphrase=0 enforce=none random=0

[code]...

View 1 Replies View Related

General :: Merge Lists With Common Heads/tails?

Sep 5, 2010

My question is probably better explained by example; I have two files that look like this:

Code:
$ cat file1.txt
mercury
venus
earth
mars

[Code]....

The general stipulations are as you'd expect; both files are of an arbitrary length, generally file1 will be larger than file2 but this is not guaranteed, the common lines (if any) will always be contiguous and only occur at the end of file1 and the start of file2.

View 14 Replies View Related

General :: Can't Applypartial Context To Unlabeled File /common?

Apr 26, 2010

when i type this command chcon -t samba_share_t /common

error came chcon: can't applypartial context to unlabeled file /common what type of problem is this?

View 1 Replies View Related

General :: Terminal With Options - Save Common Commands To A Hot Key?

Oct 12, 2010

I am looking for a terminal app that will allow me to save my password and maybe set up some sessions since I often log into multiple machines each day. Also is there something out there that will allow me to save common commands to a hot key?

View 1 Replies View Related

General :: Ubuntu 10.10 Installation - No Common CD-ROM Drive Was Detected

Dec 19, 2010

I am trying to install Ubuntu 10.10 on my AMD64 system. I am using the distribution ubuntu-10.10-dvd-AMD64.iso. The image was downloaded and burnedt into an installation DVD.

During installation system hangs with the following message on the screen:

No common CD-ROM drive was detected.

I tried "Alt-F2" to a console and typed: modprobe ide-scsi and get a message
Module ide_scsi not found.

I tried changing the BIOS for the SATA controller from RAID to IDE, didn't work.

The CD-ROM I am using is a hp BDDVDRW CH20L SCSI CDROM.

View 1 Replies View Related

General :: Fedora Ethernet File Locations For Auto Eth - X - Devices Missing Ifcfg-ethX Files

Jul 24, 2010

Missing ifcfg-eth[2-5] fileset for ZNYX 345Q Quad Port 10/100 cards. I have showing in the gui network device that my ports for my ZNYX ZX345Q Quad Port card my ports are Auto eth2, Auto eth3 etc. My Motherboard and Intel cards show as System eth0 and System eth1.

There ARE corresponding entries for those in my /etc/sysconfig/network-settings/ directory, but there are not ifcfg-eth[2-5] files to correspond to these adapters. Can I just write my own files and that will do it?

How does Fedora 12/13 load these drivers into the kernel without having these ifcfg files?

I'd love to know if there is another way Fedora controls NICs / other system resources.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved