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
1answer
581 views

msiexec command not found in linux to install msi file

I had a .msi file which is developed in asp.net in windows now i want to install .msi file in linux by using the command in terminal as follows msiexec /i myfile.msi but it show msiexec command not ...
-3
votes
1answer
78 views

is there a linux distrobution that has the opposite philosophy as ubuntu? [closed]

The Ubuntu developers seem to wish to change the interface often, focus intently on appearance, and attempt to make it as easy as possible for newbies to use. What distribution has the opposite ...
0
votes
1answer
63 views

Why is Linux not connecting to WLAN

I have a tri-boot laptop, and two of the operating systems I have are Ubuntu 12.10 and Windows 8. On Windows 8, I can access the WLAN, however whenever I restart the computer it defaults to having ...
1
vote
3answers
1k views

Why cannot `ftp` program read a file in /tmp directory?

While making an automated ftp upload script, I noticed a very strange behaviour of ftp program: if I want to send a file which belongs to /tmp directory, ftp will always fail and give an error ...
0
votes
1answer
71 views

Sandboxing of files without a new user

Is it possible to isolate certain folders from all programs except one, without creating a new user? A bit like a reverse sandbox. Specifically I want to protect the .bitcoin folder from being ...
3
votes
1answer
305 views

Get the time it took to execute the previous command in linux(without re-executing that command)

I know the time command allows you to time the execution of a given command. But is it possible to get the execution time of the previous command without re-executing that previous command?
6
votes
3answers
4k views

sshfs mounting linux directory from mac stopped working

Until this morning, I'd been using sshfs quite nicely to mount a directory from a linux machine in my office. Today, it stopped. Here's my sshfs command: sshfs -osshfs_sync,volname=linux-builder3 ...
1
vote
1answer
60 views

.desktop file supported on which operating systems?

On which operating systems can we use the .desktop file from unix / linux? Is there a list of operating systems which support and use it? Do they all use he same syntax, settings and properties or ...
0
votes
0answers
182 views

IPTables masquerading stops working

In a classical SOHO setup I am running a Debian box as router/firewall. For an unknown time now I have an issue, where the MASQUERADING on the output connection (PPPoE) stops working for one of the ...
1
vote
0answers
303 views

Squid + Dansguardian Google instant filtering

I have a proxy setup using squid with dansguardian for filtering. Everything is working fine but Google instant and images. I find that dansguardian is no longer able to force safe search. It seems ...
1
vote
2answers
4k views

Code and compile locally on a Dev-Mode Chromebook

My school has given me a Samsung ARM Chromebook, and I am encourage to go into developer mode and mess around with it. I know how to access crosh and shell, and I found that vi is installed locally ...
0
votes
1answer
368 views

hide pid when a process is launched in background

So I put this command vncconfig -iconic &, this causes vncconfig window to launch and terminal will display like [1] 13488. I want to hide this pid info. That is, when we put the command, only ...
2
votes
1answer
4k views

Shell Script to GZIP files without overwrite .gz files

I'm trying to create a shell script which receive as first parameter of a path to a folder which I would like to compress all files using gzip without overwrite the .gz files that already exist in ...
1
vote
1answer
643 views

Using different .cshrc.user files

I have two .cshrc.user files for two different projects. For example, they set the same environment variables but with different values. When I'm currently switching between projects, I run a python ...
0
votes
2answers
193 views

prevent automatic deletion of /etc/hosts entry

I am using a Linux Ubuntu Precise 12.04 version. I have added a virtual host entry in my /etc/hosts XX.XX.XX.XX www.domain-name.com After sometime, this entry got deleted automatically. What ...
2
votes
3answers
209 views

Is there a command line equivalent to cut and paste metaphor for files?

Context: I am navigating around in folders, and finding files I need. I would like to copy my files somewhere to place them somewhere else. But I don't want to have to deal with trying to figure out ...
1
vote
1answer
238 views

What partition(s) should I put on ssd?

