2

I am trying to understand Ubuntu more and I want to know more commands. Can anyone give me a list of everyday use ones? I would be super happy to learn anything else about Ubuntu too! Thanks!

Radu Rădeanu
  • 169,590
Thomas
  • 77
  • 3
  • 7

2 Answers2

6

Using the following command in terminal:

info 2>/dev/null | grep --color=none "* [a-z]" | sort | less

you will get list of most useful commands. If you find one command interesting from that list, then you can use:

man command

or

info command

to get more information about that command.

See also this answer.

Radu Rădeanu
  • 169,590
4

Welcome to the Gnu/Linux world!

These are only a few commands that I use often:

  • nautilus → open a file browser;

  • gksu nautilus → open a file browser with root or admin privileges (very useful);

  • free -m → shows how much free ram is left to be used (-m for MB - Mega Bytes);

  • df -h → shows a lot of info about partitions and available space (-h - human readable);

  • chown -R nameofuser:nameofuser /foldername or filename → change owner and group for name of user of the file or folders/subfolders indicated (very useful with permissions problems messages);

  • sudo shutdown now → shutdown system;

  • sudo shutdown -h +90 → shutdown system in 90 minutess, or number of minutes you choose;

  • Ctrl + C → these key combination will cancel last or actual running command; Ctrl + L → will clear/clean your command-line;

  • cp /filename /location → will copy the file to the indicated location;

  • cp -R /foldername /location → will copy the folder and subfolders to the indicated location;

  • mv /filename /location → will move a file to a desired location, use -R for folders;

  • ifconfig → shows you network info;

  • dhclient → ask for an IP to any DHCP server available in the network;

  • nano /location/nameoffile → enable you edit files (very useful for modifying config files)

These are just some by now. Practice with them and you will feel more confident with Ubuntu or any Linux distro!

Google a bit and you will get a lot more!

Greetings from Venezuela! Good luck and don't give up to Gnu/Linux!

Seth
  • 58,122
GnuLegax
  • 41
  • 1