General :: How Linux Configuration Files Work?

Feb 5, 2011

I've been struggling for a couple of days to understand how configuration files work in Linux but haven't really found any clear information regarding that.My main question, as there is not a standard configuration file format in Linux, is how the format of a configuration file is understood by a Linux program? How the program reads its configuration file and how it understands its syntax (file format)? Also, a further question is how the program knows where its configuration file is being located?

For example inittab has its own "Identifier:RunLevel:Action:Command" format. How this is recognised by the "init" process?

View 8 Replies


ADVERTISEMENT

General :: Way To Make Ipod Work On Linux?

Feb 28, 2011

i would like some help on a problem i have..is there a way to make my ipod work on linux??i tried the rythmbox but i can't load new songs on my i pod..no drug n drop..no copy paste..no nothing..!is there any distribution of itunes for linux?(ubuntu 10.10).

View 7 Replies View Related

General :: Getting Linux To Work On EMachine Netbook (no CD Drive)

Jul 15, 2011

A friend loaded linux onto my eMachine netbook. Unfortunately the touch pad and WiFi refuse to work. He loaded it into a 40gb partition leaving 120gb unusable so it would probably make sense to start all over again. I only need basic txt software, pics and internet to work so I am not looking for state of the art. Just something that will work, is not too difficult to set up and preferably can be loaded from a pen drive (memory stick). Any suggestions? The "distro" as I understand it is Kubuntu. Not sure what version but I will have a look later.

View 7 Replies View Related

General :: What Distro Of Linux Will Work With Broadcom BCM4312

Sep 25, 2010

I am trying to start using linux, and am new, so sorry if this is dumb. I started out trying Ubuntu, but that didn't work. After that I had tried Mint, and had several problems besides the Network Connector. Now I'm trying Fedora, but if that doesn't work is there a different Linux distro that will work?

View 6 Replies View Related

General :: How To Access Linux Files From Windows?

Mar 8, 2010

I have both windows and linux in my system.I want to know how I can access linux files from windows.

View 6 Replies View Related

General :: Compare Directory/files In Two Different Linux Boxes?

Apr 5, 2011

How can I use diff to compare the files of similar directories on to diferent linux boxes.

View 1 Replies View Related

General :: Getting An External CD R/W Drive To Work With ASUS Eee Linux Based Netbook

May 22, 2011

I could not get get the LG External CD R/W Drive that I recently purchased to work with my ASUS Eee Netbook (Linux based) and ended up giving the drive to a friend to use with his Windows XP based laptop.How do I make an External CD R/W Drive work with this Linux-based machine?I am an engineer (civil-structural), but not that savvy with respect to computers; particularly issues of compatibility of hardware / software.

View 2 Replies View Related

General :: Windows - Linux: Can't Overwrite Files On Samba Store

Jun 10, 2010

I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my Samba store. I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I know the server runs Windows XP or Server 2003; I don't know which. I can delete the file, and then copy the new version over, but I can't overwrite it. Using the cp command I'll get this error:

[jonescb@localhost ~]$ cp foo.txt /mnt/si_storage/foo.txt
cp: cannot create regular file `/mnt/si_storage/foo.txt': No such file or directory`

And if I edit a file on the server using vim, I can save it once, but if I save it again I get this: "/mnt/si_storage/foo.txt" E212: Can't open file for writing This is my /etc/fstab entry for the samba server: //192.168.1.2/SI_STORAGE /mnt/si_storage cifs username=myuser,password=mypass 0 0 I can overwrite files just fine on my XP machine. The CentOS box is the only one having problems.

View 1 Replies View Related

General :: What GUI Linux Programs Are There For Finding Files Based Upon Their Contents?

Sep 18, 2010

What GUI Linux programs are there for finding files based upon their contents?

View 5 Replies View Related

General :: BASH: Find Duplicate Files (MAC/LINUX Compatible)?

Mar 18, 2011

