CentOS 5 :: How To Edit Php File
Nov 3, 2009
I have installed Centos on my pc. Then I installed Emacs for text editing. when I brows on www folder and try to open a php file it opens but I don't have permission to edit the filehow can I open a file with Emacs with edit permission?
View 2 Replies
ADVERTISEMENT
Mar 3, 2011
I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?
View 7 Replies
View Related
Apr 20, 2010
I am having a lil headache with it.
Some time ego i edited my /etc/bashrc file to add some aliases and colours for my ssh console.
Today i had a need to change few thing but for some reason i can't edit or delete this file any more.
I am logged as root.
rm bashrc
cannot remove, operation not permitted
chown and/or chmod fails as well with "not permitted" errors.
ls -Al | grep bashrc
-rw-r--r-- 1 root root 2514 mar 31 13:05 bashrc
Any ideas what's going on?
View 2 Replies
View Related
Jul 24, 2009
I dont have permisions to edit plain text file.
When I run:
View 2 Replies
View Related
Mar 31, 2011
I'm having a problem where I'm unable to delete a file, even as root. Any attempts to remove or otherwise modify the file result in 'Operation not permitted'.
# rm d91c6a6e_2a2d7_out.xml
rm: remove regular file `d91c6a6e_2a2d7_out.xml'? y
rm: cannot remove `d91c6a6e_2a2d7_out.xml': Operation not permitted
View 3 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Jan 4, 2011
i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.
View 2 Replies
View Related
Jan 23, 2011
Can not edit domain.xml? I use virsh edit domain, change is finished, save and exit, use wq!. But the value of the recovery back I am use centos 5.5, libvirt 0.8.2, qemu 0.9.1. KVMI just want to change the guest system inside the Qemu Virtual CPU to the physical cpu information
View 4 Replies
View Related
May 24, 2010
i am trying to use CentOS as well. I know many things are same. But i am getting stuck at one place where I am trying to enable support of JFS during installation at the boot option like we can do in FC.But i am unable to edit boot option. For my fedora system i used to do it in this way.The first installation screen is showing me options those i can edit by pressing Tab and then i can edit the line where i add 'jfs' and it starts appearing in the drop down menu of filesystem during setting up partitions on hard disk.
given same in kernel parameter by pressing f4 but jfs does not appear in the drop down menu during partitioning of disk.
View 1 Replies
View Related
May 13, 2010
I need to edit my xorg.conf file. I can navigate to it in Terminal but do not know how to open it. If I navigate to it outside of terminal I can change it but cannot save the changes (not allowed) I can't seem to find a "how to" for this. (Debian 504 on a Toshiba laptop)
View 3 Replies
View Related
May 7, 2010
I am trying to edit a C++ source file, but gedit wont allow me to save changes to it. Gedit says:
Code:
A file with the same name already exists. Please use a different name.
Right. Of course the file exists, I am trying to edit an existing file.
About the same happens with kate... Kate opens the file in read-only mode.
However, if I edit the same file with nano, editing and saving works. So the problem shouldn't be with access rights. Also "ls" shows rw rights to the file.
What could be the problem? I can use nano, but I would need the syntax highlightind, and other features of a better editor.
And whether I use sudo or not has no effect. The same happens with or without sudo, and I am the owner of the file.
PS. luckily I am still dual booting with Hardy. I can always go back.
Oh and this is a new installation of ubuntu 10.04
View 2 Replies
View Related
Jul 8, 2010
What linux software is available that allows you to edit a PDF file?
View 8 Replies
View Related
Sep 4, 2010
I need to change one word in over a thousand pages of HTML. I think sed is the only way to do this, but I've never used sed before.
After reading the documentation, I see that it is pretty easy to alter files to standard output, in other words, the screen.
But I don't want to do just alter text to the screen, I want to alter the original file, else I am not doing any Stream EDiting as near as I can tell.
None of the documentation explains how to take a file, apply sed to alter that file. How do you do this?
Code:
[myuser@myhost dir]#sed s/changethis/tothis/ /mydir/myfile
How do I apply sed to actually make the changes to myfile?
View 3 Replies
View Related
Jan 12, 2011
I'd like to use NetworkManager on a freshly installed CenntOS 5 on laptop Lenovo ThinkPad T61p. I followed: [URL] Everything went OK, until I selected my active LAN connection in "Edit Connections". After clicking on "Edit", it's not possible to change anything - all is grayed-out. I'm guessing it's a permission problem. But I don't know the internal structure of NetworkManager and what files to look at. I was also expecting that after stopping the network service "Syetem->Admin->Network" would be inactive, but it isn't. Shouldn't the old network manager be uninstalled as well?
View 18 Replies
View Related
Apr 2, 2011
I logged on, opened the terminal an logged on as su no problem Could not open the document I wanted to edit. I am trying to switch from USB 0 to USB 1 so I can listen to my Bose Speakers used to be Windows tech. Many years ago.
How do I open the file edit the file save the file. can I log on as admin and use text editor.
View 4 Replies
View Related
May 1, 2010
How to edit a ISO 9660 file? I have one which I created using livecd-creator. Now I want to edit some of the files in it and save the changes. I have searched the guides and solutions for something and perhaps I overlooked it but I did not find anything.
View 5 Replies
View Related
Jun 22, 2010
I need a way to edit a pdf as ether a .odt or .doc file and I read that I should be able to do that using Kword so i installed kword. However, when I try to open or import a .pdf there not listed at all. When I looked in the file format filter drop down menu I don't see PDF. I look in synaptic for any additional packages I might need and I didn't find anything that helped. I also did find and useful documentation on the koffice website.
View 1 Replies
View Related
Jul 5, 2010
i log in and went to the policy folder to erase the file prefernces.fdi and it would not let me delete this file /move it to the trash or even edit it it said something like you are not the owner ,so i could not change the permissions to overwrite this file.what should i do i just want to be able to change this file to true so it will see my internal sc dar reader right now when i put in a sd card it does not show up.i also tried changing this in the terminal there was a post on one blog that showed how ,but i was having trouble edit the xml file in the terminal so for me it would be easier to just overwrite the prefernces.fdi file since im a beginner.
View 3 Replies
View Related
Aug 22, 2010
i have to edit grub etc/default file but when i open it, it is a read only file (i have to put "i915.modeset=1" in it ) i think i need to do it through the terminal
View 4 Replies
View Related
Oct 4, 2010
Since I updated my 10.04 LTS program from 2.6.32-24 to 2.6.32-25, both of these show up at the dual boot start up menu. Back when I had 8.04 LTS, I was able to edit my menu.lst file to delete past versions. How do I remove past versions from the grub.cfg file at present?
View 9 Replies
View Related
Feb 20, 2011
I hate ubuntu because EVERYTHING i need a permission. How can i edit an stupid file? Said i have no permission. **** IM THE ADMINISTRATOR, HOW CAN I HAVE TOTAL CONTROL ON MY COMPUTER -.-' ?
View 9 Replies
View Related
May 16, 2011
I want to create a group called scripts, add www-data to that group. I then want to edit the sudoers file and tell it that the script group doesn't need a password. Where should I put this line excatly in the sudoers file?
View 2 Replies
View Related
May 4, 2011
I want to know how to edit a simple text file of 5 pages without open it on cui or gui. i want to replace some of its content like name and value with other for further use.
View 1 Replies
View Related
Apr 27, 2011
I need to have regular user run this command sync; echo 3 > /proc/sys/vm/drop_caches
but it requires root privileges that I cannot give.
So I figured they could run the command as "sudo". I looked in /etc/sudoers and wasn't sure what I needed to edit for the users to run the following command
sync; echo 3 > /proc/sys/vm/drop_caches
View 14 Replies
View Related
Mar 25, 2010
The default setting of linux is run level 5 (Red Hat 9) I want to use my system in Runlevel 1. For that purpose i 1st check the permission which were
-rw-r--r--
I want to edit the File " vim /etc/inittab " in the terminal . which line should i edit so I may use it in a single mode.
2-The second thing i want to ask that before editing any important file which are /etc like "inittab" can i 1st make it's copy and keep it in my home directoty so,in case of any mistake I can get my original file?
View 2 Replies
View Related
May 2, 2011
I installed 3 OS in my computer, first Windows xp, second Ubuntu 10.10 up to here I could go in to each one of them, but I installed Fedora 14 x64 after Ubuntu. Now I can only go to Fedora and XP, but I am not able to even see Ubuntu only in the shell, it is not in my boot options.
View 2 Replies
View Related
Jun 11, 2009
When I setup the server I added multiple ips. Now that I need to edit ip info I can't find any alias files in the network-scripts folder. But restarting server the ips work fine. Is there some where else that this would be stored.
View 2 Replies
View Related
Jun 16, 2010
I am trying to edit the iptables to include some ports/ip for openfire server. The problem is the computer is very locked down with permissions...I logged in as ROOT with ID 0.Now the iptables has ROOT for permission BUT ID 1 which reflects BIN.As root i cant edit or chmod/chown the iptables. Here is what i tried:
1. change password of BIN - successfully changed with no errors BUT still cant su BIN with the new password...
2. tried changing the ID of ROOT to 1 but I dont have permission to use the command....
so anything i can do here??? I dont have permission with Shadow either...
View 3 Replies
View Related
Nov 24, 2009
So a few minutes ago, i was messing around with the system, installing some programs, doing updates, etc... Did a reboot because i was messing around with stuff and just wanted to see something, and when i logged back in, the file/edit toolbar doesnt show in any program EXCEPT for firefox. What the hell could this be? I tried everything already.
fedora 11 - 2.6.30.9-96, using gnome
View 10 Replies
View Related
Jan 17, 2011
My sample rates are out of whack and I need to edit the daemon.conf file.
However if I use
Code:
It will open the file but will not let me edit at all. If I just navigate to it I can edit it, but I can not save it!
I tried going in as root from the terminal and using the code above and I get a weird error.
Something like:
Then it says core dump.
Am I missing something to be able to edit the daemon.conf ?
View 2 Replies
View Related