General :: Open The Ftpusers File Through Vi Editor In HP-UX?
Aug 25, 2010when I try to open the ftpusers file through vi editor in HP-UX, I am reciving the below error :
# vi ftpusers
"/var/tmp" No such file or directory
when I try to open the ftpusers file through vi editor in HP-UX, I am reciving the below error :
# vi ftpusers
"/var/tmp" No such file or directory
I'm running Linux lnx3-228 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
red hat linux.
When I try to install ctags for vim editor, it gives me the following error. error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory
When I look into the /usr/lib folder, the file is naturally missing. I have this file.
When I tried to rename the soft link to libldap.so.2 it gave me a segmentation fault.
Where do I install the packages from ?
while i am reading the CIS guide for RHEL, i came across this section, which is on "Create ftpusers Files".
The code:
if [ -f /etc/ftpaccess ]; then
for NAME in `cut -d: -f1 /etc/passwd`; do
if [ `id -u $NAME` -lt 500 ]; then
echo $NAME >> /etc/ftpusers
[Code]....
How do I save a file edited with the VI editor? How do I get help information on this program?
View 1 Replies View RelatedI have a file of 200 pages. I want to move my cursor page wise. Suppose I want to move my cursor from last page of the file to up three pages.Is there any command to do it or I use "k" to move up?
View 3 Replies View RelatedOn this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.
Code:
[root@localhost ~]# cat ~/.vimrc
syntax on
[code]....
How default editor can be changed in redhat linux to different editor.
View 4 Replies View RelatedDoes any one know how can i input text by reading from a named pipe to any popular GUI based text editor?
View 5 Replies View RelatedI am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like
cat "text to add" >> huge_file
To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?
I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.
I've got folder /srv/www/site1 that's owned by www-data:www-data (Apache). Now I need to give FTPuser1:ftpusers r/w access to the same folder, but all my attempts are gone bad. How should I exactly do it?
View 1 Replies View RelatedNetbeans 6.8 Ubuntu 10.04: I add php to netbeans and when I type $ gksu netbeans its open netbeans without php editor. Only when I type $ sudo netbeans its open it properly
View 1 Replies View RelatedI sometimes have two similar files that one works and one doesn't. I would like to compare the differences. But TEXT EDITOR opens two files in two tabs making it impossible to compare the data side by side.
Is there a way to make Text editor open a separate window for each file? Browsers usually have such an option to choose multiple windows or tabs but I can't find away to do this with Text editor.
I installed it using the ppa instructions here [URL] The terminal says this when I try to run the program:
tshipp@Harold:~$ openshot
--------------------------------
OpenShot (version 1.1.2)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
[code]....
Looking for a Open Source music composition editor similar to Sibelius. I found and settled on Rosegarden. Sound card is Creative Audigy 2 Platinum EX. I also have a midi keyboard which I would like to use with rosegarden. After downloading rosegarden, I found out in order to use the MIDI sequencer, I have to compile and install a real time kernel.
I finally got my kernel configured and installed, recompiled all the video/Ethernet drivers etc (after about a dozen tries ) Now on to the issue... As root, I can run the JACK audio server with realtime priority (as it is needed by Rosegarden) with the command
jackd -R -dalsa &
it starts up and seems to run. Then as a regular user, I try to connect to the JACK audio server using the qjackctl application. Qjackctl loads, but cannot seem to connect to the jack server, giving me the message "UNABLE TO CONNECT TO SERVER AS CLIENT"
HOWEVER, using the same procedure above as root, I can connect to the jack audio server with qjackctl. Rosegarden will start as a regular user but will also not connect to the JACK audio server (therefore: no sound or midi sequencer) Ive tried running Rosegarden as root (I didnt like having to do that), but get a similar error.
Through some googling, I�ve found that JACK clients (qjackctl, rosegarden etc.) must be executed by the same user who launched the JACK server. -- no problem...Except I cannot run a realtime application as a regular user. I read online that regular users can start realtime applications using the LSM module (whatever that is, I couldn�t find all that much).
how do I start the jack audio server in realtime mode as a regular user? if that is not possible...Is there a way to configure JACK so that it is started by root, but allows clients launched by regular users to connect?
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies View RelatedI'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
How can I check and set who can view or open a given folder or file?
View 1 Replies View RelatedI am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
View 1 Replies View RelatedI'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
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]....
how to verify if the file is binary or text without to open the file
View 2 Replies View RelatedI am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.
View 1 Replies View RelatedI have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which errors liketar: Django-1.2.1/tests/urls.py: Cannot open: No such file or directoryshows up for the rest of the files, finally ending up with atar: Error exit delayed from previous errorsI use the commandtar xzvf Django-1.2.1.tar.gzI've also tried with sudo (but I'm extracting in my home directory, which I should obviusly have permissions to use without). I've tried gunzipping first (runs flawlessly) and then running tar xvf, but to no avail. I've fetched the file using wget:
View 1 Replies View RelatedI need to goto a folder, open a script file (same file every time). The file has different function calls, I need to comment all other function calls and just un-comment the one I want to use.
#call_1
call_2
#call_3
[code]....
On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies View RelatedAfter installing skype from rpm I wanted to add a skype repo for future updates. As root I did 'touch skype.repo' and tried to open by 'kwrite skype.repo' but get the undermentioned error. As a user I can open the empty file with the command 'kwrite skype repo' but cannot save it as I am informed that I only have read access.
Code:
[root@localhost yum.repos.d]# kwrite skype.repo
kwrite(2391): Session bus not found
[code]...
I'm trying to use this guide:
http://ubuntuforums.org/showpost.php?p=3276774
but i can't seem to find or to download AssoGiate so i need something eles to create mime.
do you know of a movie editor for the file type .ogv?
View 1 Replies View RelatedGif files display their length at the start of the file, and zip files have a table with the locations of the files at the end of the file. By combining the two it's possible to create a gif file which, when opened in an archive manager, contains hidden files. How would I go about doing this? Do I have to learn the zip standard and manually graft the files together in a hex editor?
Code:
cat input.jpg input.zip > output.jpg
The zip table must show the file location as an offset to the central directory.
I am having trouble getting a certain program to work. It's called Magic Set Editor and it has a linux version. It seems to install fine, but when I press the link to run the program it always says there is no file type associated with this program. Here is the site to download it: [URL]. I've tried the full and reduced versions, and I tried building it from source, which I have no idea how to do. I am using Fedora 10. Also, I've gone to their linux guy and he tried to help, but has never used Fedora, and so nothing he said worked.
View 5 Replies View Related