₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,685 members, 8,518,915 topics. Date: Sunday, 15 November 2026 at 07:57 AM

Toggle theme

5 Linux Commands For Beginner Programmers. - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › 5 Linux Commands For Beginner Programmers. (384 Views)

1 Reply

5 Linux Commands For Beginner Programmers. by zoomzoomzoom(op): 9:19pm On Jan 22, 2022
[img][/img]
Learning programming is hard, most especially in this country, with continued interruted power supply.
Nevertheless, for those with an action plan, learning programming can be achieved, if you learn the basics.

Below are 5 basic, linux commands, for beginners:

1. ls command.

The first command, a new bie programmer, should learn is the ls command, to help you list directories, on the server.
Examples:

To list all directories of server, use the following.
ls /


2. Sudo Command

The root account of a linux server can be hacked. As such, sudo accounts, are created, to do the same thing, a root account, can do, but to achieve this, you need to append sudo, to every command, you enter into the terminal.

Example: Instead of using poweroff, you use sudo poweroff.

3. nano Command

Nano command is used to open a directory to edit or add files to that directory.

Example to open a directory of your server ( /var/html)

nano /var/html

4. apt Command

apt Command is used to update or upgrade files in a linux terminal.

Examples of apt command;

apt update
sudo apt update

apt-get upgrade
sudo apt-get upgrate

apt upgrade
sudo apt upgrade.

5. mv Command
move command is used to move files in a linux terminal.

Example;
mv /var/html

You can practice with 200+ Linux Commands

https://www.yesterblog.com/linux-commands/

1 Reply

Beginner Programmers! • Please I Need Python Tutorial Pdf For Beginner • Kali Linux Commands • 2 • 3 • 4

Angular And Flutter Developer Urgently Needed • Php Programmers • Online Money Transfer App