So I just recently got a new laptop (Inspiron 15z w/ i7 and non-touch) and it comes with a 500GB HDD like my old laptop but it also has a 32GB SSD. Now, Ive been looking at the disks in Disk ...
0
votes
2answers
1k views

Space ending in rootfs

My problem is that I think in a couple of days there will be no space free in rootfs. Is is possible somehow to 'clear' rootfs from unnecessary files? What should I look for? Rootfs is mounted into ...
0
votes
1answer
555 views

How to unblock blocked wget and aptitude?

My debian server's wget and aptitude was blocked by firewall administor. Which ports should I inform firewall to unblock?
0
votes
3answers
359 views

File exists but cannot be executed from another folder

On my Fedora 16 machine, I have an executable file named 'WarpImageMultiTransform', and I can run it when I cd into the folder that contains it: [huangchao@localhost bin]$ ./WarpImageMultiTransform ...
1
vote
0answers
131 views

Avoid typing password every time using NX

I am running nxserver on a linux box and installed NoMachine Player on laptop. Every time I connect to nx on the linux box, basically it comes with two steps: SSH to user nx on the linux box On the ...
0
votes
2answers
1k views

Firefox for Linux hacked (malware)

I'm running Linux Mint, with Firefox 12.0 (Mozilla Firefox 1.0 for Linux Mint). I also have one Firefox extension installed: Live HTTP headers. I am not using Firefox Sync. Whenever I go to any ...
2
votes
1answer
283 views

How to set default boot operating system

My laptop can currently boot off Windows 7 and Windows 8, with Windows 8 set as my default operating system. I installed Ubuntu 12.10 off a USB Drive onto a partition on my hard drive, but when I ...
0
votes
2answers
930 views

Copying all files inside subdirectories and renaming instead of overwriting

I have a number of images inside subdirectories of another directory which I'd like to copy to one single directory so all the images are in one place. After a bit of searching, I found and then ...
45
votes
2answers
70k views

Bash: Display each sub-directory size in a list format using 1 line command?

I want to get a list of the directories and their sizes in a list format like how you get when you do a ls -l. The thing is that is there a one line command that can do this? I see others have long ...
0
votes
1answer
7k views

Viewing extended file properties via command line in Linux

In Windows it is possible to open explorer and add columns to view additional information about a file. For example in the image below, I added the columns for Company, Copyright and Description: ...
0
votes
2answers
918 views

Monitoring linux free disk space [closed]

I am looking for a solution that will monitor several linux (maybe windows) hosts on a given network, gathers free space, CPU usage, etc... "counters" and "publishes" this to a central location which ...
1
vote
1answer
784 views

how to read data from a file in shell script

I have two shell script files test1.sh and test2.sh . I have another file called translogs.txt. Now I need to copy the values of two variables in test1.sh to translog.txt and the same variables need ...
1
vote
2answers
343 views

tar backup zsh script

Trying to set up a cronjob ran tar script to backup site (without .git and setup folder) every night and upload time stamped archive to Dropbox. It gives me a hard time as archive is created along ...
0
votes
1answer
400 views

