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

2
votes
1answer
378 views

How do I switch to Dvorak across multiple Operating Systems

EDIT: I am answering my own question, after not finding a combined guide anywhere. Others, feel free to post an answer. Additionally there doesn't appear an answer illustrating the pitfalls and ...
0
votes
0answers
2 views

What is the equivalent of Ubuntu /etc/network/if-pre-up.d/ in Fedora (22)

I'm trying to migrate from Ubuntu to Fedora(22) but I can't find how to run a network script before the interface is up. Is there any equivalent of this /etc/network/if-pre-up.d/ in Fedora? I need to ...
3
votes
3answers
6k views

How to access a CD/DVD drive over the network?

The CD/DVD drive of my notebook is broken. However, the drive from my desktop computer is working perfectly. How can I access the CD/DVD drive from my desktop computer over the network? I want to put ...
1
vote
3answers
2k views

How to keep alive the VPN connection?

I'm using NetworkManager and OpenVPN on linux. The problem is I get random disconnections, especially when idle. So I was thinking maybe there was an option to keep it alive. I have seen examples ...
0
votes
1answer
12 views

Group of a user when running a setuid executable

If a user, user1 belongs to group1 and also a setuid executable exists that is owned by user1 and group, group2. user1 is not a member of group2. I am seeing that the executable cannot access files ...
0
votes
0answers
6 views

How to set proxy server Squid on CentOS multiple connections for download

I am now using Cent-OS and i have installed squid proxy server completely. The problem i meet is when I use Internet download manager and set proxy) to download a file, Internet download manager could ...
2
votes
2answers
43 views

What's the fatest way to calculate in command line?

Is there a faster way to calculate in command line the following: echo "4 * 5" | bc
0
votes
1answer
11 views

Does qemu/KVM allow sound through Spice?

I'm setting up a Windows 7 virtual machine to try and eliminate my physical partition. I have it installed and working with Spice and the drivers from the fedora site: ...
0
votes
0answers
18 views

How to send the Escape Key inside VirtualBox “vi” session?

When using a "vi" session within VirtualBox, how can I send the Esc key to change modes from input mode to command mode? Main PC is running Solaris 10 x86 with VirtualBox. VirtualBox guest O.S. is ...
0
votes
1answer
16 views

3 interface server - wap with bridge - how to route this?

I have the following setup (except the "server-addressed packets"-part): http://www.directupload.net/file/d/4062/jo9qswvv_png.htm Basically eth0, eth1 and a wap. eth1 and wap are bridged with br0. ...
0
votes
1answer
23 views

Linux sh script throws “#!/bin/sh: not found”

i have a script #!/bin/sh # Automatically remove a torrent and delete its data after a specified period of # time (in seconds). TARGET=/var/www/transmission/completed USER=name PASS=pass ...
0
votes
0answers
18 views

How to dual boot Windows 10 and (Kali) Linux?

I tried to install (Kali) Linux over a live usb stick (live .. > Application > System Tools > Install Kali Linux), but the with Windows 10 created partition of ~60GB won't be recognized by the ...
0
votes
1answer
139 views

How to install wine with dependency problems on OpenSUSE?

I am trying to install wine on OpenSUSE but I have a dependency problems. It says that I need libgphoto2.so.2 and maybe I will need other packages later. Do you know a way to solve this problem? ...
1
vote
1answer
9 views

Restart a command after it gets killed by the system

I have been using Gmvault to backup my Gmail email accounts but since the machine I use for doing this job only has 1GB memory, it frequently got killed by the system (Ubuntu) when it exhausted all ...
23
votes
1answer
98k views

How can I add Linux to the new Windows 8 boot manager?

Which OSes can be put into the new bootloader that Windows 8 provides? It seems to be quite pretty and consistent with the rest of the new Windows 8 design, so it would be cool to put Linux (Ubuntu) ...
0
votes
1answer
2k views

Networking lost after update from Debian Wheezy to Jessie

I am currently setting a Virtual Machine for development purposes. I did a big part of this configuration under Wheezy, but I need some debs that were available only on Jessie. So, I've updated the ...
0
votes
0answers
3 views

