Questions tagged as 'linux'

1
answer

Display Powerline sources in VIM over terminal / (terminator) Linux

Hi, I would like to know what configuration I should add to /.vimrc so that the Powerline sources work correctly in Vim, from the terminal. My configuration is this and I would prefer it to look like the second image. execute pathogen#infect()...
asked by 27.01.2018 / 00:34
2
answers

Update Kali

Good, I just installed the image of Kali on my computer. I wanted to install the headers but when I try to do one: sudo apt-get install linux-headers-$(uname -r) I see that I get an error, since the version of my Kali is 4.13 and the one in...
asked by 24.01.2018 / 16:41
2
answers

Command equivalent to 'hostname' in Windows

Is there a command in Windows that is equivalent to the hostname -I of Linux? I just need you to give me back the same information. Thank you very much.     
asked by 22.12.2017 / 16:15
2
answers

I have a constant error in Debian when I want to update my system

$ apt-get update Obj:1 http://security.debian.org stretch/updates InRelease Ign:2 http://deb.debian.org/debian stretch InRelease Obj:3 http://deb.debian.org/debian stretch-updates InRelease Obj:4 http://deb.debian.org/debian stretch...
asked by 07.11.2017 / 23:02
1
answer

Include hidden files in a tar

I need a command that can include hidden files within a tar.gz Until now I use $ tar -zcvf respaldo.tar.gz /var/www/sitio.com/ But this does not store hidden files like .htaccess How can I include these files in a similar command?     
asked by 25.11.2017 / 20:02
1
answer

Command logs executed via terminal

There is a file .log where you can see the commands applied via terminal in Linux , I usually apply the command history to verify previously executed commands, but this time they deleted the history and I have no trace of whi...
asked by 16.10.2017 / 21:26
2
answers

List files and delete them with find and rm

I tried to execute this command but I can not get it to list the files with a certain structure with awk and then delete the result. In the following case it deletes them but the output file generates it without information: find /input1/input...
asked by 09.06.2017 / 01:05
1
answer

concatenate .XLS files

I have many xls in a folder, and I want to concatenate them all vertically, that is, put them together in the same xls, but I can only concatenate two, I do not understand why. I'm using this command: cat Rot * .xls > consol_Rot.xls So...
asked by 08.04.2017 / 07:25
2
answers

Build Perl script so that as data is inserted into a log file, it is obtained and processed instantly

Colleagues I'm doing a perl script so that as data is inserted into a log file, I instantly get it and process it but it is giving me an error (the error is in the open) and I do not know what to do. I pass the code: #######!/usr/bin/perl use...
asked by 23.02.2017 / 21:18
1
answer

No Django settings specified [closed]

Good afternoon, I'm trying to create my project in Django but when I run the command "django-admin createproyect project_name" it gives me the following error:    No Django settings specified.   Unknown command: 'createproyect'   Type 'djang...
asked by 15.03.2017 / 20:18