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

1
vote
1answer
3k views

Using iw to add a virtual wireless interface, getting the error “No such device (-19)”

I am trying to add a virtual wireless interface to my debian squeeze system using iw. The output of iw list is shown below: root@alix:~# iw list Wiphy phy0 I am using the command: iw dev phy0 ...
0
votes
2answers
23 views

Creating remote user to launch one file

Here is the problem: I have made something with python that works with virtually any OS, except windows, and I have been told the people who are going to evaluate/use/try it only have windows ...
2
votes
1answer
2k views

Opening firefox in a centos linux terminal

I am trying to run Firefox from the terminal on a server using a centos operating system. Whenever I type in the command: ssh - X hostname firefox I can get firefox to successfully open, but I ...
0
votes
1answer
2k views

Gnome and Cinnamon loads in fallback mode only

So I have been using linux mint for a while now. A few months ago my Gnome shell crashed and I was unable to use the full 3d features and loaded into fallback mode only. From that day (around 2 months ...
0
votes
0answers
9 views

Command 'at' does not work in one Synology NAS, though it works perfectly on another

I have installed at command on 2 different NAS synology. On 1, it works perfectly, on the other I get the message: Villars1> echo "touch /tmp/tt" | at now next minute warning: commands will be ...
0
votes
1answer
32 views

Grub doesn't see external drive (Intel mac)

I have an Intel Mac (MacMini) and an external usb-drive. On the internal drive, I have a partition with an OSX install, and one with Ubuntu+Grub2. On the external drive, I have a copy of my complete ...
1
vote
2answers
2k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
0
votes
1answer
26 views

How to shuffle large text files efficiently while piping it on Linux?

I have a text file that is couple GBs. I am trying to shuffle this text file in a pipe. For example these are some sample lines of what I am using but it is not efficient and in fact the pipe does ...
3
votes
6answers
236 views

Synergy broken on Windows 8.1 + HDPI

When I run synergy and move the cursor to a client, the cursor goes invisible and sticks to the bottom right corner of the screen (triggering windows peek). This renders all computers useless until ...
0
votes
1answer
22 views

ssh authorized_keys permission denied only until file is listed/stat'ed - VERY STRANGE

Ubuntu 14.04LTS running openssh. I'm getting a Permission denied (public key) when I try to ssh in using my public key. /var/log/auth.log shows "Could not open authorized keys ...
2
votes
2answers
2k views

RSYNC Does Not Delete Source Directories

I'm using rsync to essential fetch files off a server, then delete the files from the server once I have them locally. The full command I'm running is below. This does successfully delete the files ...
40
votes
9answers
41k views

How to clear the contents of a file from the command line?

I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, ...
8
votes
1answer
87 views

Hooking Linux machine to secondary router/ISP: how to setup routing correctly?

Abstract: I have (I presume routing) issues when adding a secondary ISP to my existing network setup: incoming traffic through Router1 is not answered, but local traffic and incoming through Router0 ...
1
vote
2answers
18k views

fstab line for auto mount drive that all users can read/write

I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection. I would like to be able to swap drives on the ESATA connection and have all ...
17
votes
2answers
9k views

How to have Linux ls command show second in time stamp

Something annoying about ls -l command is it shows only hour and minute for a file(like 08:30). How can I see the second portion(like 08:30:44)? man 1 ls and search for 'second' does not give any ...
0
votes
0answers
6 views

How to install cached linux debug symbols?

I am doing work which requires downloading and installing debug symbols multiple times for a specific linux kernel i.e: linux-image-3.8.0-26-generic-dbgsym I'm on a fast university fiber network. ...
12
votes
1answer
8k views

Resume transfer of a single file by rsync

In Ubuntu, I want to copy a big file from my harddrive to a removable drive by rsync. For some reason or other, the operation cannot complete in a single run. So I am trying to figure out how to use ...
0
votes
1answer
44 views

Reading a file from an alternate location

I have a certain file (data.abc) located in, say, my home folder. I make a copy of it to another location (for example, "/mnt/ramtemp/"). Whenever the file in my home folder is accessed by any ...
1
vote
1answer
4k views

How to interpret and fix a Input/output error in Linux?

I am running a daily backup with rsync. Starting some days ago, one of the files has been throwing this error during the backup: rsync: read errors mapping "/home/folder/file.ext": Input/output error ...
0
votes
1answer
13 views

Does opening a Windows file in Linux update the file's access time?

I've got two hard drives in my computer, one with Windows and one with Linux (Vista and Mint 16, respectively). If I boot up Linux, I can then mount the other hard drive and access files on it. Each ...
0
votes
0answers
54 views

How to always let rsync continue when (permission denied) error occurs

The following error happened with a rsync task. rsync: send_files failed to open "/home/user/scripts/@eaDir/script.js@SynoEAStream": Permission denied (13) rsync error: some files/attrs were not ...
0
votes
1answer
30 views

Sudo Cmnd_Alias Optional Arguments

I would like to allow a command to be run under sudo with or without arguements. For example, both of these should work: rm -f /etc/stuff rm /etc/stuff/item.txt To get this to work, I need this ...
2
votes
2answers
114 views

Are there any issues of have huge files in HD in a 32 bit system?

I know that in 32 bit systems the largest memory we can have is 4GB (2^32). But I am not clear what is the implication of this in terms of files. I think that we can have files of arbitrary size in ...
5
votes
4answers
1k views

Relation between device, device driver, device file and mounted point

How are devices, device drivers, device files and mounted points related in Linux (I am a beginning user of Ubuntu)? My understanding about them is quite vague; I hope there will be some clear ...
106
votes
3answers
24k views

How to turn off word-wrap in less

Short version: How can I make the less utility in Linux not wrap lines? Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first ...
1
vote
1answer
23 views

My disk at half size after formatting

I'm a long time linux user, I'm also a Windows user, after formatting my brand new USB dongle I get ~30Gb from the partition table available to create a new partition where the nominal capacity of the ...
0
votes
1answer
16 views

Run PHP at specific time - oneliner

I'm trying to run some code that sends an SMS at a specific time in the future. All on one line... Here's my command line command: php -r ...
2
votes
2answers
697 views

Unable to write files on CentOS

I have a VPS running on CentOS 6 and apache2 as webserver. I have several PHP scripts running in my server, and everything goes smooth, except to file writing. For some reason, my PHP scripts are ...
1
vote
0answers
14 views

how to create ubuntu installable iso image from files

this might be a quite silly question but I lack linux knowlege so here it is... I have an ubuntu VPS from which I need to create a development environment under my WMWare. So I wonder if the ...
0
votes
0answers
5 views

Issues configuring IPv6 on Red Hat 5.8

I'm new at linux and i'm trying to configure IPv6 on a Red Hat 5.8 due a specific application I'm working on. This Linux is installed in a VMWare 8 and the IPv4 is working fine! I can ping the host ...
0
votes
4answers
2k views

Network interface/dhcp problems ubuntu with kvm and network bridge

I have a ubuntu system running 12.10 I am using KVM and have configured a bridge for the virtual machines, which is using nat forwarding. I am having problems with the connection dropping out ...
0
votes
2answers
224 views

create file in directory without x permission set on directory : How?

From this page, http://content.hccfl.edu/pollock/aunix1/filepermissions.htm, I understand that I need the +w bit set in a directory to create a new file and +x bit to cd into it/access its inode. So ...
3
votes
2answers
2k views

How to change the resolution of the TTY on Arch Linux

I followed the Arch beginner's wiki to install on VMWare player (host is win7) Arch without x-server and I would like to know how I can change the resolution of what I think is called a TTY to make ...
0
votes
1answer
31 views

Prevent user to read files from vfat filesystems - but allow to write

Its possible do that? I want to mount a flash drive(vfat) in linux and the user be able to write to it but not to read. I've tried: mount /dev/sdb1 /media/mpoint -o fmask=0444 but no results. ...
0
votes
0answers
13 views

Is it possible to recover ext4 journal state before inode corruption?

First of all I'll describe my situation: I decided to make some partitions cleanup, resize, etc (not creating damn backup). Then I wanted to shrink filesystems, so I closed computer and booted some ...
-2
votes
0answers
12 views

what are software repository and i386 directory and difference between them [duplicate]

I did lots of search and could get a satisfactory answer for what exactly is a i386 directory. I don't have that in my C drive. But my external harddrive had a folder(134f21d34234fh242f4) with weird ...
1
vote
0answers
15 views

Extra keyboard for hotkeys - Linux

I found how to have different layouts on 2 different connected keyboards here, but I want to re-map the keys on a second keyboard for web development. Preferably, I'd have keys that would type out ...
0
votes
1answer
33 views

Transferring Linux OS from one drive to another with different partitions

First of all, some related questions: How to move from one drive to another that's a different size? What utility can move my Windows boot partition over to another hard drive? My situation is as ...
-1
votes
0answers
3 views

xargs + pv = messed up terminal

if i want a little progress indicator on my long-running operation i can use pipeviewer: ssh pc2 cat some.file | pv -nC reading | gzip --fast | pv zipping > some.file.gz this gives me a fun ...
1
vote
0answers
40 views

VMware Virtual Machine recover files without mounting

I transferred the directory with my VMWare Virtual Machine Linux Mint to a new harddisk. I didn't know that I had to change the directory path in the VMware settings, so I couldn't mount my Virtual ...
0
votes
0answers
10 views

Zorin no Kernel. Hard Drive is completely wiped after installing

I installed Zorin successfully, but I wiped eveyrthing that was previously on my hard drive. So when I boot up I'm in grub. I typed "grub> boot". But its saying I need to load a kernel. I have no idea ...
0
votes
0answers
13 views

install Java SE SDK 5 on Chromebook

So I turned on the developer mode, installed Crouton on my Samsung Chromebook and used it as a linux ever since and it's been great. Now I need to install Java SE SDK 5(maybe 4 also) to perform some ...
0
votes
0answers
9 views

Keeping two synched sets of mailboxes

I have a desktop at work, a desktop at home, and a laptop (all linux). My laptop usually stays in my office, because even though it's light, I don't care to carry useless weight: I have remote ssh ...
0
votes
1answer
20 views

Complete yum history

When I run yum history I get a list of the last 20 yum operations. If I didn't clean my history, is there a way to get a full list? Does yum only keep track of the last 20 operations? Is there a ...
0
votes
0answers
8 views

Install measuremet lab's command line client on ubuntu(Linux) for speed test

Is there any script or simple way to install ndt on Ubuntu. Installation process on site says that we have to patch w100 file to kernel and much more which is too complex so I am in search of simple ...
0
votes
0answers
21 views

How to install top & htop on Ubuntu 8.04.2 LTS (hardy)

Env. Rackspace Ubuntu 8.04.2 LTS (hardy) I am in a corner situation where I need to maintain carefully a legacy server before I can plant for an upgrade. Actually an upgrade is not an option, I ...
4
votes
2answers
87 views

What is file ']' ? How is it created?

I wonder how this file got in my directory? When I run ls -lrt it shows -rw-r--r-- 1 and size 117562 . Can I get any directions for this?
0
votes
1answer
21 views

watching output of “ps aux | grep blah” in tmux will not work?

I am trying to run this - watch "ps aux | grep myShittyProcess" in a tmux session. This process myShittyProcess was also started in a tmux session. The ps aux works without watch command. But as ...
1
vote
2answers
65 views

How does multiarch works?

I'm trying to set up a multiarch rootfs for a system which can run both endianess from the same kernel. Of course, I can' t mix libraries of different endianness inside the same program. On top of ...
0
votes
0answers
13 views

How to execute a long shell command with parameters in Python? [on hold]

This is a shell command that makes an xml from a pcap file: tshark -r something.pcap -T pdml > someting.xml I want to write a python script that does this automatically with all the pcap files ...