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

1
vote
0answers
135 views

Writing a bootable ISO file to a USB

So, in the past when I wanted to create a bootable USB stick, I would simply use the dd utility to copy the ISO directly to the USB device. For example, if I have a USB device mounted on /dev/sdb, I ...
2
votes
1answer
551 views

Where to log stdout and stderr of a daemon

I am writing my first linux daemon and I am wondering where to log its stdout and stderr. It is going to work for all users. I guess I could do it wherever I wanted, I just wonder if there are some ...
0
votes
1answer
165 views

Red Hat/XP: Accessing network files using file protocol

I'm running Red Hat Linux 4.5 in VMWare Server (virtual machine) on Windows XP (host machine). I'm using a loopback adapter to assign an IP address of 192.168.1.100 to the VM. How would I set up file ...
2
votes
2answers
8k views

How to specify download directory in Linux?

I am new to Linux, running Fedora 13. If installing from source, how do I specify the directory into which I want to download the file? I have a Download directory set up in my home directory but ...
8
votes
4answers
21k views

How to limit output of ls to only show filename, date and size?

How can I use ls in linux to get a listing of filenames date and size only? I don't need to see the other info such as owner, permission.
1
vote
2answers
5k views

How to make sure a .tar.gz file is valid and will uncompress correctly?

I have a few BIG .tar.gz files, and I want to make sure they will uncompress, but without actually doing it. If the file opens on "Archive Manager" on Ubuntu, and I can view it contents there, does ...
1
vote
1answer
18k views

Reset display resolution from console in Linux Mint

I have a Linux Mint 13 Xfce in a VMware Workstation 8 VM and set the resolution from 800x600 to 1280x768 and now I get permanently logged out when I try to login. I knew how to get back to my old ...
0
votes
1answer
311 views

How do I access a directory with the most recent timestamp in its name?

I have a set of directories on my linux box that have names like this: bulk-load_20090918-162100 The latter part is a timestamp. Is there any way that I can access the directory with the greatest ...
1
vote
0answers
335 views

Dual booting Kali linux on Macbook Air (Late 2010 model) booting into OS

There is a problem that occurs when I attempt to boot into the Kali linux OS on my macbook air, in which the screen turns into a jumble of disfigured ascii characters and random coloured pixels. I ...
-1
votes
2answers
67 views

execute permissions in linux [closed]

I was wondering about why the execute permission is set the way it is in linux. The execute permissions are permission flags, but they also (for regular files) change how the OS views the file. So I ...
0
votes
1answer
953 views

How to install TheBrain software on ubuntu/kubuntu?

I am completely new to Linux based operating systems and am having trouble installing programs. I downloaded the latest version of TheBrain but can't seem to install it. I've made the file executable ...
2
votes
1answer
691 views

Will Logitech SetPoint settings be saved in the mouse if I move it to a linux PC?

I want to use a high quality gaming mouse on a linux machine for a special application. I need high DPI and no angle snapping or acceleration in the mouse sensor. I am reading mouse data directly from ...
0
votes
1answer
625 views

Intalling gdb and pstack on Amazon Linux AMI

I tried installing gdb and pstack on EC2 Instance with Amazon Linux AMI (it was not installed by default), and it's not working. Tried: [ec2-user@ip-172-21-ab-xyz ~]$ sudo yum install gdb Loaded ...
0
votes
1answer
310 views

Avoid UEFI Bios Hell? [closed]

It seems so many people are having problems with UEFI these days, i'd be tempted to find hardware that doesn't come with it. Installing Linux alongside Windows is once again a real mess. Maybe the ...
4
votes
3answers
5k views

Desktop not visible, doesn't show any icons in Kubuntu

I installed kubuntu few days back. By clicking blindly I lost my desktop - I mean it is working fine but there are no icons on the desktop and there is no task bar with list of programs. How can I ...
0
votes
1answer
122 views

Recursive diff on directories says files differ, but no output when I diff on the files

