Questions tagged as 'linux'

1
answer

Go through multiple directories on Linux terminal

I have an algorithm that starts with a file. From this file, it generates several others. I need to get all the names of these generated files, to from them, rerun my algorithm. Basically I wanted to know how to do in Shell Script to go through...
asked by 05.10.2018 / 21:30
1
answer

What is eth0, wlan0, wlo1? [closed]

I always see in Linux, when I type the command ifconfig , some names like eth0, eno1, lo, wlan1, wlo1. What do they mean?     
asked by 23.10.2016 / 22:03
1
answer

Problem with multimonitor system in Linux - Set Main Screen [closed]

My system has two monitors so the main one is in the middle (or right) and the secondary one on the left. The problem is that Linux always seems to take the left one to be the main one. The taskbar and menu are in it and the windows also open...
asked by 23.02.2016 / 00:48
1
answer

Change in GIT log [duplicate]

I would like to change the log of my GIT server using a hook. The situation is as follows, when someone commits and the local machine has the wrong date, the log shows the local machine time. I would like that through a hook it would change...
asked by 03.03.2016 / 13:20
1
answer

How to create a message in Zenity for all users logged into Ubuntu?

I use a script that is run by cron every 1 hour to find updates and update the system. I wanted the user to be warned that he started the update so that he would not turn off the computer, and when he finished updating another message, he war...
asked by 14.12.2018 / 16:06
1
answer

Direct exit of a program for 2 places

I know that in Linux or Windows I can redirect the output of a program to be saved to a file instead of being displayed on the end with the command > : ./a.out > arqSaida.txt Or write at the end of the file instead of replacing...
asked by 14.10.2018 / 04:23
1
answer

Releasing external access to a given port through IPTables [closed]

Currently I have two network cards on my Ubuntu 16.04 server, configured as follows in the interfaces file: auto lo eno1 enp2s0 iface lo inet loopback #Rede Externa que vai para antena de Internet iface eno1 inet static address 192.168.0.100...
asked by 21.11.2017 / 20:01
1
answer

Is there any protection to prevent dangerous commands in CentOS 7 from running accidentally?

I've been deleting all the files and directories in a specific directory on a Linux CentOS 7 and I came across the following situation: the danger of changing the command sudo rm -fR ./* by sudo rm -fR /* (Forgetting the endpoint bef...
asked by 15.09.2018 / 01:59
1
answer

What is Linux mounted partition and what risks are dismantled? [closed]

I'm wanting to check for disk crashes and through some searches I found the fsck command. When I tried to verify, this message appeared: $ fsck /dev/sda1 fsck de util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) /dev/sda1 is mounted. WARNING...
asked by 02.08.2017 / 04:43
1
answer

How to make a file upload using lftp? [closed]

How can I send a file from my local machine to the remote server using lftp ?     
asked by 27.03.2017 / 19:59