₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,768 members, 8,432,528 topics. Date: Tuesday, 23 June 2026 at 08:27 PM

Toggle theme

5 Linux Commands For Beginner Programmers. - Programming - Nairaland

Nairaland ForumScience/TechnologyProgramming5 Linux Commands For Beginner Programmers. (368 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 BeginnerKali Linux Commands234

Markdown TutorialSetup Your NFT MarketplaceGuy Please What Should I Do