10-16-2007
copy" the nano executable to other location ? like "cp /path/to/nano /the-new/path/nano" && chown user:group /the-new/path/nano.
"ln -s" , i.e. symlink them ? I'm not aware of the way tcsh works, but EDITOR may not be accepted, why not add the nano path in your $PATH ?
6 More Discussions You Might Find Interesting
1. Linux
Dear all
I have problem in installing microwindows.
What I did
1.I have microwindows-0.90 in home/SHIVA
2.cd microwindows-0.90/src
3.cp configs config
4.make clean; make
5. make
6.now it is giving error :-
winevent.c:18: error: static declaration of ‘abs' follows non-static declaration... (0 Replies)
Discussion started by: mishra_sk_in
0 Replies
2. HP-UX
How to isntall nano on HP UX?
Thanks:eek: (1 Reply)
Discussion started by: ldaliosmane
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am working on a project to develop an embedded device that can transfer files between two usb devices ( pen drives). We are using an NUC950A ARM9 microcontroller and we've put the Linux 2.1 kernel on the development board and it works. Can i use nano -x to design my own GUI so that i can run... (3 Replies)
Discussion started by: dilumcc
3 Replies
4. UNIX for Dummies Questions & Answers
Can nano have two files open at once?
Thanks in advance! (2 Replies)
Discussion started by: theKbStockpiler
2 Replies
5. Shell Programming and Scripting
I need to switch files in a directory using Nano thinking i have all the files in the same directory? how would i go about doing that ? (2 Replies)
Discussion started by: JuankyKong
2 Replies
6. Shell Programming and Scripting
So I am trying to write 3 different scripts using nano. Having some trouble with each.
The first one is prompting for the person's information, and I would like to store that information in a new text file. I have most of it complete. The only problem I have here is that I do not know the code... (2 Replies)
Discussion started by: tburns517
2 Replies
LEARN ABOUT SUNOS
switch_root
SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)
NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS
-h, --help
Display help text and exit.
-V, --version
Display version information and exit.
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO
chroot(2), init(8), mkinitrd(8), mount(8)
AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)