1

I've done some Googling and searched on askubuntu and haven't found my answer yet. I'd like to make some minor edits to the tsql man pages on my system only, to clarify things. I've found the man page path with man -w tsql. How do I edit them?

Thank you.

  • Ubuntu 14.04.1 LTS
Maythux
  • 87,123
Bulrush
  • 802

2 Answers2

1

You can do this easily using vim or gedit.

As vim and gedit can edit the zipped files, you can do :

vim "$(man -w tsql)"
gedit "$(man -w tsql)"

$() is the shell command substitution pattern, which will be replaced by the output of man -w tsql. So if the output of man -w tsql is /usr/share/man/man1/tsql, the above commands are equivalent to :

vim /usr/share/man/man1/tsql
gedit /usr/share/man/man1/tsql
heemayl
  • 93,925
0

you can use an application named gmanedit.

Install it:

sudo apt-get install gmanedit

enter image description here

And now you can open the man page of tsql. Normally the man pages are located under /usr/share/man/ directory.

locate the tsql man page then you can edit with the application above

Maythux
  • 87,123