General :: Read DIR_COLORS File From Local Instead Of In /etc/DIR_COLORS

Jul 7, 2011

After some search in internet, i know the color setting is in the

/etc/DIR_COLORS
/etc/profile.d/colorls.sh

I have read the DIR_COLORS and copy the file into my local /home/username/.

How could I make the system read my DIR_COLORS file from my local instead of in /etc/DIR_COLORS

I do not have admin access.

View 4 Replies


ADVERTISEMENT

General :: Error /usr/local/atlas Is Read Only File System

Sep 9, 2010

I have a computer in the university and I have root access to this pc. Iam trying to install Cblas library on it. But it gives me a starnge error /usr/local/atlas is read only file system. I tried doing mount -l and it gave me that appserver1:/export/d1/Linux/doe on /usr/local type nfs4 (ro,sec=.......) I think what it means that the main server directory is mounted to /usr/local and it is read only. So, how can I fix this problem to separate the two and make my /usr/local separate

View 13 Replies View Related

General :: Read A Local Man Page For Sync That Was Kept In The /usr/local/share/man?

Sep 27, 2010

What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?

View 2 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: Open Local File Error When Creating File Descriptor?

Sep 14, 2009

error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file

int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);

[code]....

View 1 Replies View Related

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

General :: Error - No Such File Or Dir. Read The 'readme' File But Cannot Configure

May 23, 2011

i'm new to linux and i am running ubuntu 11.04.i'm trying to install wine. i downloaded the binary files and extracted them. i tried running the command './configure' and got a error saying :no such file or dir. i read the 'readme' file but cannot configure.

View 3 Replies View Related

General :: How To Read From Iso File

Aug 4, 2010

Are there any linux command which lets me to read Iso file byte by byte without mounting?

View 3 Replies View Related

General :: How To Save A File In /usr/local/lib/cnet

Feb 3, 2011

How can I save a file in /usr/local/lib/cnet? I'm trying to save a GIF image in the CNET resource folder to use for a simulation. It says permission denied, and when I try to chmod the folder it gives me the error "not permitted".

View 1 Replies View Related

General :: Access File On Different Server From Local?

Nov 19, 2010

I have a file 'my_file.txt' stored on 'myserver1.col.edu' Now, I am using a different server 'myserver2.col.edu' to do some work and I want to access 'my_file.txt' on 'myserver1.col.edu' to read (possibly edit) WITHOUT physically copying the entire file across. Is there a way to do this - perhaps through ssh?

View 2 Replies View Related

General :: Transfer File From Local Mac To Remote Machine

Aug 12, 2010

How do you transfer a file from a local Mac to a remote Linux machine

View 5 Replies View Related

General :: Routes Are Not Added As Defined In Rc.local File....why?

Jan 24, 2010

I need to setup my ubuntu pc single nic card ip as 192.168.1.6 for internet and 10.172.170.95 and 135.10.86.100 for my lan and for another network through my 4port DSL modem.So i defined like this.Except addition of last two routes(10.0.0.0/8 & 200.200.176.0/24) everything worked as defined, what is the mistake i did?

In /etc/network/interfaces file

auto lo
iface lo inet loopback[code]............

View 1 Replies View Related

General :: Stop The Rc.local File To Be Loaded At Startup?

Apr 29, 2011

I was messing around with my newly installed Archlinux, in a virtual machine (thankfully not my main computer) and now I cannot boot up. The issue is, I read that I could add commands in the rc.local file so that they would be automatically executed after booting up... so, I added the "pacman -Syu" command there, but it usually asks for a confirmation to continue, and that's why I think it is getting stuck there (it gets stuck just after running the daemons).

So, is there a way to stop the rc.local file to be loaded at startup?

View 2 Replies View Related

General :: Read File And Pipe To Grep

May 26, 2011

I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.

View 2 Replies View Related

General :: Software To Read MS .xlsx File?

Aug 5, 2009

how to read MS .xlsx file on debian. I have OO running on the box but it can't read .xlsx format.

View 5 Replies View Related

General :: Make A File Read-only Even For Root?

Jun 2, 2010

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... ?

View 9 Replies View Related

General :: Read/Write Xml File Through C++ Code?

Mar 18, 2011

I am trying to write a C++ Code to read write a XML file in C++.I researched a lot and find xerces is used for that but I am not able to write the code for that.Please provide me some links on how to run a code that R/W a xml file in C++.

View 1 Replies View Related

