Questions tagged as 'terminal'

1
answer

How to find out if a directory is empty by the terminal?

I uploaded some files, via ftp, to put my application into production. For some error in the application, I noticed that some files were missing. When I gave a ls I realized that some folders were empty, but I can not enter one by one...
asked by 17.03.2016 / 13:07
3
answers

OpenSuse 13.2 - Sublime as default editor

I've downloaded sublimeText2 for text editing and would like to set it as the default editor instead of gedit but I'm not getting it. Attempts Arquivo -> abrir com -> outro aplicativo -> visualizar todas as apli...
asked by 05.06.2015 / 16:51
1
answer

How to create an application from a Maven file?

I was working with EJB and dealing with four simple Maven projects, a web project, a desktop (JSE Swing), a project (JSE) that had only the interface and lastly a web project (which I called Core ) that implemented this penultimate project that...
asked by 22.12.2015 / 17:09
2
answers

Is there a difference between compiling for the Linux terminal or for the IDE?

I've been programming in C in linux for a semester already, and I always come across people who call themselves better programmers because they compile and run the program through terminal . However, in the face of several se...
asked by 17.12.2015 / 17:27
2
answers

List the amount of space occupied by a file type in the terminal

I suspect that the PCs I use have many .RData files, used by the R program to save data sets. I want to do a cleanup on these files, but without going into directory by directory, from computer to computer. In addition, I use computers wi...
asked by 29.06.2017 / 15:40
2
answers

Error in build ionic framework

Gentlemen, I migrated to linux and I have a question / problem. I already have the android sdk installed with their respective dependencies installed, I squeeze the android command and open the sdk manager normally, I put the environment vari...
asked by 03.12.2016 / 17:54
1
answer

How to tell if a port is open or not in Linux

I have a PHP script that acts as a chat server (websocket) that I have on a certain system. I realize that sometimes this service unexpectedly stops running. It runs through the nohup command. I'm using Linux. I just realize that my...
asked by 11.01.2016 / 12:58
1
answer

What is the difference between reset and clear in Terminal?

No Terminal , what is the difference between the reset and clear ? I'm using Terminal of Ubuntu , and apparently the two commands clear the screen.     
asked by 02.09.2015 / 22:00
2
answers

How to define a global alias in BASH?

I'm using Terminal in Linux and I'm tired of repeating the same commands all the time. For example, I use a command almost all day, so I create an alias to make things easier. Example: alias tt="php artisan tinker --env=l...
asked by 10.05.2016 / 19:15
3
answers

Back files deleted in Git

Friends, good afternoon. I removed some files inside the server, however I need them again, I have them in the git repository. How do I redownload the repository files?     
asked by 25.04.2016 / 20:43