I am looking for a bash script which is compatible with Mac, to find duplicate files in a directory.

View 2 Replies View Related

General :: Conflicting /usr & /etc Files While Installing Fedora 15 And Scientific Linux 6.1

Aug 9, 2011

Until some time ago I had a dual Windows 7 and Fedora operating system, then I completely moved to Fedora. Recently I have become interested in Scientific Linux and wanted to install it besides my Fedora. I took a back up of all my data and formatted my HDD for a clean install of both of them. This is what I did:

First I installed Scientific Linux with these partitions (contents of /etc/fstab):

[Code]...

Then I went on to install Fedora 15; I kept the same primary and extended partitions but only changed the names of "/FedoraRoot" to "/" and "/" to "/SLRoot" in the above list while installing Fedora. I also chose the boot directory of Fedora to be /dev/sda1/ which I wanted to be the /boot file for both systems while I had chosen the boot file for Scientific Linux to be "/dev/sda".

Everything went well until the final step of copying the files an error came that some of files that Fedora wanted to install in /usr/share, /usr/lib64, /usr/bin, /etc/system..., /etc/issue..., /etc/redhat-release... and /etc/rpm are already present in the Scientific Linux format and so there is a conflict and it has to terminate!!! I must have made some strange mistakes in the definitions

View 2 Replies View Related

General :: GUI File Manager For Ssh/linux With A Shell - WinSCP Doesnt Work As It Locks Up?

Jul 9, 2010

I am using a server where i need to login twice. The first time i login as my boxname and pass. The 2nd login is 'root' so i can access the content of the box (i dont understand it but that hasnt stopped me from using it as normal).Now i like a GUI so i can browse files easier and drag and drop multiple files instead of using the command line. WinSCP doesnt work as it locks up. I suspect its because there is a prompt to log in again.

What can i use to drag & drop files?

View 3 Replies View Related

General :: Can't Edit Files While Using Ssh To Remotely Access Linux Server From A Windows Comp?

Oct 9, 2010

I can ssh to the server but it wont allow me edit files, even though I have basic text editors like gedit and notepad installed on my windows computer. Anyone have an idea what the problem is? (I get an error message like this-(gedit:23978): Gtk-WARNING **: cannot open display

View 3 Replies View Related

General :: Moving From Paid Linux To Unpaid Linux CenOS - Red Hat (KVM Virtualization)

Dec 21, 2009

if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

View 1 Replies View Related

General :: Verifying Qlogic FC HBA Adapter In Linux ( SUSE Linux)

May 5, 2010

i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

View 4 Replies View Related

General :: Migration Of C++ Application From SuSE Linux To Red Hat Linux

Feb 12, 2010

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?

View 3 Replies View Related

General :: How To Share A Folder From Linux To Linux

Mar 17, 2010

how to share a folder from linux to linux systems and setting password to open that folder

View 14 Replies View Related

Debian Configuration :: Cannot See Linux In Router

Jun 19, 2015

I cannot see my debian linux machine in my virgin media router>>attached devices. I can see everything else including my raspberry pi.

The box is headless but I connected up to tv temporary and did ifconfig and got the ip address. I can ssh to it and connect to minecraft server I have running on it but I would like to know why I cannot see it in the router.

View 4 Replies View Related

Debian Configuration :: Connect To Linux Using RDP From Windows 10

Dec 23, 2015

I have Debian 8 with VBoxGuestAdditions (4.3.18). I can connect to this box from Win7 using RDP (mstsc.exe). When I connect from Windows 10 using mstsc.exe I've got error code 2308. I tried NoMachine, 2XClient, RoyalTS none worked.

W10 connecting with RDP to Linux server? If I would install xrdp onto the Linux server would it work for me?

Is it possible to connect from Win10 to Linux using RDP?

View 4 Replies View Related

Ubuntu :: E: Could Not Perform Immediate Configuration On 'util-linux'

May 15, 2010

I ran into this problem myself, and I've seen that others have had the same problem when updating from Karmic to Lucid via apt-get. There is a bug in apt for Lucid, and it has been noted on one of the Ubuntu lists

This is a simple how-to and a work-around to the upgrading with apt-get:

1) Update your sources.list file to replace all instances of 'karmic" to 'lucid' : $ sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list

