Hi,
I have a file with about 60 lines of path:
app-defaults/boxXYZ.......
I want to change this to /my/path/goes/here/app-defaults/boxXYZ, but of course vi doesn't like the regualr :s/old/new/ command.
Is there any other quick way to do this?
Thanks ;) (2 Replies)
Hi all,
Hope all the expert can help me in this situation.
Let say I have one file with multiple record like below:
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE
FILE=TEST1
DIRECTORY=D:/DETAILS/1/0/test1.txt
END
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE (13 Replies)
Hi,
I am trying to connect to a remote server using Plink tool. Both my local and remote machines are Windows. On remote server, I have OpenSSH server installed. I am able to run commands on remote machine but there is some problem with long UNC path, which I noticed today.
For... (3 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
I'm trying to use Perl on Windows (Doh!) to connect to a folder on a Domain Controller via UNC.
Right now, I have
perl -e "`runas /user:DOMAIN\\Username dir \\\\SERVER\\d\$\\Path`"
This does not seem to connect nor does it prompt for password. Should I try throwing it into a script and... (0 Replies)
I am looking to parse a text file output and set variables based on what is cropped from the parsing.
Below is my script I am looking to add this feature too.
All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the... (4 Replies)
Hi all,
Using sh/csh, unfortunately shell scripts are not my strong suit.
Trying to write a script that gets called from a program for pre-processing.
The program passes individual components of a UNC (//server/path1/path2/filename).
Thus the unc path of: //server/path1/path2/filename, is... (7 Replies)
Hi All,
Need some help in parsing a directory listing .. output into 2 files
Input file
level1,/level2/level3/level4/ora001,10,IBB23
level1,/level2/level3/level4/ora001/blu1,,IBB23
level1,/level2/level3/level4/ora001/clu1,,IBB23
level1,/level2/level3/level4/ora002,,IBB24... (10 Replies)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
LEARN ABOUT DEBIAN
rnano
RNANO(1) General Commands Manual RNANO(1)NAME
rnano - Restricted mode for Nano's ANOther editor, an enhanced free Pico clone
SYNOPSIS
rnano [OPTIONS] [[+LINE,COLUMN] FILE]...
DESCRIPTION
This manual page briefly documents the rnano command.
nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than
just copying Pico's look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and
replace" and "go to line and column number".
rnano is a restricted version of nano, which only edits specific files and doesn't allow the user access to the filesystem or a command
shell.
In restricted mode, nano will not:
o read or write to any file not specified on the command line;
o read any nanorc files;
o allow suspending;
o allow a file to be appended to, prepended to, or saved under a different name;
o use backup files or spell checking.
OPTIONS
+LINE,COLUMN
Places cursor at line number LINE and column number COLUMN (at least one of which must be specified) on startup, instead of the
default of line 1, column 1.
-? Same as -h (--help).
-h (--help)
Show a summary of command line options and exit.
-V (--version)
Show the current version number and exit.
See the nano(1) manpage for the complete documentation of nano.
BUGS
Please send any comments or bug reports to nano@nano-editor.org.
The nano mailing list is available from nano-devel@gnu.org.
To subscribe, email to nano-devel-request@gnu.org with a subject of "subscribe".
HOMEPAGE
http://www.nano-editor.org/
AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details). This manual page was originally written by Thijs Kinkhorst
<thijs@kinkhorst.com>, for the Debian system (but may be used by others).
August 23, 2007 version 2.0.0 RNANO(1)