Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,165,000 members, 7,859,581 topics. Date: Thursday, 13 June 2024 at 03:07 PM

5 Linux Commands For Beginner Programmers. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / 5 Linux Commands For Beginner Programmers. (260 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)

Mobile App UI Designer Needed / Music Platform / Get Affordable Bitcoin Broker PHP Website, Online Banking, Courier With Tracking

(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. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.