All Questions
0
votes
0answers
6 views
Using mv to move to another directory and rename at once
I would like to know every file which is +100Mb and hasn't been accessed in the last month, and I have written succesfully:
find / -size +100M -atime +30
And now I want to move those files to a ...
-3
votes
0answers
11 views
Open Source Operating
Open Source Operating System
A server or computer
init 6 mode into a computer,
Reboot itself constantly.
init 2 or init 5 to get into the mode.
What needs to be done
0
votes
2answers
20 views
How is implemented the GUI of Vim if is a program that runs on terminal?
I can't figure out how is implemented programs such as Vim (or top for example) that are executed inside the terminal and has a GUI. It is assumed that the terminal can only display characters, and ...
1
vote
0answers
8 views
Does dm-crypt utilize multiple cores?
I'm considering replacing single-core Raspberry Pi with an encrypted disk with multi-core Banana Pi M3. Encryption/decryption performance is currently the bottleneck, so I'd like to know if encryption ...
2
votes
1answer
17 views
Separate namespaces for functions and variables in POSIX shells
In dash, functions and variables appear to live in separate namespaces:
fn(){
fn="hello world"
}
fn; echo "The value is $fn!" #prints: The value is hello world!
#the fn variable doesn't conflict ...
1
vote
1answer
15 views
IP Packet sniffer/filter/manipulator using TUN interface
In summary
Packets which are read from a TUN interface, do not find their way when they are written back to the same TUN interface.
In full
Scenario:
On a machine with only 1 NIC (eth0) which is ...
0
votes
1answer
19 views
NFS mount: can't find file in /etc/fstab
I have in hand an Arduino Yun and a Linux Arduino 3.3.8 OS on it, the host machine is Ubuntu 14.04. I'am trying to mount a file in my host machine to the board.
I 'am following this tutorial
The ...
0
votes
1answer
20 views
How to replace a line in a input file using sed/awk/perl
I am trying to replace a path in an input file.
#include "../../../Plumed.h" #### this is old patch in input
#include "/usr/local/include/Plumed.h #### this should be the new path
...
1
vote
2answers
33 views
Why does removing Iceweasel nuke GNOME?
I hav an older Debian 7 VM for testing. I'm trying to reduce VM footprint size because I am about out of space. I wanted to remove Iceweasel since I don't really use it, and I can usually get by with ...
1
vote
2answers
23 views
How to modify specific column using sed or awk based on specific pattern
I have a csv file looks like this:
c1,c2,c3,http://aaa.com/blblbblb\nhttp://bbb.com/sdsdsds\nhttp://ccc.com\nhttp://foo.com/ghghghgh
cc1,cc2,cc3,http://eee.com/blblbblb\nhttp://foo.com/sdsdsds\nhttp:...
-2
votes
0answers
19 views
Finding patterns between two files
File 1:
a-1
b-2
c-3
File 2:
a
a
a
b
b
c
c
c
How do I obtain (File 3):
a-1
a-1
a-1
b-2
b-2
c-3
c-3
c-3
0
votes
1answer
13 views
MBR to Gpt conversion and gpt to MBR conversion without data loss in linux
It will be very helpful if anyone give me steps to convert MBR to gpt partition and vice versa without data loss and not using third party partition tool
Thanks in advnace
0
votes
1answer
19 views
Passing arguments to bash with awk command to filter
I would like to ask some help how can I improve the basic script below.
So, I was able to pass the arguments to bash, but is it possible for my awk command, to make it more flexible?
I encountered ...
0
votes
1answer
9 views
Failed to remount /tmp to RAM (tmpfs)
I'm trying to mount /tmp to RAM on Ubuntu server (14.04):
echo "tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0" | tee -a /etc/fstab
This line seems to be fine, it's added to /etc/fstab, and after the ...
1
vote
1answer
24 views
If a directory is a file, can I see the contents of that file? [duplicate]
If a directory is a special file in unix with filenames and corresponding inodes, is there any way to print the entire contents of this file?
0
votes
0answers
17 views
bash forgets ssh settings in script
I'm writing a script to creating a set off ssh keys and uploading them to the known hosts. This is for when you want keys per device.
I included an option to upload the new key to the host after its ...
0
votes
2answers
12 views
CentOs 6-x_64 Setting DISPLAY variable
Have VPS server. Trying to set the display variable. Have always had problems with the correct value.
setenv $DISPLAY = :0.0
export $DISPLAY
Tring to get xinit not to fail due to no VT being set or ...
0
votes
0answers
13 views
is there a way to chroot from linux to windows?
im trying to chroot from ubuntu gnome into a natively installed windows (with GUI if possible) so i dont have to duel boot to run windows programs or use wine wich is to buggy for some things
0
votes
1answer
6 views
How to configure an application to be started in full screen mode?
I can find a similar topic:
How to configure certain programs to always open in full screen?, but it does not solve my question.
I wonder which aspect the question is related to, the distro, or the ...
0
votes
0answers
8 views
LFS Linux kernel won't boot - black screen
I've recently completed an LFS build using GRUB-2.03~beta, and
I've installed this using UEFI. When I boot linux however, I'm greeted
with a black screen. I'm unsure how to debug this as the kernel ...
1
vote
0answers
4 views
Mount ext4 formatted mircosd on Nvidia Shield TV
I have a rooted Shield TV but I can't figure out how to mount the microsd card.
I see that the file system is supported but I don't see where the device is listed.
Usually I would look for mmcblk or ...
1
vote
0answers
11 views
Unable to access /root in CentOS server with ' VSFTPD'
I'm new to linux administration and am trying to configure VSFTPD on my CentOS server to give me ftp access to the /root folder. Currently, I have access to folders in the parent directory, but not ...
1
vote
0answers
4 views
Pacemaker Promote Groups in Specific Order - Or Specify start last
I have a group in Pacemaker which I need to start last. Ideally I'd like to know how to configure groups to start in an specific order, but I can't seem to figure it out, not sure if its possible. ...
0
votes
0answers
9 views
Error while installing driver?
Well, I have Kali linux latest version and my kernel is 4.6.0-amd64.
And i have problem with installing wifi adapter driver.
My wifi adapter is Mediatek MT7630e, and I have followed every step ...
-1
votes
0answers
12 views
kali login freeze
I have got asus rog gl551v and windows 10 been installed. I just wanted to make dual bot for my pc i mean 2 operating system in 1 pc. I installed kali on my computer and when it comes to username and ...
-2
votes
0answers
8 views
kali linux preload cannot be prelaoded [on hold]
I have this probleme.
I think the problem is about AMD Catalyst
ERROR: ld.so: object '/usr/lib/fglrx/fglrx-libGL.so.1.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
...
1
vote
0answers
4 views
Allow KVM guests on virsh virtual network to access the real internal network
I have a home network 192.168.1.0 behind a router 192.168.1.1. A set of existing Linux and Windows hosts are on this network, most on wired ethernet connections. I am configuring a new server that ...
-1
votes
0answers
11 views
Stack on username screen Kali
I have got asus rog gl551v and windows 10 been installed. I just wanted to make dual bot for my pc i mean 2 operating system in 1 pc. I installed kali on my computer and when it comes to username and ...
2
votes
0answers
10 views
How to run keychain from gdm ?
I have keychain manage both ssh-agent and gpg-agent. It's working from a shell, with a line like:
eval `keychain --eval --agents ssh,gpg id_rsa my_gpg_key`
in ~/.bash_profile.
I'd like to have ...
0
votes
0answers
8 views
Debian Jessie - Installing new kernel - update-grub2 fails
(I am no expert; Debian Jessie; remote system; virtual server)
I am trying to upgrade my Kernel from 2.6.. to 3.16.0.4
The Kernel is installed but a reboot didnt load it, so I had to install grub2(I ...
0
votes
0answers
8 views
Synchronization and backup files and folder on my devices
i want to create simply synchronization & backup system between my pc(debian), ubuntu and android
Backup password and encrypt result (after each save KeePass file)
Backup files/folders (pdf, ...
0
votes
0answers
6 views
cdc_ether 2-1:2.0 net0: kevent 11 may have been dropped
I have a TP-Link USB 3.0 to Gigabit Ethernet Adapter (UE300) and when I plug it into my Lenovo Yoga 2 Pro running Arch (newly installed) it starts to spit out this error a lot:
cdc_ether 2-1:2.0 net0:...
2
votes
1answer
11 views
Flash terminator tab on process exit or completion
Any idea how to "flash" the terminator tabs on process completion? I was looking over terminator_config and set the visible_bell = True but it didn't seem to do what I wanted.
1
vote
0answers
5 views
Kickstart file in virtualbox failing to boot
I want to write a bash script that creates a Scientific Linux 7.2 iso with a custom kickstart file, creates a new VirtualBox VM, and installs the iso onto that VM.
I have two scripts, installBaseOS....
-1
votes
0answers
15 views
Audio works with startx, but not with xinit
As in title, my audio doesn't work when running xinit, with mpd in the background, but works fine with startx. When rebooting and using xinit, and then running alsamixer from inside a WM, none of the ...
1
vote
1answer
23 views
How does the Linux kernel handle keyboards inputs/outputs?
I don't understand virtual terminal devices (eg. /dev/tty1), but I know I can "switch" to tty1 if I press ctrl + alt + f1.
I've got a custom keyboard layout, which is in /usr/share/X11/xkb/symbols/us ...
0
votes
2answers
20 views
How to download a file from aws server using SSH?
Environment:
Remote: AWS - RHEL 7.2
Local: Ubuntu 16.04
I SSH into the AWS box directly using a .pem file for authentication, something along the lines of:
ssh -i /home/<user>/<path>/<...
-1
votes
0answers
10 views
Unable to Download Drivers for Kali Linux
I have been trying to download a driver for my Kali Linux and I can't. Whenever I try to download one there is always a message that tells me that it couldn't retrieve the files and some index files ...
1
vote
0answers
6 views
Dual monitor setup in Linux Mint 17.2 Rafaela
OK so I have been going at this problem hammer and tong for 6 days now (and over two weeks in a previous attempt).
My problem is setting up Linux Mint with an external monitor plugged into my laptop.
...
0
votes
0answers
6 views
How to get tty to display on another monitor (using nvidia drivers)
As in the title, I am trying to have the tty (at boot) to display on a secondary monitor than what it currently starts on, or even better - to have multiple tty's running at once on different displays,...
2
votes
2answers
26 views
Backing up SD card filesystem-only to image file
EDIT: For some reason only part of my post got saved. I have updated it now to its full content
Although this topic circles around the Raspberry Pi it is applicable to basically all SD cards that ...
0
votes
0answers
9 views
Multiple spreadsheet from one xls
Can we create one multiple spreadsheets from different xls file using shell script. I created using xml in shell script using , But the one spreadsheet will open when all the xls files are present in ...
-1
votes
0answers
20 views
configuring, building, and installing linux kernel [on hold]
I'm reading a book named "Linux Device Drivers, 3rd edition, 2005". I have the following questions:
How can I practice using the book examples (which is designed for kernel 2.6) using recent kernels?
...
0
votes
0answers
10 views
League of Legends with Nvidia graphics on Debian Laptop
I have an Acer Aspire v3 722G Laptop. It has a NVidia Geforce GTX 760M inside. Ago, when I used windows, everything worked fine with my graphics card. Now I finally switched over to Linux (Debian 8), ...
0
votes
0answers
16 views
swrast driver fails to load with Nvidia drivers on Arch Linux
After switching from nouveau drivers to the Nvidia ones, my program crashes on start, saying that the swrast driver failed to load. The problem appears to be the drivers. I have the nvidia-beta ...
0
votes
2answers
17 views
Delete multiple patterns of files using one command (find)
I am trying to find and delete files in current directory and subdirectories (recursively) which match different patterns and print the matching files to stdout to know which ones are deleted.
For ...
0
votes
1answer
75 views
Cannot compile kernel: error, kernel does not support PIC mode
I have troubles recompiling my Kernel. Downloading the source package, decompress it and running
fakeroot make-kpkg kernel_image
leads me to the error
[...]
CHK include/...
0
votes
1answer
23 views
Using read, IFS and while together doubts
I have a doubt because I understand that:
exec 0</etc/passwd
IFS=:
while read in USUARIO
do
echo $USUARIO
done
output should be a list contining all system's users, instead of that I get the ...
1
vote
0answers
7 views
Bluetooth controller profiles
In bluetoothctl, if I run show on my default bluetooth controller, I get the following:
Controller XX:XX:XX:XX:XX:XX
Name: computer-name
Alias: computer-name
Class: 0x00010c
...
-2
votes
0answers
20 views
iptable NAT not working. Need to nat 172.16.1.0/24 on 172.16.0.3 [on hold]
What I'm trying to achieve is to nat all traffic on subnet 172.16.1.0/24 to IP 172.16.0.3. As it was NAT interface on Juniper/Cisco
Here the rules:
root@UKLABSW11PI01:~# iptables -nvL -t nat
...