Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,011,888 members, 7,362,716 topics. Date: Saturday, 25 March 2023 at 08:46 AM

5 Linux Commands For Beginner Programmers. - Programming - Nairaland

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

Beginner Programmers! / Best Programming Language To Learn This 2021: The Beginner's Guide / Kali Linux Commands (2) (3) (4)

(1) (Reply)

5 Linux Commands For Beginner Programmers. by zoomzoomzoom: 9:19pm On Jan 22, 2022
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.

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.

mv /var/html

You can practice with 200+ Linux Commands


1 Like

(1) (Reply)

Luxury Wedding Gown / Experienced Angular 2+ Developer / Ultimate Guide On Base64 Encoding Method In Javascript

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2023 Oluwaseun Osewa. All rights reserved. See How To Advertise. 21
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.