Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,973 members, 7,852,288 topics. Date: Thursday, 06 June 2024 at 03:19 PM

5 Linux Commands For Beginner Programmers. - Programming - Nairaland

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

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

(1) (Reply)

5 Linux Commands For Beginner Programmers. by zoomzoomzoom: 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 Like

(1) (Reply)

From A B.A In English To An Msc In Finance...toluwanimi Now Works As A Developer / Chat Application Built With MERN / Music Platform

(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.