General :: FTP Script Could Not Read From .netrc File

Oct 15, 2010

I wrote a script that basically ftp's to a remote machine to place some files in it. I also setup the .netrc file in my usernames home directory so that i dont need to specify the username and password in the script.

The script works fine if i just run it. However when i put this script in cron job, the remote server wont authenticate. Almost seems like its not getting any login details which i assume should be fed from the .netrc file. Would greatly appreciate any comments please of what im doing wrong...

View 3 Replies View Related

General :: Read A Line In A File And Use It As Argument?

Mar 20, 2010

I want to do this

read a files's specific line but return as argument only part of it ie

...

value # this is mass

value2 # this is force

so, how can I get / use the $value and $value2 as arguments for some other file and skip the rest of the line(s) ? of course, the values are different everytime, but the comment always the same, as well as the position of the lines in the file

View 4 Replies View Related

General :: How To Read File In Real Time

Jan 3, 2011

I have a log file that I would like to examine during some changes under process that writes to this log.
Is there some way to open this file and read in real time changes written to it ?

View 5 Replies View Related

General :: File System Is In Read-only Mode

Jan 19, 2011

i have used debugfs command and "open -w /dev/sda1" command, but i did not close it. the file system is in read-only mode now.

View 2 Replies View Related

General :: Read-Only Shared File From Ubuntu

Feb 3, 2010

I have encounter problem about opening a file sharing. The situation goes like this.....

1. A folder and file from ubuntu has a both permission to write,read and execute to a specific user which is i added in a group.
2. When i open a file from ubuntu to my Windows Computer i can edit and save and then close the file. But when i open it again the file and edit then save the problem goes to Read-Only I cannot save the file.
3. When I check again the folder and file permission to read, write and execute and then I can access the file again edit and save.

What are the probable cause of this problem to Windows? Ubuntu to Ubuntu there is no problem accessing and saving a file.

View 26 Replies View Related

General :: File System Which Can Be Read By MacOS X, Windows?

Mar 15, 2011

Possible Duplicate: Cross-platform file system Can you please tell me what kind of file system can be read by MacOS X, Linux and Windows? And it can create a file greater 4 GB?

View 2 Replies View Related

General :: Executing PHP File And Read Output To Program

Jun 29, 2011

I'm using Ubuntu and I'm programing with eclipse CDT. My goal is to execute a php file and read the output to my c++ program. To do so I thought I should use fork(), dup2() and execl. When in shell, the call "php myscript.php" worked just fine, but when in c++ I tried:
execl("usr/bin/php", "php", "home/geiger/workspace/SemiServer/server_content/myscript.php", NULL);
And it didn't work (the process wasn't terminated and I got no output). I tried different version of this call, like losing the "php" string and/or drop "home/geiger" from the path string, to no better result.

View 1 Replies View Related

General :: How To Read NTFS Image File In Windows

Sep 26, 2010

I just created a NTFS image file using the following steps:

After this i want to access the contents of this image file in windows. How to do that ?

View 4 Replies View Related

General :: Script To Read File And Parse Log Message

Apr 5, 2010

I am working on the script to parsing the specific message like "aaaa" in multiple log files like N1-***,N2-***,N3-***..The script is to find the list of lof files which contains the message "aaaa" and export the list into excel filE.

View 4 Replies View Related

General :: Read Values From A File (as Part Of A Script)?

Jun 10, 2011

I want to read values from a file...these are basically one word values, that is to say that the text file I want to read from contains lines of word length 1, as in:

word1
word2
word3

[code]...

View 4 Replies View Related

General :: Mounting A Read Only File System Ubuntu 10.04?

Jan 28, 2011

I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system" This is what I get when the system boots:

PHP Code:

[code]....

so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error I added notaime option to my fstab by accident so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error. I tried

PHP Code:

[code]...

and I get

PHP Code:

[code]....

How can I mount the partition so that I can edit it?

View 2 Replies View Related

General :: Bash Script - Read File Name With Two Digits?

Jun 20, 2011

I have many files with name in order of number. e.g)

u0101.asc
u0102.asc
u0103.asc

[code]...

I am trying to read file using for loop.

for ((date=01; date<=31; date++))
do
echo ${date}
done

but '01' is read(print) as '1' How can I make it read from '1' to '01'?

View 6 Replies View Related

General :: Cannot Read The Chip Data On The Buffer File

Sep 1, 2010

Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,

View 1 Replies View Related







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