2) Run apt-get update: $ sudo apt-get update

3) Run a regular upgrade; $ sudo apt-get upgrade -y

Here is where the problem comes in. Apt is looking for the util-linux package, which is part of upstart-job, but someone apparenlty forgot to write the code to tell apt-about this (whoops!)

So, you now need to install upstart-job by itself. By skipping this step you will get the error message when you try to run step 5: "E: Could not perform immediate configuration on 'util-linux'.Please see man 5 apt"

4) $ sudo apt-get install upstart-job

5) Now you can run apt-get dist-upgrade: $ sudo apt-get dist-upgrade -y

View 6 Replies View Related

General :: Vim - Text Files On Linux Have "<97>" Characters?

Apr 28, 2010

When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters.What control-sequence do I need to type in order to substitute the hyphens back? For example, the following doesn't work in vim:% s/<97>/--/gTyping bracket nine seven bracket is not the same as typing the actual special character.

View 2 Replies View Related

Debian Configuration :: How To Modify Traffic Between Two Interfaces In Linux

Aug 8, 2015

I have a laptop connected to internet via wlan0. I also have eth0 interface and with it I share internet. I want to modify/filter all the traffic passing by the first laptop, something like this:

Code: Select all                    *---------------------------*
                    |        LAPTOP 1           |      *--------------* ?
                    |-----*    *------*    *----*      |              |
    INTERNET<------>|wlan0|<-->|MY_APP|<-->|eth0|<---->|ANOTHER LAPTOP|
                    |-----*    *------*    *----|      |              |
                    *---------------------------*      *--------------*

I know that in FreeBSD it is possible to use ipfw for that purpose, because it build-in into kernel. We set for example rule Code: Select allipfw add divert 2000 ip from any to 1.0.1.1

and we can use our own application to process those packets, reinject them forward etc. It will work also fast, because as I said, it build into kernel.

Is there any standart Linux-based solution to do the same? I found some info about netmap-ipfw. Is this a correct solution? Or I have to use for example IP-aliases and iptables to do that?

I need to process all the IP-packets, not only TCP/UDP/etc-protocol. Solution also must be very fast.

View 0 Replies View Related

Debian Configuration :: Rsync From Linux Server To Planet NAS

Jan 5, 2016

After hours of struggles I'm still not able to configure a simple backup from a Debian Jessie server to a Planet branded NAS.

Configuration is as follows:
NAS
user name: user
pass: user12
share name: user. Inside that directory, there is bkp directory where stuff should go. bkp was created using Dolphin.
The NAS offers smb service and is accessible through Dolphin file manager and from Windows stations.

Server also has a user named "user" and a password "1"..

Fstab looks like this:
//192.168.2.3/user /mnt/NAS cifs username=user,password=user12,iocharset=utf8 0 0

The command is: Code: Select allrsync -ahv /home/user/Desktop/ /mnt/NAS/bkp/

Errors are: Code: Select allrsync: chgrp "/mnt/NAS/bkp/." failed: Operation not permitted (1)
and
Code: Select allrsync: mkstemp "/mnt/NAS/bkp/.teszt.YEmVM3" failed: Operation not permitted (1) where teszt is a file created by me and YEmVM3 seems to be randomly generated character string.

View 0 Replies View Related

Debian Configuration :: Environment To Run Old Linux Games-template

Mar 20, 2016

