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
5 views

Loading Nvram with U-Boot via the serial port

Cable modem, the nvram memory seems to be corrupted. U-Boot 1.2.0 bootloader is working, I can connect to modem via serial interface, view boot process and upload firmware. Network connection is not ...
0
votes
0answers
7 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 ...
0
votes
1answer
16 views

Failed to Start DHCP in Linux Redhat, Need Help ASAP

I tried to configure /etc/dhcp/dhcpd.conf file in Linux but it failed as static addressing. How do I fix it? Am I missing any data and is it accurate? I need help. Below is screenshot of my contents ...
0
votes
1answer
135 views

Linux Sabnzbd server permissions

The short version: Sabnzbd and headphones post processing fails due to permission issues on a remote file server where the files need to be stored. How do I allow the local Sabnzbd user to create ...
0
votes
1answer
21 views

Make files which starts with a dote visible for every user

I'm trying to delete an uploaded Dropbox directory, but only receive "550 Access Denied" and i don't know why. I already tried to set the directory permissions to 777 but nothing changed. On the ...
0
votes
0answers
8 views

PostScript - Infinite paper size

I've been making a program for a project of mine that creates a PostScript file whose output then I have to analyze. The problem is indeed in the output, since the graphics consist of some hundred ...
0
votes
2answers
19 views

How do binary files run on different machines?

I always wondered about how executable binary files actually work. Compilation is always stated as taking the source code and translating it to machine language But what does that really mean? ...
3
votes
5answers
218 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 ...
1
vote
1answer
1k views

Fail to encrypt loop back device using cryptsetup

The file is mounted to /dev/loop0. # losetup /dev/loop0 /path/to/container1. While trying to set up encryption getting error: root@ubuntu:/# cryptsetup --verbose --cipher "aes-cbc-essiv:sha256" ...
0
votes
1answer
104 views

Remap keys without xmodmap or any X tools

Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap. However, that caused a few ...
0
votes
1answer
51 views

setxkbmap: how to apply options to a specific device only?

I have two keyboards, one used primarily for typing and the other for R&R. The latter is Razer Orbweaver, which is like a half of a normal keyboard with several other keys slapped in various ...
1
vote
3answers
2k views

how to make tcpdump to display ip and port number but not hostname and protocol

I'm using tcpdump for some tests I want to see the IP and port number but the output of tcpdump is like IP pl1snu.koren.kr.http > kitch.pl.sophia.inria.fr.dnp: Flags [P.], seq 54:72, ack 1, win ...
1
vote
2answers
22 views

Can I Soft-Link files from my desktop to a server in Linux

I am looking for creative ways to sync my vim files (~/.vimrc, ~/.vim/) on the server I am running. Can I soft-link files from my desktop machine (Fedora) to any of the nix servers I am on?
0
votes
2answers
13 views

sub folders access to multiple groups

I Have a shared directory Department, it has 3 sub directories department wise Account, Sales, Presales and each sub directory have there department employees directory in the same like acc1, acc2, ...
39
votes
8answers
40k 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, ...
0
votes
3answers
40 views

Starting programm into window manager

