[arm-allstar] Line Numbers SSH

Luc Drolet VE2LUQ ldrolet at cgocable.ca
Sun Feb 18 03:27:10 EST 2024


Hi David,

I just did this,
"cat ./etc/asterisk/rpt.conf -n"
and I have line numbers now

see picture

but I have to say that “cat” I don’t know what it means!!




Luc Drolet VE2 LUQ
Président de VE2CVA
C.R.A.V.A.
Club Radio Amateur Vallée de l'Amiante
VE2 CVA
ve2cva at gmail.com
ldrolet at cgocable.ca
https://clubs.raqi.ca/ve2cva/
https://www.facebook.com/groups/ve2cva
Instagram : https://www.instagram.com/ve2cva/
Echolink =   VE2RVA-R    NODE #24560
Sécurité Civil du Québec, Node #1400








> Le 18 févr. 2024 à 03:13, David McGough <kb4fxc at inttek.net> a écrit :
> 
> 
> Try scrolling up/down with the arrow keys, PageUP, PageDown, etc.
> 
> 
> 
> On Sun, 18 Feb 2024, Luc Drolet VE2LUQ wrote:
> 
>> Hello David,
>> 
>> I just did a test and it doesn't work
>> I don't know the line numbers
>> see the 2 images
>> which I took to clearly visualize the situation
>> 
>> Thank you for your service
>> 
>> [root at NODE1006 ~]# nano -c /etc/asterisk/rpt.conf
>> 
>> 
>> 
>> 
>> 
>> 
>> Luc Drolet VE2 LUQ
>> Président de VE2CVA
>> C.R.A.V.A.
>> Club Radio Amateur Vallée de l'Amiante
>> VE2 CVA
>> ve2cva at gmail.com
>> ldrolet at cgocable.ca
>> https://clubs.raqi.ca/ve2cva/
>> https://www.facebook.com/groups/ve2cva
>> Instagram : https://www.instagram.com/ve2cva/
>> Echolink =   VE2RVA-R    NODE #24560
>> Sécurité Civil du Québec, Node #1400
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> Le 18 févr. 2024 à 02:06, David McGough <kb4fxc at inttek.net> a écrit :
>>> 
>>> 
>>> Hi,
>>> 
>>> To display the current line number the cursor is on in nano, try:
>>> 
>>> nano -c  <filename>
>>> 
>>> Note that in HamVoIP, you don't need to use the sudo command to launch 
>>> nano...At least not from the bash shell prompt.
>>> 
>>> 
>>> 
>>> 73, David K4FXC
>>> 
>>> On Sat, 17 Feb 2024, Luc Drolet VE2LUQ via ARM-allstar wrote:
>>> 
>>>> Hello everyone,
>>> 
>>> How do I get the line numbers when using "SUDO NANO"
>>> Currently I'm counting one by one, I find it a bit long!!!
>>> but i don't know how to get the line numbers
>>> 
>>> can you give me some tips
>>> 
>>> thank you and good evening
>>> 
>>> 
>>> Luc Drolet VE2 LUQ
>>> Président de VE2CVA
>>> C.R.A.V.A.
>>> Club Radio Amateur Vallée de l'Amiante
>>> VE2 CVA
>>> ve2cva at gmail.com
>>> ldrolet at cgocable.ca
>>> https://clubs.raqi.ca/ve2cva/
>>> https://www.facebook.com/groups/ve2cva
>>> Instagram : https://www.instagram.com/ve2cva/
>>> Echolink =   VE2RVA-R    NODE #24560
>>> Sécurité Civil du Québec, Node #1400
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> ARM-allstar mailing list
>>> ARM-allstar at hamvoip.org
>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>> 
>>> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>>> 
>> 
>> 
> 



More information about the ARM-allstar mailing list