Fedora L2TP IPSEC VPN failure

I'm trying to connect to an L2TP IPSEC VPN server on Fedora 22. Connections have been successful Windows, Mac OS X, iOS and Android. I cannot get it to work on Fedora 22. I've followed ...
1
vote
2answers
38 views

OpenVPN server forwards DNS and Traffic to private + WWAN

Intended: OpenVPN server allows clients to masquerade as its public IPv4 on the WWAN, as well as connect to other local servers within the private network, e.g. the internal DNS server. The private ...
2
votes
3answers
461 views

Would a Windows 10 install overwrite Linux/Grub?

I'm currently multi-booting Windows 8.1 and Ubuntu. Next Wednesday, I plan to upgrade Windows to version 10, but before I do that I'd like to replace Ubuntu with Arch Linux. Is there any point in ...
3
votes
1answer
138 views
+50

selinux doesn't have httpd_can_network_connect as an option on ubuntu 15.04

I installed Ubuntu 15.04 and then installed selinux by doing sudo apt-get install selinux. I then did setsebool -P httpd_can_network_connect 0 and got a "Boolean httpd_can_network_connect is not ...
0
votes
0answers
20 views

How to recover the original file content after using Script command on the file in Linux

I have a file named file1.txt in Linux.  By mistake, I used the script command, script file1.txt its goal is to add all the terminal output to the file1.txt.  Now file1.txt is with unreadable ...
59
votes
7answers
145k views

Test if a port on a remote system is reachable (without telnet)

In the old days, we used telnet to see if a port on a remote host was open: telnet hostname port would attempt to connect to any port on any host and give you access to the raw TCP stream. These ...
0
votes
0answers
13 views

How come monitoring the status of a write to USB isn't reliable?

I write ISO files to USB thumb drives a lot, and I'm trying to find a way to monitor the status of a write. Googling this, I have found a bunch of solutions, including pv, dcfldd and the USR1 signal ...
3
votes
1answer
185 views

Amplify alsa capture beyond 100%?

I'm using ALSA. The volume of my mic is so low that even 100% of capture volume is not enough in a skype conversation. Is there any way to amplify the capture volume beyond 100%? I cannot use ...
-1
votes
1answer
16 views

No access in the bash script

I am new to the bash script. I want to carry out the simulation using bash and I want to make it open the fortran program file. While I am writing this: #!/bin/bash echo ...
1
vote
1answer
22 views

Linux: get the current boot disk's device name

When booting a machine by USB stick, sudo fdisk -l outputs you two devices marked with an asterisk, and you'll never know which was the boot device. I need a list of all disks attached to the ...
0
votes
1answer
25 views

Strange TCP Connections - How to kill

My parents Mac is having some random issues - my mum paid £160 to get the computer repaired as there were some "trojans" according to the guy on the phone from india On hearing this news I had a ...
-1
votes
0answers
9 views

File permissions and NFS (how to replace samba?)

I'm trying to replace Samba with NFS, but I need the equivalent of create mask, directory mask, force create mode, force directory mode, force user and force group options. I read this: Forcing group ...
0
votes
1answer
171 views

SFTP's “get” needs write permission

I'm connecting to a server using sftp through console. I'm trying to download a folder which has some files without write permission for anyone. When I use get, those files throw an error that says I ...
3
votes
1answer
5k views

Linux: Kill process on specific port

How to kill a process if its port is known? For example if a process is running at port 12345 then how it can be terminated in linux/ubuntu.
0
votes
0answers
8 views

How to disable Gecko package popup for Wine?

When I run my app under Wine: wine my_app.exe I've got this annoying popup: which says: Wine could not find a Gecko package which is needed for applications embedding HTML to work correctly. ...
0
votes
0answers
9 views

Replace GTK file dialog with alternative

Is there any way to configure GTK programs to use a different file dialog? Reading ancient articles on the default dialog and seeing no difference to the current version does no bode well for it's ...
0
votes
1answer
4k views

Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available