Is there a way to start a program from a terminal, that is not a "child" of the window manager (p.e. XFCE), into a window manager? The executed program has to be detached form the terminal (and my ...
0
votes
0answers
4 views

Missing xterm-256color and screen256-color entries in terminfo

The results are confusing when searching for xterm-256-color and screen-256-color in terminfo. Looking for xterm-256color, i get xterm+256color. What's the difference between the two, one with "-" ...
0
votes
4answers
110 views

Execute a command when vim exits

Is there a configuration I can add to a .vimrc file which will cause vim to run a command when a file is closed? For instance, suppose I'm editing a file that is under version control. Once I'm done ...
0
votes
1answer
12 views

Default save location for different OS

I am making a web application that needs to save files on the client machine. The problem is that the client can be using different types of machines/OSes. I need to hard code (I think) a pathway to a ...
2
votes
3answers
3k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
0
votes
0answers
16 views

Create user to execute select tasks

I would like to allow a application user to perform select sudo or root tasks without the need for sudo or root permissions or password being entered. Normal (Prompts for password): sudo appuser ...
1
vote
1answer
22 views

Why OS Windows does not boot after disk disconnected?

I have problem with booting from Mandriva linux boot menu to Windows. I previously used two disks: one with Windows and one with Mandriva and booting worked. However when I removed the disk with ...
3
votes
2answers
909 views

How to delete readonly variable in bash?

$ mySite="superuser" $ readonly mySite $ unset mySite bash: unset: mySite: cannot unset: readonly variable How can we delete mySite, as it is a readonly variable?
0
votes
2answers
6k views

What to do with Synology open source DSM 4.0 Tool Chains?

The synology NAS station's management software DSM 4.0 has an open source copy in source forge: http://sourceforge.net/projects/dsgpl/ I am thinking to setup my own NAS station with PC. How may I ...
2
votes
2answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a ...
2
votes
2answers
503 views

Clean up my gnupg keyring?

My gnupg keyring contains hundreds of unnecessary entries. How would I remove the expired, revoked and unsigned keys from it? I would like to keep the keys that have signed my key, and import new ...
0
votes
1answer
9 views

Finding a file based on who owns it and size (Linux)

Im looking for a file on a server. I know what user owns it, I know what group owns it, and I know its 33 bytes long. Im not sure where on the server it is. What is the best command I can use in ...
63
votes
11answers
108k views

How to wipe free disk space in Linux?

When a file is deleted, its contents may still be left in the filesystem, unless explicitly overwritten with something else. The wipe command can securely erase files, but does not seem to allow ...
1
vote
1answer
37 views

How to save job info (qstat) in SGE when submitting to qsub?

When submitting a job, I am able to provide qsub with the path for the standard output and the standard error. On the other side, while my job 12345 is running, I can access to extra info related to ...
4
votes
4answers
10k views

recovering a broken GNOME-desktop in debian wheezy

an hour ago I had a working gnome-desktop on my debian system (thinkpad x121e). Then I installed compiz that crashed. After a reboot the gnome-desktop no longer started. Then I did some upgrades ...
0
votes
0answers
2 views

passsenger: Apache 2 Test Page shown instead of rails application

I have installed centos and rails using a tutorial The problem is, the browser shows "Apache 2 Test Page" instead of the rails site. Any idea how to troubleshoot this.
0
votes
0answers
51 views

Driver manager for Debian Wheezy

Today I installed Debian Wheezy 7.6.0 amd64 to my laptop Asus but now I can see that the screen resolution is not as it should be the icons are too big and mouse works not exactly as expected etc I ...
1
vote
4answers
45 views

Linux remove files without giving error

I have this running as cron job /usr/bin/find /backups/* -mtime +5 -exec rm -rf {} \; But it gives me this error on email /usr/bin/find: `/backups/Jun-20-2014': No such file or directory Is ...
1
vote
1answer
10 views

LightDM accepts password once, and never again

I'm running Ubuntu 14.04. Fresh install, although I'm pretty sure I'm going to need to reinstall after this problem is resolved. When I first start Ubuntu, I get the LightDM login screen. That ...
2
votes
2answers
515 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 ...
0
votes
0answers
5 views

Opening serial port with 'cu' command not running from rc.local

I am trying to run this command from rc.local: sudo cu -s 19200 -l /dev/ttyUSB0 > /home/pi/bticino/assets/bash/serialContent.json It doesn't work at all, there is nothing related when I run ps ...
0
votes
2answers
47 views

Manage torrent from command line and download files sequentially

I need a way to manage torrent without any sort of GUI and download the pieces on sequential order. Does anybody knows how to do it? rtorrent is text based but, as far as I know, don't download files ...
1
vote
2answers
2k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
-1
votes
0answers
12 views

How to check if my ISP let GRE traffic through

is there any way to check if my ISP is letting GRE traffic through? I have some issuses with PPTP VPN server. From the server side everything seems to be ok. But whenever I try to connect from my PC ...
3
votes
1answer
332 views

How to find a file whose size is less than 10 MB?

I need to find a file in my current directory whose size should be less than or equal to 10 MB. ls -lh gives me the file size of each file but not sure how to find the files whose size are less than ...
0
votes
2answers
56 views

Is there a Windows file format with <CR>-separated records (without <LF> characters)?

Today a file was extracted on a Windows system, Windows 7 to be exact, and ftp'd to a Unix system. The application that processes the file deliberately failed, because the file had one line in it, ...
2
votes
5answers
4k views

cannot find USB device to mount

How can I find which /dev/? device to mount my USB hard drive on Red Hat 3 Taroon?  I've been Googling a lot and checked log files and still no clue. I'm trying my last chance with you experts, # ...
0
votes
2answers
38 views

ls -lrt showing file which is not present

When I do ls -lart in my current working directory it shows lrwxrwxrwx 1 root 10004 36 Dec 16 17:59 index.html ->/home/moviebeam/assets/ui/index.html But I cannot see contents of the ...
0
votes
0answers
5 views

Lenovo T400 virtualization fails despite set in BIOS

T400 virtualization fails despite set in BIOS I found this post http://forums.lenovo.com/t5/ThinkPad-Edge-S-series/Hardware-Virtualisation-on-E520-with-i5-2540M-2-6GHz/td-p/608633 when I searched on ...
1
vote
1answer
47 views

Does “everything is a file” apply to network printers?

I asked this question on AskUbuntu and I didn't get any answers or comments, so I thought I'd try here. If "everything is a file" in Linux, can I access network printers (IPP) like USB printers ...
0
votes
0answers
7 views

Btsync: only three of five shares synced

I try to sync 5 shares from a Win7 computer to a linux box. The Linux box is configured by the following config. I experimented quite a bit with the settings but I only can get 3 of five shares ...
4
votes
1answer
4k views

VirtualBox NAT over proxy

I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system. How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for ...
0
votes
0answers
6 views

Where to add a new sudoer in vCenter?

Currently, in vCenter, I clone new VMs using an Ubuntu 14.04 template and a SimpleLinux customization spec. I now need to add a new user (newuser) and configure it to be a sudoer in /etc/sudoers like ...
0
votes
2answers
14 views

Finding a file of specific length in directory (linux)

I have twenty directories and im looking for a file with a known length somewhere in one of the directories. Is there a Linux command to search a directory for a file by size? What is the best ...
2
votes
5answers
399 views

Vim execute bash commands/make in the same window

When i try to run some commands like :make or :!ls , it shows the output in an altogether different screen/view and the file i am editing is not visible during this process. Is there anyway i can ...