(in the Linux Terminal) I used diff --recursive --brief dir1 dir2 and it tells me that File dir1/file and dir2/file differ But then, I try: diff dir1/file dir2/file and there is no output (...
2
votes
3answers
2k views

semanage command not changing file context

I am trying to change selinux context for upload directory to enable anonymous upload. This is the Directory path /var/ftp/upload This is the default context [root@server ftp]# ls -Z upload drwxr-...
2
votes
2answers
661 views

Create directories

Is there an easy way to create all subdirectories of a path in linux ? Something like mkdir /a/b/c/d/e/f executed in / should create directories a,b,c,d,e,f
1
vote
1answer
539 views

Bash/Sed how to insert a string with special characters into a file

I have a script that I'm currently working on. And I've run into an issue where I need to prompt a user to enter a string, then encrypt that with sha-512, and then insert it into a specific file So ...
0
votes
2answers
433 views

Correctly display the GNU screen session title in status bar

in GNU screen, I want the title of the session to be displayed in the status bar. It is working but not exactly as I wanted. I have the following backtick defined in my .screenrc: backtick 100 30 30 ...
0
votes
1answer
2k views

testdisk and load backup of partition table?

I have a new disk, so I wanted to see how the testdisk backup works. After partitioning and formatting the disk with gksu gparted /dev/sdc, this is what I get: $ sudo fdisk -lu /dev/sdc Disk /dev/...
0
votes
1answer
615 views

GRUB 1.99 CentOS 7

I just added CentOS 7 to an existing Ubuntu system (using GRUB 1.99). When I do a grub-mkconfig -o /boot/grub/grub.cfg, it detects the CentOS, and adds two entries (one looks like normal, one like ...
2
votes
0answers
48 views

What should happen next on init scripts?

I've been using a Linux Mint 13 live system on my memory stick and I decided to put it on my hard drive. It already had several scripts to uninstall software and optimize it, scripts that I had to ...
1
vote
2answers
343 views

What does it mean to “do an updatedb” on Linux CentOS

It says: And then do an updatedb and locate php.spec. at http://www.howtoforge.com/installing_php_mssql_centos5.0 But what does it actually mean to "do an updatedb"?
1
vote
2answers
255 views

Hard linking directory structure somewhere else

I have one directory where files appear in. I want to run a script regulary that finds all files in that directory that have only one link to them, and hard link them in another directory. However, I ...
3
votes
2answers
3k views

What is the standard place for static library files on Unix/Ubuntu

I am trying to install a library manually, well actually just put it in a sensible location preferably in my lib path. I have a lib[...].a file and a bunch of headers pertaining to that static ...
0
votes
1answer
10k views

Insufficient permission to access file

I receive an error while powering on a VM: Unable to open file "D:\Virtual Machines\Red Hat Enterprise Linux 6\Red Hat Enterprise Linux 6.vmdk": Insufficient permission to access file. ...
3
votes
2answers
5k views

How to prepend 8 bytes of data to a binary file in Linux?

I would like to add 8 bytes of data to the beginning of a binary file. Is there a Linux command for this?
0
votes
1answer
164 views

Could a user space process start a root sub-process?

I am using Ubuntu Linux and I have Viber proprietary software running on it. Today I saved a file using Viber and I realized that it has been stored in file system with root user as its owner. I dug ...
3
votes
1answer
183 views

Use ffmpeg on linux, without administrative rights

I'm a beginner linux user, and I don't have administrative rights on a linux system, but I would like to run ffmpeg somehow. I know, I can't install it, so I'm looking for some installed binaries to ...
0
votes
3answers
2k views

Saving a text file from web to local from Linux command line

I have several text files I'm wanting to grab from a web server at school and save them to my my local using a command line interface. This is not a homework problem, just me trying to do something ...
1
vote
1answer
1k views

How to Share openvpn connection over ethernet?

I'm trying to share my openvpn connection on linux to my pc. My wan connection comes through on wlan0 and my vpn is on tun0. Eth0 is my cat5 cable plugged into my laptop. I can't bridge tun0 so I don'...
5
votes
2answers
4k views

Joining two files from the command line in a Linux environment

I'm looking for a solution for the following simple problem. I have two files, fileA and fileB. Each file contains only one word per line, and they contain exactly the same number of lines. I would ...
0
votes
1answer
240 views

Grub Bypassed (Dual Boot, Dual Disk System)

My system has 2 disks. (/dev/sda and /dev/sdb) I am dual-booting Linux Mint 13 and Windows 7. Windows 7 is on /dev/sda1 Linux Mint's / is on /dev/sda6 Linux Mint's /boot is on /dev/sda5 I just ...
1
vote
2answers
958 views

How to copy file with spaces remotely using sftp

I am trying to copy a file from windows 7 to linux debian using SFTP Filename is ba ck.bak I am using SFTP to remotely put file through windows command prompt If filename is back.bak then command ...
1
vote
0answers
319 views

VMWare Tools fails to download and install in VM Player (64 bit) on Slackware 14 (64 bit)

I have installed VMWare Player from the website, and have an Ubuntu machine running. My main issue is with VMWare Tools, and whenever I try to install, it fails. First, VMPlayer asks me to download ...
11
votes
3answers
25k views

Using vim to force edit a file when you opened without permissions

I use vim to edit a file. Sometimes, I forget to have the appropriate permissions. I run vim and the file as a read only file. I can make changes, but I can't actually write the changes. Every once in ...
0
votes
1answer
878 views

How to access one VM from another VM?

I have two VMs running on my machine, using VmWare Player (Linux). The network configuration used is NAT for each VM. Here is the link to vmware player's network configuration i have used. VM1: ...
0
votes
1answer
1k views

Text mode install for Linux Mint

I've downloaded the ISO for Linux Mint Live Install (Qiana), and I don't see any option for text-mode install. The installer menu which appears on boot basically has (1) Install and (2) Install in ...
0
votes
1answer
120 views

Why my iptables configuration for port-knocking does not work?

I implemented the following iptables rules on my test server for a course. The firewall shuts down and I cannot access port 22. However, after knocking on the ports 1111, 2222 and 3333 in that order - ...
-3
votes
1answer
29 views

Using a grep -E command to find 3 different words content in a string

Using a grep -E command to find these words content in a Dictionary(file) "ice" then an "s" or a "d" i.e. ices or iced using a square brackets. Thanks!
0
votes
1answer
245 views

How to have zpaq extract files to stdout

I have some log files compressed with ZPAQ that I do not want to extract to disk every time I need to go grep-ing for events. Would like to extact to stdout so I can handle the output the same way as ...
0
votes
1answer
512 views

Access of services using Android SSH tunnel

My school has a really strict firewall, and I can bypass it using the SSH Tunnel app for Android connecting to my Linux VPS. They blocked the default SSH port 22, then I changed my SSH port to 80. It ...
2
votes
2answers
2k views

Windows not reading sd card, when every other device in the world can

Edit: as of October 8th I am still looking for an answer. I have also tested it from windows 7, same results. I have even gone into gparted, completely wiped all of the data (so it was just ...
0
votes
1answer
481 views

PHP User in NGINX not Accessing File, Permission with Group

I know that nginx sets the user for php as www-data. Therefore the user www-data needs access to the entire structure as described in this blog post. To express my issues I will have to define some ...
-1
votes
1answer
490 views

Double pipe “||” not working in cron jobs

fellow SUers, I am trying to run a watchdog cron job to make sure a process is running (DreamHost keeps killing processes). I was inspired by this SU question. However, the double pipe || seems not ...
2
votes
0answers
2k views

How to remap brightness & volume keys on Asus AspireOne / Ubuntu Lucid?

I want to remap the following keys on my Asus AspireOne running Ubuntu Lucid: Brightness down (Fn-Left) -> Home Brightness up (Fn-Right) -> End Volume up (Fn-Up) -> Page up ...
0
votes
1answer
257 views

Accessing mysql behind firewall with ssh port forwarding

I have an architecture which looks like this: | - DMZ - | ________ | ________ | _______ | CLIENT | | | SERVER | | | MYSQL | |________| | |________| | |_______| ...
-1
votes
1answer
1k views

How to format a vps.

I have a VPS bought from digital ocean, and I would like to have it formatted to its default state. However, Digital Ocean provides the option to only "destory" the VPS. Meaning, I would even loos the ...
0
votes
0answers
158 views

Windows + VPN + port forward or proxy

I have two computers on LAN: 192.168.0.2 (windows 7 workstation) 192.168.0.3 (debian linux server) My windows 7 workstation (.0.2) is connected to external VPN and has also IP 10.0.15.5 and can ...