Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to edit a file on a UNIX Server Post 302826697 by bakunin on Thursday 27th of June 2013 06:35:25 AM
Old 06-27-2013
Use "ls" to list file. Use "vi" to edit it. Attention: "vi" is quite dissimilar to any other editor, so you probably want to read a bit about how it works before you start editing your file.

If you need help for any command issue "man <cmd>" to get help. In most cases there are examples aobut the usage too. Press "CTRL-C" to end the display of the man pages.

One last thing: paths are written without spaces and are case-sensitive, so "Conf" might be "conf", but these two would be not the same:

Code:
[Ajaxplorer path]/Conf/bootstrap_repositories.php
[Ajaxplorer path]/conf/bootstrap_repositories.php

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to edit large file in unix

hi All, Plz let me know how to edit a file with 2000000 records. each record contains with 40 field seperated by |. i want modify 455487 record, but i am uable to edit this large file using vi editor in unix. plz let me know how to modify this file. Thanks in advance. -Bali Reddy (3 Replies)
Discussion started by: balireddy_77
3 Replies

2. HP-UX

Transfer file from local unix server to remote server

want to remove the thread thanks (2 Replies)
Discussion started by: indira
2 Replies

3. Shell Programming and Scripting

Transfer file from local unix server to remote server

want to remove this thread. thanks (2 Replies)
Discussion started by: indira
2 Replies

4. UNIX for Dummies Questions & Answers

To copy a file from one unix server to another unix server through scripts

I am getting the fallowing error when i am trying to execute the scp commomd in shell script warning: You have no controlling tty. Cannot read confirmation. warning: Authentication failed. Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.). scp2: warning: ssh2... (1 Reply)
Discussion started by: manit
1 Replies

5. Shell Programming and Scripting

File transfer from one server to another server in unix

Hi, Can anyone help me. I am a new user in unix. I want to transfer (ftp) a file from one unix server to another server. Kindly help me. more details: server 1 file_name a.lst path: :/temp server 2 path : /develp/temp Thanks, Raj, (2 Replies)
Discussion started by: easterraj
2 Replies

6. Shell Programming and Scripting

Perl: Sending file from UNIX server to Windows server

I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box. The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused. The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies

7. Shell Programming and Scripting

Shell: uploading file from UNIX server to sharepoint server

Is it possible to upload a file from unix server to sharepoint server through shell or perl scripting. I have the sharepoint link where it needs to be uploaded. Could you please share your views on this ? (0 Replies)
Discussion started by: scriptscript
0 Replies

8. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies

9. Shell Programming and Scripting

Update/Download file from FTP server to UNIX Server

HI Guys, I want to download files from FTP Server to my Unix server. I have tried , buy No Luck . Below Command i have tried. 1-Wget - Error "wget' not found" 2.ftp -n $HOST ...Not Working. 3.scp -i ftp://user:passowrd@hostname:21/ran/on/test.txt Any Suggestion (2 Replies)
Discussion started by: pareshkp
2 Replies

10. Solaris

I can't edit a txt file shared from Window server to Solaris

Hello, I'm working with Solaris and I need to share files between Windows Server 2012 and Solaris through an authentication with an Active Directory user, where Windows Server is the "main server". All was going good, until after see the WS files and I tried to open one and modify it, but I cannot... (1 Reply)
Discussion started by: QeratD0
1 Replies
DACS_VFS(8)						     DACS Web Services Manual						       DACS_VFS(8)

NAME
dacs_vfs - access objects through the DACS virtual filestore SYNOPSIS
dacs_vfs [dacsoptions[1]] DESCRIPTION
This program is part of the DACS suite. The dacs_vfs web service is an interface to the DACS virtual filestore. It provides a way to examine, change, and delete items independently of how and where they are stored. This program is also available as a DACS utility, dacsvfs(1)[2]. Security Only the DACS administrator should be able to successfully run this program; therefore, access to it is totally denied by the default rules as a security precaution. OPTIONS
Web Service Arguments In addition to the standard CGI arguments[3], dacs_vfs requires the following CGI arguments: ITEM_TYPE This is the DACS item type, as configured in dacs.conf (dacs.conf(5)[4]), to which the request is to be applied. As a special case, if the value of this argument is the word "enabled", a list of enabled storage methods is displayed. REQUEST The value of this argument is the name of an operation followed by zero or more arguments. The syntax is identical to that of dacsvfs(1)[2], except that the edit, update, and help operations are unavailable. For the put operation, the value to store is taken from the VALUE argument. VALUE The object to use for the put and load operations. FIELD_SEP The field separator character to use for the load and dump operations. EXAMPLES
The following examples assume that the web service requests are granted. This request will return the revocation list: https://example.com/cgi-bin/dacs/dacs_vfs?REQUEST=get&ITEM_TYPE=revocations Assuming the jurisdiction is configured appropriately, the following request will return the roles associated with DEMO::EXAMPLE:jones: https://demo.example.com/cgi-bin/dacs/dacs_vfs?REQUEST=get+jones&ITEM_TYPE=roles If the jurisdiction is configured with the directives: LOG_FILE "${Conf::DACS_HOME}/logs/dacs_log-" . strftime("%d-%b-%y") VFS "[logfile]dacs-fs:${Conf::DACS_HOME}/logs/dacs_log-" . strftime("%d-%b-%y") then the following request will return the contents of the jurisdiction's DACS log file: https://demo.example.com/cgi-bin/dacs/dacs_vfs?REQUEST=get&ITEM_TYPE=logfile Security The logfile item type is not something predefined by DACS; new (not predefined) item types can be created at will and that is what was done for this example. Since logfiles can potentially include sensitive information, as can other resources used by DACS, it should be obvious why access to this web service should be very carefully managed. DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. If an error occurs during processing, this web service will return an HTTP Status of 400, followed by a blank line which is optionally followed by a descriptive error message. BUGS
Only the text/plain output format is implemented. SEE ALSO
dacsvfs(1)[2], dacs.conf(5)[5] AUTHOR
Distributed Systems Software (www.dss.ca[6]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[7] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. dacsvfs(1) http://dacs.dss.ca/man/dacsvfs.1.html 3. standard CGI arguments http://dacs.dss.ca/man/dacs.services.8.html#standard_cgi_args 4. dacs.conf(5) http://dacs.dss.ca/man/dacs.conf.5.html#VFS 5. dacs.conf(5) http://dacs.dss.ca/man/dacs.conf.5.html 6. www.dss.ca http://www.dss.ca 7. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS_VFS(8)
All times are GMT -4. The time now is 02:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy