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.

learn more… | top users | synonyms

13
votes
2answers
973 views

Is it possible to retreive the content of a running bash script from ram

I have by accident overritten a very complex bash script, where I tried to implement scoping and threading in a tidy way now the same script is still running but the file is no more, question is: Is ...
0
votes
0answers
145 views

How to access CD-ROM inside kvm guest machine?

I am using KVM in Scientific Linux 6.4 Inside that KVM again I installed Scientific Linux 6.4 as a guest. Now I want to access CD-ROM from that guest machine. In the command prompt it not showing any ...
2
votes
2answers
1k views

Is there a way to restart badblocks?

I have a 1TB drive that I'd like to run badblocks on, but as I understand it would take about 3 days, I'd like to run it in chunks ( say overnight each night ) so the computer it's in is available for ...
2
votes
4answers
679 views

Add a display to let user wait in bash

I am looking for a pretty stupid piece of code for bash that will show a kind of "please wait" rolling display, with the characters : - \ | / The first problem is that I don't know the name of this ...
3
votes
4answers
237 views

How do I display the disk space purging a package would free under Debian?

I would like to remove unneeded packages. I have already removed large files (using k4dirstat) and the only left bit is a few hundreds of packages I installed but I do not use most of them (the ...
8
votes
2answers
9k views

How to configure permissions for linux NFSv4 client with Synology NAS?

I have an established Linux server (Ubuntu 12.04) and a new Synology NAS and am having trouble getting correct NFS user permissions on the mountpoint. The server also mounts an NFS export from ...
0
votes
0answers
109 views

My group (according to /bin/id) has rw access to a Char device but access is denied

I am in the group graphics shell@lt03wifi:/ $ id uid=2000(shell) gid=2000(shell) ...
0
votes
1answer
326 views

On Linux, can I forward wlan0 to eth0, and wlan1 to eth1?

I have the following simple situation: two internet connections via two distinct ethernet NICs, eth0 and eth1, and two APs (I use hostapd, of course) on two distinct wireless cards, wlan0 and wlan1. ...
8
votes
5answers
4k views

How to get rid of this vertical line in Geany

There's a random line going through my code in Geany, and it persists to stay there upon restarting the application. How do I remove it? Screenshot:
1
vote
0answers
1k views

USB keyboard randomly stops working (can't reset device error: -32)

Once in a while (extremely rarely, maybe once every few months), my keyboard stops accepting input, seemingly randomly. The mouse is dragged down at the same time. What I tried initially: ...
2
votes
1answer
334 views

How to delete file with no write permissions for any user?

I find myself in a strange situation where a script wrote files with the following permissions: -r-------- 1 user1 user1 file1 Dec 24 14:53 -r-------- 1 user1 user1 file2 Dec 24 14:54 -r-------- 1 ...
0
votes
1answer
1k views

Changing permissions (read-only) for specific user for specific folder and sub-folders/files in RedHat?

Question is about user permissions in RedHat. How to give read-only permission to specific user just to read a specific folder and its sub-folders and files? How can I do it? I've tried: chmod a+r ...
0
votes
1answer
72 views

Linux as a VMWare Player Guest - Audio Performance?

I would like to be able to make phone calls in a Linux guest under VMWare Player. At this point I have a Linux Mint (Olivia, Cinnamon) in which both Skype and Google Chat phone calls are choppy, ...
4
votes
1answer
2k views

Can cat be used to clone a partition?

For example, can I do: cat /dev/sda1 > /dev/sda2 instead of using dd, and if not, why will this not work?
6
votes
1answer
6k views

how to remove full path when doing tar.gz compression

I'm using this command to archive a directory named g from java code: tar czf /a/b/c.tar.gz /e/f/g When the tar file c.tar.gz is created, I find an entire path e/f/g then all files of the g folder ...
1
vote
0answers
104 views

I found two groups in Slackware 14, named nogroup and nobody. Why?

I wonder why in my Slackware 14 (32 bit) distribution there are two groups named "nobody" and "nogroup": bash-4.2$ cat /etc/passwd | grep nobody nobody:x:99:99:nobody:/:/bin/false bash-4.2$ cat ...
3
votes
1answer
60 views

Is there a native way to access older clipboard entries in linux?

I'm looking for a method that doesn't use an external clipboard manager (at most, xclip). I tried xclip -o, but that only gives me the latest. Is there a way to step back without a manager?
0
votes
1answer
86 views

System wide keyboard layout

Is there a way to change the keyboard layout of the whole system to another layout? I am using a bunch of window managers and I don't want to have to setup the layout for every one. I am using a ...
1
vote
2answers
184 views

Is it safe to replace hardware while a PC is suspended to RAM?

Is it safe to replace hardware while a PC is suspended to RAM? Specifically: Can you unplug an external hard disk without losing data? Can you replace components like a drive or a PCI-express card? ...
0
votes
0answers
16 views

Why do we need /lib in linux in 3.* kernel?

I have a host installed with fedora19 64bit, I saw the directory of /lib and /lib64. In fhs, it says, normally, /lib is a link to /lib64 or /lib32, but it seems not in fedora or other linux dist with ...
0
votes
1answer
192 views

How to make the networking between the host and the target?

I installed QNX IDE, Libraries and developemnt tool on Host system and QNX real time operating system is installed as a Target system : the target system runs the QNX Neutrino RTOS itself plus all the ...
0
votes
1answer
307 views

Consistent RAID 1 or equivalent solution across Windows, OS X, and Linux?

I just built a new computer containing a 256 GB SSD and two 1 TB Seagate hard drives. I'm trying to find a good solution for having the two 1 TB drives mirrored, and keeping this mirroring working ...
1
vote
0answers
365 views

mdadm: faulty Array, how to get recover as much as possible?

I have a RAID5 with 4 Disks in my PC. All of them were healthy (and the RAID itself) until before. I tried to install windows 8.1 which automatically creates this "SystemReserved"-Partition. The ...
0
votes
1answer
95 views

Secure wtmp file

I wanted to know if /var/log/wtmp file can be protected against someone modifying/deleting it. I notice that using 'chattr +a /var/log/wtmp' doesn't work. Are there known methods to safeguard the ...
-1
votes
1answer
110 views

Installation of flash player for Slackware/KDE4/Firefox

Help Please, From the instruction in the readme.txt file that was with the download sudo cp libflashplayer.so /usr/lib/firefox-15.0.1/browser/plugins sudo cp -r usr/* /usr I have the lib file @: ...
1
vote
1answer
1k views

Routing traffic of wlan1 through vpn and traffic of wlan0 to eth0

I am trying to setup a wireless router and make use of a vpn. As I am fairly new to this secific topic. I hope somebody here can give me a hint or if possible a practical solution. I have searched the ...
1
vote
1answer
140 views

sudo apt-get install -y liblog4cxx10-dev failed

When I tried to install the package liblog4cxx10-dev, it reports the error as follows: Some packages could not be installed. This may mean that you have requested an impossible situation or if you ...
0
votes
1answer
990 views

ifuse mount iPhone for different users (permissions)

I'd like to mount my iPhone 4 filesystem on my Raspberry Pi using iFuse and let other users access this mount point. I can successful mount the FS as a normal user [gotschi@berry ~]$ ifuse ...
1
vote
1answer
11k views

Install driver for RT5370 on Ubuntu

I try to install a driver for my wireless adapter Ralink RT5370. I downloaded on the website http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501 the driver for linux. Then I have modified ...
0
votes
1answer
619 views

routing between interfaces and nat (ip aliasing)

I've 2 servers, both connect by switch0 (no vlan) server1 has 2 NICS eth0 --> switch0 ppp0 --> modem --> internet cat /proc/sys/net/ipv4/ip_forward 1 192.168.1.0/24 192.168.1.212 netmask ...
0
votes
1answer
439 views

how to call .R script using .sh in windows

I have an analysis to run in skatMeta (R package). I received a runscript.sh that calls myfile.R to run the analysis. However, the script is written for Linux, but I only have Windows. I installed ...
17
votes
4answers
13k views

How to create a random .txt(Human readable text like ascii) file in linux

I need to create a text file which should contain random text data that can be read by human. I know that we can use /dev/urandom and /dev/random for getting random data. But it is not readable by ...
1
vote
2answers
762 views

Can't boot up xubuntu

I've been running a small personal server for my own needs for a couple of years on an old computer that I got for 2 chocolate bars from a friend. I installed xubuntu since the machine was old enough ...
0
votes
1answer
1k views

How to force a process to run on a single thread only with numactl?

My local machines has multiple CPUs, each has multiple cores, and each can support multiple threads. I have a multithreading process that I want to force to run on a single thread only. I understand ...
1
vote
0answers
1k views

SMART ‘Reported Uncorrect’ field

When smartd sends an email about the amount of Offline_Uncorrectable sectors has increased, they do not increase Reallocated_Sector_Ct after manual fix (erasing with dd for example), as one might ...
2
votes
3answers
866 views

Debian (crunchbang) enable audible terminal bell

I've been trying to figure this out for over a month, with no real success. I an running debian testing (crunchbang), and the distro has tried to remove all beeps/bells/etc. I've tried using fancy ...
1
vote
1answer
670 views

Sending Linux commands over serial connection to an Android device

I have a question about being able to send Linux commands over a serial connection to an Android device. I have heard of PuTTY and tried to use it, but I am ultimately lost with it. I was in the ...
0
votes
0answers
184 views

SWF file from website crashes computer on Ubuntu 12.04.3 LTS but not Win 8

If I visit the website (with Firefox 26.0 or Chrome) http://betway.com/sports-betting then on Ubuntu 12.04.3 LTS (on a brand new Lenovo S540, Haswell i7, 8Gb RAM, 10gb linux swap-drive), and use ...
1
vote
1answer
3k views

Web Browsers for Oracle Linux

I'm working on Oracle Linux as a de velopment machine. I'm looking for a web browser, but I can't seem to find them: $ rpm -qa | grep -i web pywebkitgtk-1.1.6-3.el6.x86_64 ...
1
vote
0answers
169 views

Switching left alt and left win

I have a Thinkpad X230 (german layout, [edit]running linux[/edit]) and I want to switch the left win- and the left alt-key somehow with the right alt-key (AltGr) not being touched. However, I haven't ...
0
votes
1answer
332 views

Simple bash gpg update script

I have a text file in which I save all my important personal data like all my accounts' passwords and my credit cards' PINs in case I forget those. Obviously, that file needs to be encrypted, so I ...
-1
votes
2answers
237 views

zip subtitle files recursively on linux

I got 2 main folders Peliculas and Series, as you may guess Peliculas has movies on it (some of them on their own folder, the ones that have more than 1 file) and the folder Series has tv shows. What ...
0
votes
2answers
522 views

Expose virtual machine to internet [pentest lab]

I would like to create a virtual machine using virtual box for making a hacking lab and allow someone to try to hack it from internet. (So the virtual machine would be the victim). How can I do that? ...
-2
votes
1answer
3k views

Why is there Permission denied in .conf files in Linux Kali Operating system?

Why is there Permission denied in .conf files in Linux Kali Operating system? to enabled eth0 in linux kali. because no wired connected shown. i tried linux command as bellow ...
1
vote
1answer
249 views

Linux server with no video adapter

I have an old AMD Athlon II X2 system that I was thinking of installing Linux (not decided on distro) onto to use as a server (e.g. Minecraft), but it does not have a display output, the Athlons don't ...
1
vote
2answers
9k views

Fedora-20 not booting from Live USB stick

I tried to configure my USB with the image file for the latest Fedora-20 release using Image Writer. When I try to boot the installation from it in my PC the boot-loader is showing up but the load ...
0
votes
0answers
25 views

Fast removal of millions of files on a remote compute cluster [duplicate]

I would like to know what's the fastest way to remove massive number of files on a remote compute cluster (linux). I have 1000 folders to delete permanently - each containing about 200k files with ...
0
votes
0answers
69 views

Portable X11 for Linux(Debian Wheezy)

I need a portable X11 server. That is - everything to be in one directory - configs, shared libs, binaries, etc. How should I go about achieving this? The idea is to put X11 in my initrd. I am using ...
0
votes
1answer
472 views

Hacked ubuntu pc? Broadcast messages

I have a fresh ubuntu 13 os installed on my system with almost default programs installed. But whenever I shutdown my pc i got these messages. Broadcast from root@.. (Unknown) at ... The system is ...
0
votes
1answer
652 views

Does wget have a download history?

I have used wget to download several compressed packages(in a failed attempt to manually emulate apt-get, if that is of any significance), and I don't remember the packages' locations. Is it possible ...