Useful Commands - Dell N03G Installation And Operation Manual

Hide thumbs Also See for N03G:
Table of Contents

Advertisement

NOTE: Check if a newer version of the software is available. For more information on checking for updates, see
Updating operating system and

Useful commands

To access the built-in help, run the (plano)ubuntu@localhost:~$ snap --help command.
To see the system attributes, run the (plano)ubuntu@localhost:~$ snap info command.
To see a list of all the snaps that are currently installed, run the (plano)ubuntu@localhost:~$ snap list
command.
To see a list of all the snaps that you can install on the system, run the (plano)ubuntu@localhost:~$ snap
search command.
To see a list of service commands that are available, run the (plano)ubuntu@localhost:~$ snap service
help command.
To see the service status, run the (plano)ubuntu@localhost:~$ snap service status command.
Updating the system name
1.
To change the system name, make a folder Read\Write and then make changes to two files:
· /etc/hosts
· /etc/hostname
2.
Make a backup of the file names.
(plano)ubuntu@localhost:~$ sudo cp /etc/hosts /etc/hosts.old
(plano)ubuntu@localhost:~$ sudo cp /etc/hostname /etc/hostname.old
3.
Edit the hosts file.
(plano)ubuntu@localhost:~$ sudo vi /etc/hosts
For example;
127.0.0.1
localhost.localdomain localhost
127.0.1.1
<newname>.localdomain <newname>
4.
Edit the hostname file.
(plano)ubuntu@localhost:~$ sudo vi /etc/hostname
5.
Reboot the system to allow the changes to take effect.
(plano)ubuntu@localhost:~$ sudo shutdown –r 0
Changing the time zone
When the system arrives from the factory the OS will usually be set to UTC time zone. To change the time zone to your
location you will need to run the command:
(plano)ubuntu@localhost:~$ sudo mount –o remount,r/
(plano)ubuntu@localhost:~$ sudo dpkg-reconfigure tzdata
Follow the menus the program provides to select the correct time zone. After you have set the time zone you will need to
reboot the computer.
NOTE: Ubuntu Snappy runs a time sync daemon. Changing the time will require a special utility to change the time.
On the desktop version of the Ubuntu OS, read the man file for the utility timedatectl. This man file explains
how to change the time manually.
Enabling console login via serial
To enable console login via serial (ttyS6) you will need to edit the /boot/grub/grub.cfg file, save your changes, and reboot
the gateway.
(plano)ubuntu@localhost:~$ sudo vi /boot/grub/grub.d
48
applications.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Edge gateway 3002

Table of Contents