| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| setnks | 2011-04-17 | ||
| setnks-1.tgz | 2011-04-17 | 1.2 kB | |
| README | 2011-04-17 | 666 Bytes | |
| Totals: 3 Items | 1.8 kB | 0 |
-> To set tag for a directory
1) Go to that directoy
cd /var/tmp
2) setp tmp
3) Now to got to that dir from any directory
nk tmp
-> To set tag to some command
1) setc "command" tag
for example to set tag bri to ssh 10.201.1.46
setc "ssh 10.201.1.46" bri
2) now to use this command from any directory
nc bri
-> To check if tag exist for a command, or what a command tag is for
ns tag
nks:~ # ns bri
File : /root/.nks/.cbri
ssh 10.201.1.46
-> To change shell name to nks
res nks
All temp files are stored in /root/.nks directory. To move all tags to new machine just copy /root/.nks to that machine.