Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

How to encrypt data in bitbucket without losing git diff tools?

Based on this question:encrypt files before sending them to cloud. considering openssl: For example when using openssl we can write the files fooenc.sh: #!/bin/sh openssl enc -bf -nopad -pass pass:...
ePascoal's user avatar
  • 141
9 votes
0 answers
2k views

How do I install Nix on a custom directory?

I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
Rahul Gopinath's user avatar
1 vote
0 answers
182 views

Linux Mint: Switch Wacom pen sides

I am running Linux Mint 17 x64 on Cinnamon. I have a Lenovo Thinkpad X220 with tablet. My pen has something wrong with it (Windows and Linux) where the eraser and pen are flipped when it registers. ...
Jake's user avatar
  • 213
2 votes
1 answer
3k views

Create custom PCM device in ALSA

How can I create custom PCM device with dmix-slave and use it in audacious without touching global PCM? Is it even possible? I tried miscellaneous configurations but no luck. ALSA asound.conf syntax ...
rfx's user avatar
  • 121
2 votes
2 answers
2k views

NetworkManager icon on notification area is not present

I have noticed that recently the NetworkManager icon is not present on the notification area plugin on my XFCE panel after every fresh login; however, I am able to see its notifications and it in fact ...
arielnmz's user avatar
  • 3,326
0 votes
1 answer
2k views

SSH on Raspberry Pi (OpenELEC) not working

I am not able to use SSH to connect to the Raspberry. Raspberry Pi B+ OpenELEC 5.0.8 (SSH enabled) wired eth0 (recognized during setup) 10.190.135.xxx IP address If I ping the said 10.190.135....
Jeff45's user avatar
  • 1
0 votes
4 answers
56 views

What issue exists when multiple lines of 'date' are used in bash?

I'm currently reading through a book on bash programming, Pro Bash Programming. At one chapter (Chapter 4) they ask what problem the following script has. I myself have no clue after reading through. ...
Rizky Fakkel's user avatar
2 votes
0 answers
3k views

Permission to execute denied for every file in /tmp

When I try to execute any program from the /tmp directory, it shows me /tmp/file_name: Permission denied. The same error is shown when I simply enter /tmp. The file system for /tmp is ramfs. I've ...
Awais Chishti's user avatar
0 votes
2 answers
638 views

Flash not showing in /dev but I see it in lsusb

I have a USB flash drive. I formatted it some time ago, and an copy of my Bitcoin private keys were on it. I would like to recover it (it was formatted as Ext4, if I remember). After plugging the USB ...
tensojka's user avatar
  • 415
2 votes
0 answers
283 views

How do I disable devices to conserve power?

I run ArchLinux on a Lenovo G series and downloaded powertop and it says that USB bluetooth and "USB device: Lenovo EasyCamera" are drawing a lot of power. While it advised I implement these rule: ...
Cyrus Fischer's user avatar
1 vote
2 answers
398 views

Modify a large file, then be able to rollback changes doing it (almost) inplace

I'm recovering data from a damaged 500GB disk drive. I'm copying data (ext4 partition) to a 500GB image file. The process is taking about 3 months of copying in total (yes, months). So I'm using dd ...
Dertalai's user avatar
  • 393
0 votes
1 answer
2k views

KODI remote isn't working

I'm trying to correctly configure KORE, the official Kodi Remote app for Android, but I'm unable to do so. My copy of Kodi is installed on a laptop with openSUSE as a base system, and both it and my ...
Sekhemty's user avatar
  • 9,386
2 votes
1 answer
332 views

How can my home server accept and reply to connections from the Internet when OpenVPN client is running?

