Questions tagged as 'linux'

1
answer

How do I use the GIT and system to update right after the commit

I am having a difficulty that I will exemplify for you: I'm starting to work with git now and I do not know much about it, but basic commands and intermediates are coming out. In my case, I have an entire system in MVC on a linux server on the n...
asked by 17.10.2017 / 22:33
1
answer

How to remove a user from the server? [closed]

I use a server with Ubuntu and installed Git to share code remotely. I created a Git user with the command: $ sudo adduser git What command should I use to remove a user?     
asked by 16.11.2017 / 13:30
1
answer

Preparing Linux development server

I'm using the Debian 9 distro on my server, when I scanned the PHP packages I noticed that php-fpm seems to be an alias for php7.0-fpm. If I am correct, I can install my packages like this: apt-get install php-fpm php-mysql php-curl php-jso...
asked by 31.07.2017 / 19:32
1
answer

How to create a script inside a program in the terminal?

I'm trying to develop a script to automate repetitive tasks I've been doing in the terminal. However. I can only create Scripts for Commands directly in the terminal, not for commands within the program. How can I create a SH that will...
asked by 06.10.2017 / 04:16
1
answer

Problem installing gcc on ubuntu [closed]

I'm trying to install GCC on ubuntu. When I type sudo apt-get instal gcc asks for a password, but I can not type the password. What could be the problem?     
asked by 22.01.2017 / 13:21
2
answers

Delete all rows that have a specific string

I would like to delete all rows that have the string Excluído , searching from a specific string to the end of another string. Example: <p class="FolderPath"> <table class="DiffTable"> <tr> &...
asked by 04.12.2015 / 14:11
1
answer

linux command SSH

Good afternoon, I'm new to linux commands, I need to view more than one file, I can currently use it to view 1 file: tail -f pasta/arquivo I would like to be viewing 2 or more files, something like: tail -f pasta/arquivo1 pasta/arquivo...
asked by 22.10.2015 / 17:52
2
answers

Display only non-empty directories with the ls command

Hello, I'm a beginner in Ubuntu and would like to know if there is any way to display only directories that contain subdirectories or files on the command line. If I type only ls , there are directories, executable and non-executable fi...
asked by 25.02.2016 / 22:31
1
answer

How to create a dialog to open files with the SDL library?

I'm making a very simple audio player in C (in Ubuntu) for a college job, and I'm using the SDL library to create windows (graphical interface) along with the SDL_mixer to play the audio. The problem is: I need a way for the user to point the...
asked by 15.02.2014 / 22:03
2
answers

Extract only the name of a file from the full path

I want to make a shell script that receives a filename with its full path, for example /home/42/arquivoEscolhido.txt , and extract only the file name ( arquivoEscolhido.txt ), which would be everything after the last slash ( /...
asked by 30.11.2018 / 23:02