Soluții

How to Deal With Spaces in Filenames on Linux

If you have a filename with spaces on a Linux system, wrapping your filename in quote marks lets Bash treat it correctly. Tab completion makes entering filenames on the command line easy, even if they contain spaces.

Like most operating systems, Linux supports filenames with spaces in them. But using these filenames on the command line isn’t always straightforward. Here are several ways you can handle filenames containing spaces.

[mai mult...]

How to Delete Files and Directories in the Linux Terminal

Type “rm (filename)” in the Terminal to remove a file on Linux. To remove an entire folder (or directory) and all of its contents, type “rm -r (foldername)” into the Terminal instead.

The rm and  rmdir commands delete files and directories on Linux, macOS, and other Unix-like operating systems. They’re similar to the del and  deltree commands in Windows and DOS. These commands are very powerful and have quite a few options. It is important to note that files and directories deleted using rm and rmdir do not get moved to the Trash. They are immediately removed from your computer. If you accidentally delete files using these commands, the only way you’ll be able to restore them is from a backup.

[mai mult...]

Cum instalam LAMP Stack pe CentOS 8

LAMP este un acronim pentru Linux, Apache, MySQL și PHP. Este o stivă gratuită și open source utilizată de dezvoltatori și administratorii de site-uri web pentru a testa și găzdui aplicațiile lor web.

Vine cu 4 componente care sunt Apache (folosit pentru găzduirea unui site web), MySQL sau MariaDB și PHP – un limbaj de scripting popular folosit pentru a crea pagini web dinamice. MariaDB sau MYSQL sunt folosite pentru a stoca și gestiona datele.

[mai mult...]

Cum instalam GCC Compiler Collection pe CentOS 8 si Rocky Linux 8

GNU Compiler Collection (GCC) este un pachet software de compilare cu o colecție de compilatoare pentru mai multe limbi. Este un software gratuit și open-source, ceea ce înseamnă că fiecare are posibilitatea de a contribui sau de a modifica aplicația în funcție de propriile nevoi. GCC acceptă diverse limbaje de programare, inclusiv C, C++, Objective-C, Fortran, Java și Ada. De asemenea, oferă biblioteci precum libstdc++ pentru C++ și libgcj pentru Java.

[mai mult...]