I have a headless home server running Ubuntu Server 12.04. A 3rd party website (to which I'm subscribed) periodically sends commands to a daemon on my home server which in turn responds to the 3rd ...
x-x's user avatar
  • 495
1 vote
3 answers
7k views

Fedora 21 reports root file system as 100% full, cannot use yum

When I try to use a yum command like yum update the terminal yields this: Error: Insufficient space in download directory /var/cache/yum/fedora * free 0 * needed 100 k When I execute ...
PierreBogart1989's user avatar
3 votes
1 answer
696 views

How to find the difference between bash completion rules on different hosts?

In my desktop computer with opensuse 13.1 I can press Tab in something like ls *.dat[Tab] and I get the autocompletion or with [TAB TAB] a list of possible matches. However, in my laptop with ...
alexis's user avatar
  • 151
1 vote
0 answers
1k views

LVM: "Volume group is not consistent" and "Incorrect metadata area header" but volume still mountable

I'm on Ubuntu 14.04 with a volume group that has 4 disks in it: Incorrect metadata area header checksum on /dev/sde1 at offset 4096 Incorrect metadata area header checksum on /dev/sde1 at offset ...
sagargp's user avatar
  • 131
1 vote
2 answers
74 views

How to add the filepath to a specified line of a file using bash script?

I have the following bash code: echo "Enter an input path" read -e input_path OLDTEXT="\put(0,0){\includegraphics{/" NEWTEXT="\put(0,0){\includegraphics{$input_path/" find . -...
Bob's user avatar
  • 13
3 votes
3 answers
713 views

Can I get Emacs to save a local copy when editing a remote file?

I know I can edit a remote file over SSH by opening a file path of the form /ssh:user@host:/path/to/file. However, right now I'm working on a kernel module in a Linux VM. Since my kernel module might ...
Cornstalks's user avatar
1 vote
1 answer
294 views

Is a btrfs RAID1 mountable if the added device isn't available/offline/failed/degraded?

Assume I created a RAID1 with btrfs's functions (btrfs device and btrfs balance subcommands instead of mdadm) like so: btrfs device add /dev/sdxZ /dev/sdxY btrfs balance start -dconvert=raid1 -...
Kalle Richter's user avatar
19 votes
1 answer
3k views

Are there any good reasons for halting system without cutting power?

Are there any good reasons to halt a system without switching off power to the hardware? I mean using the halt command without using the -p switch. I haven’t been able to find an answer on the ...
Zafan's user avatar
  • 193
1 vote
1 answer
1k views

Route traffic through google servers or google proxy

I am using Kali Linux on a 384kbps internet. But when I download from google server eg. from google drive or gmail, I get download speeds upto 3mbps. Our ISP has allowed unlimited bandwidth only for ...
Antony's user avatar
  • 113
0 votes
1 answer
318 views

How to select files with spaces in their name in a terminal?

When using gnome-terminal which is the default on Linux Mint, I can select files using a double click. For example: user@hostname $> ls 1.file.name 2-file-name 3 file name with spaces This ...
fswings's user avatar
  • 873
0 votes
2 answers
258 views

Transparently split file | Hardlink to file part

I have really big file (TrueCrypt container) and I want to save it in some cloud, but it has constraint on file size, limiting to 2 Gb, also it has some tool to sync directory. The idea is to create ...
smt's user avatar
  • 93
1 vote
1 answer
341 views

Some characters in zsh don't show until the key is released

When inputting specific characters in zsh shell (in my case e and ;) they don't show up immediately after pressing the key. Instead they only show up a short time after releasing the key. When these ...
Nycrea's user avatar
  • 13
1 vote
1 answer
2k views

Synology ssh port receiving too many intrusion attacks, how to ban systematically?

I have a synology NAS which I leave at home, and leave it open so I can access it remotely from the office. One of the useful things to do is enable the ssh port so I can access it with my terminal. ...
knocte's user avatar
  • 5,941
3 votes
1 answer
14k views

Older History of commands linux

I want to check history of commands on my linux server that dates 1month and 4 days old, but the history is showing up to 1 month only (I was late checking it earlier). I know the ' History ' command ...
Peter Hayek's user avatar
2 votes
2 answers
4k views

can we do the full disk encryption of a already installed Linux machine?

I need some information regarding any possibility to do full disk encryption for a already installed Linux system(e.g centOS or Ubuntu). Is there any default mechanism for FDE present in Linux like "...
Govind Karmakar's user avatar
0 votes
1 answer
1k views

Unable to boot Ubuntu 14.10 on Toshiba Satellite C55D with UEFI boot mode

I am trying to get Ubuntu 14.10 to boot on my Toshiba Satellite C55D-B5212. I have UEFI boot mode and Secure Boot enabled. The Ubuntu live USB stick booted without issues and the install seemed to ...
Dave F's user avatar
  • 185
0 votes
0 answers
194 views

Windows 8 partition safe to delete

I'm fairly new to Windows since XP. After Windows XP, I happily moved to Linux. Now, I'm back and am looking to dual boot a new Windows 8 machine and am a little disoriented on the new partition ...
codechimp's user avatar
  • 101
3 votes
2 answers
1k views

Parse file from certain line onwards in bash on Linux

I have a CSV file containing the following registers: Name,Phone,Country John,N/A,USA Max,N/A,USA Name,Color,Size John,Blue,M Max,Red,S How can I read only the registers from Name,Color,Size and ...
arielnmz's user avatar
  • 3,326
0 votes
1 answer
138 views

Debian user desktop not working on TightVnc

I have a BBB with tighvncserver on it. Iam trying to connect from my windows pc via tightvnc to the beagleboard. With root its working fine. The desktop displays correctly. See attached Screenshot ...
Paks's user avatar
  • 111
0 votes
0 answers
1k views

DD-WRT: /tmp folder permissions

After making a simple hello world OpenWRT package I installed it to the /tmp folder on the dd-wrt device. The program shows up in ls /tmp but when I try to execute it, it shows me /tmp/helloworld: ...
Awais Chishti's user avatar
0 votes
1 answer
2k views

How to rsync a folder and subfolders using filenames only?

I would like to synchronize files from the folder /media/alex/Disk1/Movies to the folder named /media/alex/Disk2/Movies. I want to copy each file from /media/alex/Disk1/Movies or a subdirectory to the ...
Alex's user avatar
  • 666
3 votes
1 answer
2k views

VMware Workstation - Linux/gnome screen saver locking of guest and host

I've got some RHEL6 machines that run VMware Workstation 11 on them. The host and the guest are required to have a screensaver enable after 15min of inactivity that goes to a lock screen. My users ...
sp00led's user avatar
  • 91
0 votes
1 answer
309 views

Kernel Thread that won't exit, Load Average +1

So I have a new server that is up and running with Centos 6, and the load average is stuck hovering around 1, even when the machine is nearly idle. I reviewed the process table and found this running:...
Aaron R.'s user avatar
  • 101
0 votes
1 answer
612 views

the difference with bitrate and frame rate with ffmpeg

I am working on the project that compressed live video with ffmpeg. I want to know what is the difference between -b 2500k(bitrate) and -r 25 (frame rate)? Is the any relation?
user436055's user avatar
0 votes
1 answer
2k views

CPU Load + Frequency per core in linux terminal?

I am doing scientific computing and I need to keep an eye on the cpu frequency and load of each core (there are 2 cores, on Ubuntu 14.04 w/ Gnome3). I can see the frequency with this bash script: ...
Jonatan Öström's user avatar
1 vote
1 answer
411 views

Networking for CentOS 6.6 on VirtualBox

I have created 2 guests with 2 Network interfaces each - all 4 of which have the "Attached To:" set to "Internal Network". The aim is to create a simple internal network with no access to the Host (...
rahuL's user avatar
  • 113
1 vote
0 answers
159 views

Alternative versions of SVN subversion on one Linux machine

I work on Ubuntu with several svn java repositories and they have different versions of svn (I can't update svn version on server side). So is it possible to install old subversion version (1.6, 1.7) ...
Sonique's user avatar
  • 193
2 votes
1 answer
2k views

Send keystrokes to two windows at once

What I want to do: Be able to enter keystrokes while one program is in focus, but also send the same keystrokes to a second program on the other screen. What I have tried: xvkbd - I've tried ...
Josh Raymond's user avatar
3 votes
2 answers
7k views

Windows 10 virtual machine disappears in seamless mode in Arch Linux

I have Arch Linux (64-bit) and I installed 32-bit Windows 10 in VirtualBox. Everything seems to work fine—fullscreen, scaled, etc…—except for seamless mode. When I activate seamless mode, the virtual ...
user435819's user avatar
15 votes
1 answer
35k views

How to check if an attached SSD device is SATA or PCIe on Linux?

I have a machine with both SATA and PCIe SSDs attached. Is there a set of Linux commands (on Ubuntu or CentOS) that I can use to check if a given SSD is SATA or PCIe?
Safdar Iqbal's user avatar
6 votes
1 answer
11k views

Install and Configure Nvidia Video Driver NixOS

The Problem I built a new computer this week and installed NixOS on it. The only problem that I am having with it is that I cannot seem to get the Nvidia drivers installed for it. The computer has ...
jtnix's user avatar
  • 61
0 votes
4 answers
722 views

While loop Bash script that outputs how many users use a certain shell

So I am stuck on trying to create a bash script while loop function that takes the input from /etc/passwd and outputs how many of users use bash, nolongin, csh, and ksh. I believe I am supposed to ...
DoctorWho22's user avatar
7 votes
4 answers
6k views

Find directories that contain more than one file of the same extension

I’m using Debian 8.0 and would like for example to find directories that contain more than 1 .mkv file. I tried this and it failed: find -type d -exec find {} -name '*.mkv' | wc -l\; There is a ...
fswings's user avatar
  • 873
0 votes
1 answer
311 views

Cronjob: Iterate through files

I want to iterate through a list of bash scripts with a cron-job. I.e. every two hours I want to start another bash script. My idea was to set a new environment variable, each time the cronjob script ...
P.R.'s user avatar
  • 101
1 vote
2 answers
6k views

apt-get error when installing git

I just set up a fresh Ubuntu 12.04.5 server amd64 machine on VirtualBox 4.2 (I was having install issues on OSX 10.10 using 4.3) and I'm able to do apt-get install curl but when I run apt-get install ...
s g 's user avatar
  • 1,132
1 vote
1 answer
784 views

how to see NeuG/Fraucheky True Random Number Generator?

I recently purchased an FST-01 from the Free Software Foundation with NeuG and Fraucheky pre-installed: http://shop.fsf.org/product/usb/ I am running Debian Jessie and even when I plugged it in, the /...
fommil's user avatar
  • 417
0 votes
2 answers
735 views

Fedora CHECKSUM giving error in Windows

I've never used Fedora before this. I just downloaded the image from official website (Live Workstation 64bit). I downloaded the CHECKSUM as well. Now when I try to verify the CHECKSUM using the given ...
arximughal's user avatar
0 votes
1 answer
376 views

Port translation - how to scatter outbound traffic across random ports?

I would like to be able to PAT such that outbound traffic for a given destination port is translated to some random port within a range on a per-PDU or per-packet basis. The intention is that ...
J Ivory's user avatar

1
625 626
627
628 629
1178