git config --get remote.origin.urlgit remote set-url --add --push origin git@<your_remote_url_here>git remote set-url --add --push origin git@| from nettools import NetworkElement | |
| with NetworkElement('171.0.2.45') as ne: | |
| for route in ne.routing_table: | |
| print "%15s -> %s" % (route.name, route.ipaddr) |
| import jnettool.tools.elements.NetworkElement | |
| import jnettool.tools.Routing | |
| import jnettool.tools.RouteInsector | |
| ne = jnettool.tools.elements.NetworkElement('171.0.2.45') | |
| try: | |
| routing_table = ne.getRoutingTable() | |
| except jnettool.tools.elements.MissingVar: | |
| logging.exception('No routing table found') |
If you've tried to edit windows files from linux, you might have encoutered the issue when trying to write to ntfs file system.
Read-only file system.
1.) First, we need to disable hibernation. Boot into your windows System. Open a cmd as Admin, and run
powercfg /h off
2.) Shutdown windows. Then boot from the linux system you wish to access the windows partition.
Run these commands to mount the windows partition.