I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800. Word is from googling that long as vbeinfo ...
6
votes
2answers
28k views

How to create an EFI System Partition?

TL; DR How do I create an EFI system partition from scratch? How do I put the EFI firmware on it onces it is created? Long version I hava Toshiba T430 laptop. I received it with Windows 7 installed ...
1
vote
1answer
2k views

Change resolution of Raspberry Pi via console?

I'm the proud new owner of a Raspberry Pi and have it up and running now with VPN/SSH/X11VNC. This morning I had it booted up on a TV on my table where I was working on it. Went to work and have been ...
9
votes
3answers
13k views

Extracting msi files using Linux

Related: How to extract files from MSI package? To extract the contents of a MSI installer using Linux, I can either use msiexec with wine or use 7zip. However, the latter does not preserve ...
0
votes
0answers
9 views

Linux - How to stop a queued command

I have two terminals open: #1 dd command copying 128GB #2 Using Kill command to monitor dd process . I was repeating the monitoring command and accidentally repeated dd command in the second ...
1
vote
0answers
6 views

Installing bootloader on a mac

Due to a somewhat odd requirement for a particular linux installation, with a particular software suite, I found it best to use ddrescue to populate the harddrive with the partitions and their data. ...
0
votes
0answers
11 views

How to get stdout of a “lost” session

I don't well what's the name of the situation, I think yesterday I closed a session with a background ipython process, but I am still able to connect to it (the process is running a web server and I ...
0
votes
1answer
10 views

Should I trust htop or top when it comes to RES memory?

I am writing a program to test some memory usage metrics on our systems and I want to hit a target memory consumption. You execute my program via meminflate.exe -G 103.1 if you want to take up 103.1 ...
1
vote
2answers
17 views

Auto Sync Linux clock

How to implement the automatic synchronization of clock (date and time) in Linux? What is the best mechanism? Googling, I've found this: ...
1
vote
1answer
12 views

Unprocessed orphan inode list in VirtualBox VM

Recently while using my VirtualBox VM, the system crashed. Afterwords, the VM would no longer boot (I am using Vagrant). In my troubleshooting, I turned on the VirtualBox GUI and found that the ...
0
votes
2answers
12 views

How do I find out how long a command has been running for using time command?

I have a long mysqldump thats been running for over 2 days now (many 100s of GBs of data being archived). I started the command with time so that I could see how long it took when it finished. Is ...
17
votes
6answers
30k views

Command line SVG and image file viewer in Linux?

Is there any command line (pipe-able) graph viewer for SVG and JPG/PNG image files? Especially that, the graph/image files are output thru pipe line, rather than plain files, so there must be option ...
0
votes
1answer
13 views

How to configure a cron.d crontab file for root

What's the procedure for installing a cron.d crontab file to be run as root? I have a script I want root to run every 10 minutes, so I installed the file /etc/cron.d/mycron: SHELL=/bin/bash ...
1
vote
1answer
112 views

Set nautilus up action to backspace

I use arch linux. I had changed the Up action of nautilus from Alt+left arrow to Backspace. But after a full update, it reverted back to Alt+left. I checked the file '~/.config/nautilus/accels' but ...
0
votes
0answers
7 views

add folder to path or copy symbolic links to existent directory in path?

I am running some script on a server, making use of environment modules: basically, when I load a module for some software, it prepends the path with the folder of the software. I am loading a lot ...
1
vote
0answers
18 views

Give CPU priority to certain process

I'm setting up a scheduled backup for my server. Sometimes it takes too much CPU and slows down other processes. Due to certain constraints I cannot change the schedule, and I'm wondering how can I ...
0
votes
0answers
6 views

Minimal window manager for industrial control application with OpenGL + transparency

My company am currently working on a large graphical Linux PC based application for use on factory floors, controlling a specific machine tool. During development we test it on a full-blown desktop ...
-1
votes
1answer
24 views

How the internal pipes in linux work?

When I do ps , ps will show that in the list. But when I do ps | grep hello even though ps is the process , grep is the process shown. Is it that pipes work that way ? How is the pipe read fd closed ...