linux

How to copy the contents of a folder with a given extension to another folder while maintaining the original directory structure in linux

How do I copy files of only a certain extension to another folder in Ubuntu, while maintaining the structure of the original ... ents of the subfolders were also copied, only what has the extension .h This is analogous to the command mac: gcp --parents

The linux installer does not see the internal hard drive

Acer aspire laptop on uefi lnsydeh20 does not see the hard disk for installing the system, at the stage of installing the dis ... p or format before, disabled secure boot in efi, the laptop is new, please help, thank you in advance Output sudo fdisk -l:

How do I set an environment variable in Linux/Unix?

How do I set an environment variable in Linux/Unix?

I can't connect to gitlab via SSH, why?

There is a gitlab deployed on its server, it works successfully, projects are uploaded, everything is created, the web interf ... mitriy/.ssh/gitlab debug1: Authentications that can continue: publickey,password debug1: Next authentication method: password

Allow ssh access for an ubuntu user

There is access via ssh with a public key to root, how do I make the same access for another user?

How do I find out the full path to the current directory in Ubuntu?

How do I find out the full path to the current directory in Ubuntu?

Ll instead of ls

How to make the list of files output in the format ls-l. before the update, the ll command worked. now only ls. ubuntu 12.04 thank you

Linux. PostgreSQL

Installed PostgreSQL on Linux. The problem is that I can't use the psql command, because it requires a password. When install ... I tried to remove PostgreSQL from the server, but it didn't work, because it requires a password. What could be the problem?

Ubuntu 20.04.1 LTS installation freezes in VirtualBox 6.1.16

When installing Ubuntu 20.04.1 LTS on VirtualBox 6.1.16, the installation freezes (see video): https://youtu.be/V_74KQ1Mctg. Who has faced such a problem? How to solve it? Here are the system parameters

How do I end the process in ubuntu?

How do I end the process in ubuntu?

How to overcome the error when installing Ubuntu next to Windows 10: "Could not execute the grub-install/dev/sda2 command"?

There is a goal-to put ubuntu next to Windows 10. Before that, Linux had never been installed, and the experience of using it ... question. UPD1. Tried to install grub not in sda2, but in sda - everything is the same, it is interrupted at the same place.

Installing Linux (LUKS, LVM) on a computer with UEFI

There is a laptop with UEFI. You must install the Linux distribution - Debian - with full encryption and LVM. I mark up the ... d not do this, because its task, in my opinion , is to start the kernel). Tell, please, how to handle this-start the system?

How do I install Google Play Music Desktop Player in Fedora?

I'm trying to put GPMDP in the OS Fedora Workastation 31. The method used: sudo snap install google-play-music-desktop-play ... nome runs on Wayland by default. Switched to Gnome on xorg at login, reinstalled the program, rebooted, everything worked...

Why do I need the iso format?

In my understanding, an iso file is an image of an optical disk. Namely, a " raw " uncompressed copy of the disk contents, wh ... e zip type? After all, it often happens booting the system via usb (and then the optical disk structure is no longer needed)?

Java socket: connection hangs

I write code in Java, I will attach the code below, there are also comments in places where the connection hangs. According t ... fwrite(buf,1,sizeof(buf),F2); } fclose(F2); } int main() { new_server(); }

Mikrotik. DNS ping 1.1.1.1 is there, but 8.8.8.8 is not. Intermittent Internet on the computer

The computer is connected via a cable to Mikrotik ether2. The router is connected via a cable to Mikrotik ether1. General sch ... efconf: accept established,related,untracked chain=input action=accept connection-state=established,related,untracked

How do I make a loop for sed on bash?

Who can tell you how to properly make a loop for sed on bash? Or how to read a file in multiple lines? A file can consist of ... while read line; do echo TEST1 + $line; done cat test1.txt | sed -n 22,32p | while read line; do echo TEST2 + $line; done

Are there working ftp proxy servers?

I want to place a proxy host between the ftp server and the client, so that the client does not know the real address of the ... Starting FTP-Proxy: ftp-proxydisabled. ... (warning). Dec 22 04:32:42 host.local systemd[1]: Started LSB: Launch ftp-proxy.

How do I delete all the contents in a folder, but keep the folder itself?

How do I delete all files, folders, and links in a folder, but leave the folder itself? I have a temp folder and I put files ... manually delete each folder separately and for each to the file, then everything is normally deleted. What am I doing wrong?

How to install python 3.7 on Ubuntu 20.04 LTS

On Ubuntu 20.04 LTS, python 3.8 is pre-installed, but I need python 3.7. How do I install it and choose this particular python interpreter and how to install modules there.