I have some old linux based games and applications that require old libraries to run.But in the mists of time, I've lost the scripts on how to set up a sandbox environment to run them. Any template for that type of fiddle? I should be able to resource libraries contemporary to the games from my collection of old distros, but my web fu on this matter(jargon) is cracked. It would have to be easier that continually trying to fiddle the MS OS version to run under Wine/PlayOnLinux. I've got Myst II, Civilisation CTP and Railway Tycoon II, although I think the last app I ran was Word Perfect 8.

View 3 Replies View Related

Server :: Cluster Configuration On Two Node In Linux 5.3_64 Bit?

Mar 10, 2010

Newly trying cluster configuration setup on RHEL5.3_64 bit machine.Basic Requirement :Need to Configuration GFS file systemHerewith I have shared details:

System : > I have 2 HP proliant Dl385 server.
> Both system are connecting on Public network. (eth0)
> I have connected eth1 - directly each other system like a Private Network (May be I am

[code]...

View 1 Replies View Related

Debian Configuration :: Linux Encryption On Dual Boot Windows

Sep 3, 2015

I've a Lenovo G50-80T with W8.1. I want to install Debian 8.1 in dualbooting mode. I've done this other times without problems. But this time I want encrypt the Linux partition (not the Windows partition). I'll use dm-crypt to do that. I want to know if this way is secure for protect the data on Linux partition or if I need encrypt the entire drive.

View 3 Replies View Related

Debian Configuration :: Changing Linux I / O Scheduler For VMware Guest

Mar 22, 2016

Following VMware recommendations on how to change linux I/O scheduler for guests, I'm trying to do it on my VM machine running Debian Wheezy. At the moment I'm running kernel backports:

Code: Select all$ uname -a
Linux brutus2 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3~bpo70+1 (2016-01-19) x86_64 GNU/Linux

The default I/O scheduler at the moment for device /dev/sda is CFQ, and I can change it on the fly to NOOP:

Code: Select all$ cat /sys/block/sda/queue/scheduler
noop deadline [cfq]
$ echo noop > /sys/block/sda/queue/scheduler
$ cat /sys/block/sda/queue/scheduler
[noop] deadline cfq

[CODE]..

View 1 Replies View Related

General :: Where Did Configuration Files Go?

Aug 18, 2010

I have been using Fedora Core 6 off and on for awhile.I could not update it so I downloaded and installed Fedora core 13. A lot of things seem to be missing compared to the earlier package: I cannot get a response to "Detect Monitor" and I do not have any choices with better screen resolution than 800 x 600. The file /etc/X11/xorg.conf does not exist. I have used this in the past to control the resolution although I have generally used the gui stuff to accomplish all the tasks up to this time.

I also do not find a "services" menu item where I can get ssh and web server working.I suspect I need to download some more software to get all this stuff working again but I do not know which packages I need. I am not an expert on Linux and am trying to learn it. On the older version of fedora I had these things working well.

View 3 Replies View Related

Debian Installation :: Can't Get Linux To Work On EFI

Dec 27, 2015

I have problems installing and even running the live cd on a laptop with UEFI. I've tried various distributions and versions, change the UEFI to the legacy and messed with the windows settings, it did not work.

Debian 7.9:
UEFI: Distorted picture, try to run the installation failed - black screen
Legacy: Background looked OK but the same problem with installation program - black screen.

Debian 8:
UEFI: Background picture looked ok but I had the same problem with black screen
Legacy: same as up.

Ubuntu 12:
UEFI: Don't even see cd as bootable media.
Legacy: Grub runs ok but have black screen when trying to run live cd.

Ubuntu 14:
UEFI: Grub seems ok but have black screen when running live cd.
Legacy: same as up.

URL....I have exackly the same laptop - bought in that shop.I can be problem with graphic card. Intel HD graphics 5500

View 7 Replies View Related

General :: Cgi Doesn't Work With New Apache Site Configuration

Mar 24, 2010

I installed apache on my local machine to test websites. I have one problem: I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.) Here is the content of the site configuration file:

Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/site1/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
[Code]...

View 1 Replies View Related







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