how to fix when deleted folder /var/lib/* centos 6

unfortunately, I deleted folder /var/lib/* in centos 6 how to recovery folder /var/lib/* in centos 6 Plz help me
0
votes
1answer
355 views

USB ports work in Linux but not in Windows?

I have a few USB 2/3 ports which work great in Linux, but cannot detect anything in them on Windows. This seems to be the problem, as shown in the Device Manager: Any idea why these two USB buses ...
10
votes
2answers
13k views

What is the default size unit in linux ls -l command

I wanted to know what is the unit ( bytes ,bits , kb ) of the output of the ls -l command in linux. Heres an example of what i got : -rw-rw-r-- 1 guest guest 39870 Feb 14 19:41 ser_cat ...
1
vote
2answers
784 views

List incoming connections on nc (netcat)

I set up nc on some computers in my office. They're connecting to our server like so: nc 192.168.1.2 3291 -e cmd Does anyone know how to list incoming connection attempts rather than accept one? ...
0
votes
1answer
412 views

Iptables: allow specific ips on specific port

I am trying to allow a few IPs on port 80 and disallow all other from access port 80. Can someone suggest the iptables rules needed for this to occur?
5
votes
3answers
741 views

I just ran rm /* accidentally, any fix?

I fell so stupid... I just ran rm /* accidentally, but I meant rm ./* on a cloud server with root access. Now, no one command works. ls, ssh, sftp... none. Is there a way to fix that? (Note: params ...
0
votes
2answers
376 views

OpenVPN which linux works best with

I have had problems using OpenVPN on Ubuntu 11.04. I am not able to connect at all. I see there are some outstanding bugs related to this that also affect 12.04. Can anyone recommend a different ...
0
votes
1answer
42 views

DNS nameserver for a specific domain

I need to be able to resolve one domain via a specific DNS server, while everything should be resolved by other DNS server(s). For example, resolve bbc.co.uk via 1.1.1.1 DNS server, but everything ...
18
votes
3answers
50k views

How to check if I have sudo access?

I recently got into trouble because of this. $sudo vim /etc/motd [sudo] password for bruce: bruce is not in the sudoers file. This incident will be reported. Is there a way to check if I have ...
3
votes
5answers
1k views

Checking for samba transfer bottlenecks

This is a question about my home network setup. I have a NAS, connected via gigabit ethernet to a switch, which is connected via 100mbit ethernet to router. Then I have my mac, connected via wireless ...
0
votes
1answer
220 views

The idle power changes after restarts

I have this odd behavior that the idle power is either high or low. E.g. sometimes it is 20 W and sometimes 10 W. It stays there until rebooted of suspend/rewake. All parameters that I know of like ...
5
votes
7answers
3k views

“chown -R root /” how screwed am I?

I accidentally performed the command chown -R root / while trying to change the permissions to the public folder of my rails app. I believed this changed the permissions to all my folders on the / ...
1
vote
1answer
334 views

changing ntfs permissions for Windows internal usage, from linux

Troubleshooting an Windows 7 installation. One tactic is to increase permissions on files/directories ACL's (access control lists) for windows, from within windows, so all system data and drivers etc ...
0
votes
1answer
187 views

gzip many files one by one

I have 100 files, n1.txt, n2.txt,… and I want to gzip each of them, but not in one file – finally I'd like to have 100 n*.txt.gz files. How can I do that in Linux with Bash?
0
votes
1answer
1k views

Command not executing inside shell script?

#!/bin/bash value=$(</var/www/sym_monitor/man.txt) if [ "$value" == "true" ]; then ps -ef|grep sym |grep -v grep |awk '{ print $2 }'|sudo xargs kill -9; (cd ...
3
votes
1answer
2k views

Hostname resolution of Linux machines with static IP

I have couple of linux servers that I to assign static IPs to because I'm doing some CARPing and Vlans. The way my DNS server is set, it gets the hostnames dynamically from the nodes, as soon as ...
0
votes
0answers
91 views

Display indic font on Linux virtual console

I want to display the Indian language on the virtual console screen. Is it possible? What is the default console font? I want to change the language in Linux' kernel source itself. So when the user ...
0
votes
1answer
652 views

Ubuntu user ftp access

Having real issues with ftp access to my cloud VPS ubuntu solution. I have tried both vsftpd and pure-ftpd. I found that both were limited. I have now tried to focus on vsftpd as it is well received. ...
1
vote
2answers
389 views

Search forward in command line history

With Ctrl + R you can search in previous commands. If you hit Ctrl + R again, it will displays older previous commands. The problem it that this search is "one way", it always displays older results ...
-1
votes
1answer
880 views

How to make localhost website visible to public , if the website is hosted on one of the machine of intranet .

I have 25 machines in intranet and 1 of it is hosting a website . Website is accessible to every machine in intranet using the ip address . But how to make it visible to public ?
2
votes
1answer
317 views

UBUNTU boot into terminal

I have a Ubuntu 12.10 VM and I do not want the Graphical desktop to boot because it is very heavy. I wish that Ubuntu boot only in text and if I wish, I should be able to start Graphical. Please let ...