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:
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
dpkg::conf
Dpkg::Conf(3) libdpkg-perl Dpkg::Conf(3)NAME
Dpkg::Conf - parse dpkg configuration files
DESCRIPTION
The Dpkg::Conf object can be used to read options from a configuration file. It can exports an array that can then be parsed exactly like
@ARGV.
FUNCTIONS
my $conf = Dpkg::Conf->new(%opts)
Create a new Dpkg::Conf object. Some options can be set through %opts: if allow_short evaluates to true (it defaults to false), then
short options are allowed in the configuration file, they should be prepended with a single dash.
@$conf
@options = $conf->get_options()
Returns the list of options that can be parsed like @ARGV.
$conf->load($file)
Read options from a file. Return the number of options parsed.
$conf->parse($fh)
Parse options from a file handle. Return the number of options parsed.
$conf->filter(remove => $rmfunc)
$conf->filter(keep => $keepfunc)
Filter the list of options, either removing or keeping all those that return true when &$rmfunc($option) or &keepfunc($option) is
called.
$string = $conf->output($fh)
Write the options in the given filehandle (if defined) and return a string representation of the content (that would be) written.
"$conf"
Return a string representation of the content.
$conf->save($file)
Save the options in a file.
AUTHOR
Raphael Hertzog <hertzog@debian.org>.
1.16.15 2014-06-05 Dpkg::Conf(3)