Questions tagged as 'linux'

2
answers

How to search for old files in Linux? [closed]

I need to use the tail -f command to search past logs . I know there are tail -f | grep "" . But I do not know how to look for the old ones with the parameter I want. Can anyone help me?     
asked by 13.02.2015 / 18:31
1
answer

Developing in C # using Mono Develop Linux

I need to program in C # and use Linux. I read a little about Mono Develop, I would like to know how Mono works or stand out in relation to Visual Studio and if there are other alternatives to develop in C # using Linux.     
asked by 08.07.2015 / 12:56
2
answers

Ignore \ n no with bash

Hello, I have a PHP script that I run on a server, I put it in a cron. For security and maintenance reasons I write the entire STDERR return to a file, but even though the file does not return anything it writes a "\ n" line break in the file ho...
asked by 26.02.2015 / 14:48
1
answer

Why can not I run the file located in the bin?

I need to use the file flare and flasm , which chown and permission are correct. Why can not I just run one and not another? -rwxr-xr-x 1 daniela.morais sudo 64808 Mar 19 13:54 flare* -rwxr-xr-x 1 daniela.morais sudo...
asked by 19.03.2015 / 20:09
1
answer

ShellScript command 'cd'

What command do I use to go straight to the login folder without having to put my example name cd home/leonardovillela .?     
asked by 10.10.2014 / 20:56
1
answer

How to block access to a hostname

I need to block access to the www.facebook.com site of a Linux machine. I should block this on the machine itself, that is, I do not have the possibility to do this with a Proxy. Initially I thought about using iptables, however, as Fa...
asked by 11.08.2014 / 18:11
1
answer

Is there any way to run software, native to 32 bits in 64 bits in CentOS?

I wonder if you have any way to run the 32-bit software in 64 bits? If so, do I need to install what?     
asked by 22.10.2014 / 04:31
1
answer

Send files via rsync defining user and group

I have the following script that sends files from a local folder to a remote server: rsync -Crav --exclude 'storage' --exclude 'error_log' --exclude 'database.php' --progress --partial --rsh='ssh -p1150' /home/user/Projects/project-local/* ro...
asked by 14.07.2014 / 03:30
1
answer

Process Synchronization (Fork) - "segmentation fault"

I'm trying to create 3 processes and use semaphore in them. The code below compiles, but in the middle of the execution there is an error called "segmentation fault". I do not know how to solve this. Thank you for your patience. The goal is to c...
asked by 07.06.2014 / 18:36
1
answer

Problems with RewriteRule in apache 2.22 (in DigitalOcean.comm)

I use a cloud server called Digital Ocean . However I'm having trouble trying to create friendly URLs. I activated the module rewrite through the command:    sudo a2enmod rewrite and changed sudo nano /etc/apache2/sites-availab...
asked by 03.03.2014 / 08:12