Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
33 views

providing a windows share to linux machines in a multiuser environment

I have a file server running Windows Server 2012. The files should be accessible from several Linux machines, some of them forming a cluster. Users must be mapped correctly (all logins are done via ...
1
vote
1answer
57 views

Create folder with special characters in truecrypt on fedora 20

I have a problem to create folders and files containing special characters (eg é, è , ù , ç .... ) Volume: Volume Type : Normal Size: 10M Encryption : AES Hash : RIPEMD -160 File System : FAT I ride ...
1
vote
2answers
240 views

Pipe output from two commands into one

Is it possible in unix/bash to pipe output from two commands into another? I tried running the following command, which successfully ran both commands, but the first was piped to stdout and the ...
0
votes
0answers
126 views

BISS encrypted channels

I want to receive a BISS encrypted channel on my Linux, and I have the keys from provider. I use mumudvb for streaming this channel but I donnt know how to use "oscam" or other available software to ...
1
vote
1answer
107 views

How to lower I/O priority for file copying operations under Linux Mint?

Whenever I copy files from a disk to another on my personal Linux system, the OS stops responding appropriately, the UI starts behaving erratically, any movies I'm playing will freeze and continue ...
1
vote
1answer
341 views

HandbrakeCLI bash batch script not working.

I am trying to batch encode a bunch of files. Looking over the internet I have found just a couple scripts and none of them worked for me. I started to piece together something and it is close to ...
0
votes
1answer
34 views

Postfix Relay Based on Recepient

What is the best practice when one has to implement this sort of ruleset in postfix: Email sent to a@example.com, b@example.com, etc ought to be relayed to smtp.a.example.com. Email sent to everyone ...
1
vote
1answer
71 views

how to maintain parent path of symlinked folder

As we all know how to creat a symlink ln -s /home/foo/test /home/bar/test2 link the folder /home/foo/test to the /home/bar/test2 symbol link but when I enter /home/bar/test2, and execute ls ../ ...
0
votes
1answer
34 views

Detect file size decrease

I am saving streams from browser cache into my home folder. I wrote a script that takes the specific data type and saves them into disk, and names them as data.1, data.2 , data.3 and so on, creating ...
1
vote
1answer
36 views

How do I negatively pattern match in a bash script file?

If I type rm main!(.tex|.pdf) into a bash terminal, it will delete all files that start with main but do not end in .tex or .pdf, clearing up various junk files that are strewn around by LaTeX ...
0
votes
2answers
47 views

During Linux boot, where does “init” execute from?

I am new to Linux, and trying to get a definitive understanding of the Linux boot processs, before attending a Linux Server Admin class starting in June. Setting up the Question: During Linux boot, ...
0
votes
0answers
53 views

virsh - Failed to detach disk

I'm getting the following error when trying to detach a disk in virsh: virsh # detach-disk svr21 xvdb --persistent error: Failed to detach disk error: Requested operation is not valid: Xm driver only ...
0
votes
1answer
200 views

Creating video with multiple audios and one still image for YouTube

I want to create many videos with multiple audio streams and one single picture. For example I have song1.mp3 song2.mp3 song3.mp3 and one single picture. What I need to do is to create many ...
2
votes
0answers
148 views

I can't get XFCE terminal to display VIM's colorschemes

That's what I have in my .bashrc if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi In my .vimrc I have: set t_Co=256 echo $TERM prints xterm-256color tput ...
0
votes
0answers
23 views

expanding boot, moving LUKS root

GPT > Partition2 > LUKS > btrfs I need some additional space for my boot volume, so far I did: Shrink my btrfs volume by 250MB. btrfs resize -250M / Shrink the LUKS root volume cryptsetup ...
3
votes
2answers
1k views

How to change a symbolic link to a directory to another target?

# ln -sv /path/to/target /path/to/link ‘/path/to/link’ -> ‘/path/to/target’ Now I want to replace that target with target2: # ln -sfv /path/to/target2 /path/to/link ‘/path/to/link/target2’ -> ...
0
votes
0answers
11 views

VMWare - restart client X server

If a VM's X server is frozen, is there a way I can restart the X server (send right-alt+sysrq+k to the client) without the host intercepting the key combination/causing a restart of the host's X ...
3
votes
1answer
67 views

Why is `ls` command not permitted in non-root account even using `sudo`?

I logged into Ubuntu with guest session account, but the ls command is not permitted even using sudo. But... why? Any ideas?
0
votes
1answer
877 views

Can't Connect to PPTP VPN When Using NETGEAR N300 Router

I'm running Ubuntu 14.04, and I'm able to connect to the VPN on other networks, just not the one in my house. I'm pretty sure that my router is blocking the connection. How can I fix this? Output ...
0
votes
1answer
18 views

How to troubleshoot a program that does not start

I'm using Ubuntu Server 14.04 and I'm trying to execute a program, namely deluged. However, whenever I do so, whether in script or directly via the CLI, it never appears when I do ps -A | grep deluge. ...
-1
votes
1answer
35 views

Send special keys to virtual machine

I do most of my computer work in Ubuntu, when I need another OS I just use VirtualBox or VMWare Player. Sometimes when I'm in a Linux VM, I want to change to the console or use SysRq keys. I obviously ...
3
votes
3answers
430 views

How do you set alias sudo='nocorrect sudo ' correctly?

Until Recently I had alias sudo='sudo ' in my .zshrc file. Today I ran into this error on trying to do sudo mv: ➜ ~ sudo mv nginx.conf.orig nginx.conf.orig2 sudo: nocorrect: command not found Now ...
1
vote
1answer
34 views

Mpg123 play previous file

Is it possible to use mpg123 to play previous file? My normal usage on using mpg123 $ mpg123 somefolder/*.mp3 I know that to pause we can use Ctlr+Z, and fg to resume, Ctrl+C to play next song, ...
0
votes
0answers
117 views

Keyboard issues with GRUB upon cold boot

I am facing a very weird issue with my keyboard while using GRUB. I'm going to be as detailed as possible and outline all the methods I've tried to fix this issue. Let me first describe the issue ...
0
votes
0answers
209 views

Doubled packets and TCP retransmissions in PPTP connection

I have a PPTP server setup at my home network: ROUTER: a router (Zyxel Keenetic Giga II): external address EXT, internal address 172.20.246.1 WINDOWS 7: a Windows 7 host machine, internal address: ...
1
vote
1answer
52 views

Move Files having No Extension

I have 5 files in a directory log.txt abc.pdf def.ppt 1CC 1DD Now I want to Move files having no extension i.e 1CC and 1DD to a another directory i.e tree. whenever i am manually using command it ...
-1
votes
1answer
74 views

Correct way to override file permission /dev/null

I am in a middle of this problem, and not sure which method to follow ? I am using a plugin which writes temporary files (*.txt / *.tmp etc.) to /dev/null. The plugin is complicated and changing the ...
0
votes
0answers
27 views

KDE Set Custom Window Name

I am using mplayer to display a webcam window on my KDE desktop. The .desktop file looks like this: [Desktop Entry] Comment[en_US]=Webcam Comment=Webcam Exec=mplayer tv:// -tv ...
0
votes
1answer
40 views

How can I block a specific host

I am not good with linux. I need to know 3 ways to block HTTP service on port 80 for a specific host on my machine. I need 3 commands or tools. I have looked everywhere and all I can find is the ...
2
votes
0answers
108 views

rasperry pi / debian / directory mount issue

I have trouble regarding to external USB disk write operations I am using Rasperry Pi box with Debian Linux root@raspberrypi:~# umount /dev/sda1 root@raspberrypi:~# mkdir /media/extGrayUSB ...
0
votes
0answers
52 views

Multiple keyboard layouts as soon as the login screen

I have 2 keyboards on my computer with different layouts (azerty and bépo). I managed to use setxkbmap to configure the right layouts. I also added a script on session start to configure it ...
1
vote
1answer
77 views

Removing multiple files from directory, as specified by variable in Makefile

I have a Makefile with the following configured for installing man pages MANDIR = /usr/share/man/man1 MANPAGES = exec1.1 exec2.1 make install triggers the following: install: $(MANPAGES) ...
0
votes
0answers
21 views

Packets From Inside Not Being Forwared To Outside

I'm trying to forward internal packets to outside without success. iptables -t nat -A PREROUTING -i eth0 -p icmp -d "internal IP" -j DNAT --to-destination "external IP" iptables -t nat -A PREROUTING ...
0
votes
0answers
33 views

WinSCP Set GID error

I'm asking this question on behalf of a customer who called into my help desk. He was using WinSCP to try and change permissions of a directories and it's directories. He set RWX for both user and ...
0
votes
1answer
327 views

Share LAN connection over WiFi (Intel PRO/Wireless 4965)

I have laptop Lenovo Thinkpad t61p with Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter that served by iwlegacy (module iwl4965) drivers. I have LAN internet connection that I want to share over ...
0
votes
1answer
85 views

Kali Linux java

I have a Kali linux sandbox set up with a direct connection to a windows VM. I have JAR files / java exploits I want to serve using the Kali box. After I get the jar file into the Kali Box, I know I ...
0
votes
2answers
50 views

Bash: What does echo xy >| foo do?

The kernel mttr documentation gives this command: echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr While I know what > and | do, I have never seen them in combination. ...
1
vote
1answer
154 views

Get login shell of a user not in /etc/passwd in linux

How do I get the default login shell of a specific user in linux. The user isn't necessarily in /etc/passwd. They may be logging in with NIS or LDAP or other pam method.
0
votes
1answer
44 views

virtualbox on WIN machine

I read about the virtual box , and I have some questions Before my question short snapshot about the virtual box Virtual box give the ability to work on Linux environment from the Win machine ...
0
votes
1answer
39 views

What is the point of sorting by PID and username in top?

I've been using the top program to find the most CPU and memory hungry programs on linux systems. Only recently did I discover the multi-window mode. The default windows number 2 (teal) and 4 (yellow) ...
1
vote
2answers
42 views

Copy file structure preserving links

I have a directory full of incremental backups (~20GB) which I need to copy (or move) from one partition to another. This directory contains daily snapshots which have been produced using cp -al to ...
0
votes
1answer
400 views

Error to install openvpn on debian

I'm on Debian 7 and I had an error to install openvpn: aurelien@ns22895:~$ sudo apt-get install openvpn [sudo] password for aurelien: Reading package lists... Done Building dependency tree ...
0
votes
0answers
83 views

Is this mysql config valid? (my.cnf)

I'm trying to allow remote connections for mySQL according to this tutorial but since I changed the config, I haven't been able to start mysql. I get the error: MySQL Daemon failed to start. Here's ...
2
votes
1answer
102 views

Sorted tree view in htop or alternative?

I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same ...
3
votes
3answers
117 views

How to format my text file for better appearance?

I want to format my text file for better appearance. So I want any command or any shell script which will format my file as per my expectation. Input File: Index Name City 1. Ravi Bhuva Ahmedabad 2. ...
2
votes
1answer
80 views

Record a process's User/System/Real time in Linux/Bash with greater precision

What I am looking for is something along the lines of /usr/bin/time, however, this usually does not have enough precision. I am running a C program (that I can edit and recompile) and I need to ...
-1
votes
3answers
145 views

Pass a (large) string to 'grep' instead of a file name

Is it possible to pass a relatively large string to grep or can it only accept a file? Note that I'm not talking about piping output to grep, but doing something like: grep 'hello' 'hello world' ...
0
votes
1answer
25 views

vmware remote Linux vm interactive boot

Is it possible to interactively boot a remote Linux based vmware vm? If the vm is hosted locally, I can start it with my vmplayer and see the BIOS screen, then my Linux boot grub menu. I can then ...
1
vote
1answer
53 views

Find last 24 hours executed commands per each user in bash

How can I find last 24 hours executed commands per each user and mail them the result? I have Ubuntu GNU/Linux. I find out that I need a package named 'acct'. I have already installed and enabled that ...
0
votes
2answers
44 views

Partition Hard disk with start sector 1

I have a new Hard Disk which I want to use for NAS drive. The requirement is that the partition as seen in fdisk should be as below. Device Boot Start End Blocks Id System ...