Linux is the family of Unix-like operating systems that use the Linux kernel.
2
votes
0answers
64 views
Linux: Total swap used = swap used by processes +?
So, I'm trying to do some investigation on where does swap use come from in a system with high swap usage:
# free
total used free shared buffers cached
Mem: ...
-1
votes
3answers
63 views
Sorting IP address according to the second field in file
in my ksh script I need to add the following task ( OS - linux/solaris )
I have the following file
more test.txt
/etc/backup/app 172.1.120 172.110.120
/etc/backup/app 172.1.120.12 ...
2
votes
1answer
58 views
Explanation of bandwidth management script calling tc
I have some scripts in Linux to manage internet bandwidth, but I do not understand what they do.
What is the meaning of the following scripts:
tc qdisc add dev $IF root handle 1: htb default 256
tc ...
3
votes
2answers
63 views
How to add a ms-dos partition table to a loop device?
I recently made a dd from a disk partition. I want to use it as a disk in a virtual machine. I can't because the disk has no partition table.
Can I had a partition table to a loop device? how?
...
1
vote
1answer
50 views
Is there a way to store mail attachments outside of mailboxes?
Nowadays, size limits on mail attachments are less comprehensible by traditional users. I am looking for a way to extract mail attachments as simple files that I would be able to manage elsewhere.
On ...
2
votes
2answers
77 views
Delete whitespace in filenames in directory
I have a directory where some filenames have been wrongly named something .pdf rather than something.pdf. Is there a quick one liner I can use to delete the whitespace in the filenames.
I have tried ...
0
votes
2answers
157 views
What are “kernel data structures”?
While reading about the Linux kernel I came across the notion of kernel data structures. I tried to find more information via Google, but couldn't find anything.
What are kernel data structures?
...
1
vote
1answer
117 views
Internal microphone doesn't work on Dell Vostro 3360
I've got Dell Vostro 3360 laptop, and internal mic doesn't work. I use 3.8
series kernel.
When I try to record sound from mic I get only weird noise. All sliders in
alsamixer are 100% and capture is ...
0
votes
1answer
97 views
How to display TCP handshake in Linux [closed]
Hi is there a way to display TCP handshake in Linux? Like for example this WIKI - TCP handshake
Not exactly like the illustration but at least it would show client has sent SYN, ACK, FIN etc
and the ...
0
votes
1answer
42 views
Display ONLY IP addresses of currently logged users
I want to get a list of the currently logged users and their respective IP addresses.
I tried the following command line:
w -s
However, the TTY, IDLE and WHAT columns are also displayed. I don't ...
1
vote
3answers
32 views
Is there a robust way to cache contents of usb on local hd?
I'd like to switch between working on a laptop with a debian vm and a desktop pc running debian while carrying all my work files in a usb. Is there a robust way to automatically start caching the ...
0
votes
0answers
86 views
Jolla mobile ported to Nokia N9
I own a Nokia N9 and would like to know if anybody has ported Sailfish to it yet? thanks for any answers!
In case you're not familiar with Sailfish: http://en.wikipedia.org/wiki/Sailfish_OS
0
votes
2answers
218 views
How do I make PHP securely load files from the server root home folder on CentOS?
So I built what I thought would be this awesome reporting page in PHP that loads data from some CSV text files and creates nice Google charts and tables for our clients. I then thought it would be ...
3
votes
2answers
318 views
Boot windows from grub rescue command prompt
Previously I had installed the Ubuntu 10.04 and Windows 7.
Now I logged on to Windows, gone to partition editor and deleted the volume containing the Ubuntu (Thought it will delete the Ubuntu and it ...
0
votes
1answer
88 views
brcmsmac does not work
I am attempting to enable my wireless interface in Slax Linux, so far, I know the driver I need is brcmsmac, since I have a broadcom card; and this work in Slackware.
The driver is available and does ...
0
votes
0answers
47 views
Alternatives to Flash for creating Flash-content under Linux?
Are there any programs similar to Flash that would allow me to make Flash-content (e.g. an interactive Flash-button or a Flash-presentation) under Linux?
Yes I know Flash is a proprietary format.
...
1
vote
0answers
137 views
GRUB can't find an existing file?
I'm trying to install GRUB, but when I try to boot, I get this:
error: file '/boot/grub/i386-pc/normal.mod' not found.
But that file exists on the drive I'm booting to. Why is it saying "not found" ...
2
votes
1answer
63 views
Console font - how to show accents?
Arch linux on VirtualBox.
My problem is the console (not X) does not show accents like "á ã ç". The problem is showing, not typing. I have a text file with these accents and when I use "cat" the ...
0
votes
4answers
119 views
Show running processes with file name(s)?
I am using putty to connect my linux server which my sites are in. I can run
# ps aux | less
to show running processes. But I want to display which files running these processes ?
I have also ...
2
votes
3answers
155 views
Check outgoing network traffic
In Ubuntu, how can I check what information is being sent through the network connection, what programs are doing it, and what sites is my computer connecting to?
I am not paranoid about security, ...
1
vote
2answers
106 views
How to simulate unplugged network cable or down server?
I have simulated network latency with netem and It's great. Now I want to simulate unplugged network cable or when server goes down. I need this to make testing of my application easier and I couldn't ...
0
votes
0answers
43 views
system requirements for developing Android applications under Linux
Roughly, what are the system requirements for developing Android applications under Linux, with the Android emulator? (I need everything on a single laptop.)
I'd like people with experience to answer ...
1
vote
2answers
84 views
Using TMUX on boot up of Linux CentOS
I'm trying to figure out a way in which I can boot TMUX under a user other than root, but automatically whenever Linux starts.
At least that's what I think I need. What I want is to be able to SSH ...
3
votes
1answer
296 views
Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?
I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4).
In the folder extracted: autorun.sh log.txt Makefile README src
\>type command: ./autorun.sh
...
4
votes
1answer
78 views
Determining LVM Extent numbers for given file
I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
-4
votes
3answers
112 views
ubuntu: sudo find / -type d -exec chmod -Rf a-wr {} \; the user can't login [closed]
I used ubuntu 12.04 (32bit).Today,I mistakes a command is executed:
WARNING
DO NOT EXECUTE THIS COMMAND:
sudo find / -type d -exec chmod -Rf a-wr {} \;
I can't login system;The System is only one ...
4
votes
3answers
138 views
Can someone execute a malware by just inserting a flash disk?
I know that Linux is virus proof, but just to be sure...Suppose someone writes a script, trojan, etc... and put it on a flash disk or CD. then I insert that flash in my system without clicking on any ...
1
vote
0answers
63 views
Build Linux and run it (uImage) on the Beagle board - xM
I'm working on some project where I'm using the Beagle board - xM Rev C. Power supply is 5V/2A adapter. My task is porting Linux Angstrom on the board but I have some problems. I have choosen Linux ...
1
vote
0answers
58 views
How can i change the color in the panel when a program needs attention?
I'm running Linux Mint 14. I want to change the color in the panel when a program requires your attention (like when you receive a chat message).
Not the color of the entire panel, but only the box ...
0
votes
1answer
34 views
No internet access for system services; however, browser access works
Unable to reload repos via apt-get, aptitude, or synaptic. Dropbox does not connect or sync. Pithos does not connect to pandora.com. Chrome and Firefox browsers do work fine.
I have been unable to ...
2
votes
2answers
122 views
Ubuntu: How do the md devices get assembled at bootup?
How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here?
My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
1
vote
1answer
62 views
What are TTYs >12 used for?
Related to TTY numbers, it looks like there are 64 TTYs (find /dev -name 'tty[0-9]*' | cut -c 9- | sort -n | tail -n 1 and documentation). tty0 is the current virtual console, Ctrl+Meta+F1 reports ...
0
votes
1answer
49 views
What are the different virtual TTY numbers used for?
It seems by default (at least on Ubuntu, but I think I saw the same on other distros) there are virtual TTYs 1-6 for text login, 7 for GUI login, and 8 upwards are unused or at least non-interactive ...
1
vote
1answer
20 views
lp command can’t open samba url
I have a Linux host with Samba installed and a Windows server with some Files.
Samba is set up correctly and works just fine.
I can show pdfs from the Windows server with
evince ...
0
votes
2answers
41 views
Information about the device files: /dev
ls /dev
command lists the device files.
How to know the associated drivers/major_numbers/minor_numbers with those device files?
Thanks
1
vote
0answers
42 views
Modifying resolv.conf when when bringing network interface up on system startup
My Linux box currently has a network interface that allows me to connect to a network on a different subnet. I've achieved this by modifying the routing table when the network interface is brought up. ...
1
vote
2answers
97 views
ZFS on Linux and Amazon EC2
I have a situation where I need dynamically expandable storage space on a Linux machine running in Amazon EC2, and ZFS came to mind. If I remember properly, ZFS supports a way to dynamically expand a ...
2
votes
1answer
65 views
Laptop keyboard occasionally stops working
I have a dirty solution that is to plug a USB keyboard in and execute the following command:
setxkbmap -rules evdev -layout us -model evdev
Afterward my keyboard will work.
This solution only ...
0
votes
1answer
31 views
VSFTPD Virtual User Group
Currently I have a Running vsftpd server in a Cent OS Machine with virtual users.
Users are authenticated using MySQL.
The users has all the permissions in their home directory and they are jailed ...
2
votes
3answers
63 views
Cannot create a partition after the 4th
When using cfdisk to partition for Arch Linux, I found that after the 4th partition, I can't make any more.
I'm using VMWare Player as a VM, and I'm using a single fake HD file. Earlier I thought ...
0
votes
1answer
60 views
Connecting from OpenVPN Server to MySQL Server
I have an OpenVPN server installed on a server. What I'm trying to do connect from the OpenVPN server using the mysql client to the MySQL server than is connected to the OpenVPN server using a ...
3
votes
1answer
60 views
tc on bridge port
I have a 4 port bridge:
root@Linux-Switch:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000024cd2cb0 no eth0
eth1
...
1
vote
1answer
127 views
System sending SIGTERM and SIGKILL during normal work
I have a program (C++) that works with TCP sockets in multithreaded manner. The multithreading is intensive, about 100 threads (POSIX threads).
Sometimes, not quite sure when, the program gets ...
0
votes
1answer
29 views
What are the other congestion control algorithms specially designed for lossy Wireless Networks like LTE and WiMax?
I am trying different congestion control algorithms for getting maximum throughput and minimum delay across my setup for TCP flow.Please suggest other available algorithms apart from
Veno, ...
1
vote
1answer
50 views
Establishing I/O Patterns for an Application
Are there any system tools that allow you to profile an application's usage of storage? Basically, I'm looking for information on determining whether there are more large sequential reads, tiny ...
0
votes
1answer
82 views
Wifi AP with ASUS USB-N10
I am trying to configure wifi AP with subj device. According documentation in web, it requires master mode hardware support and hostapd software.
It seems I have master mode:
# iwconfig
...
...
0
votes
1answer
24 views
aptitude current status warning
After installing some packages, i.e. sudo aptitude install pkg ... , there was a line of message at the end of the output:
Current status: 0 updates [-66].
What does it mean?
0
votes
1answer
102 views
Run expect script from other shell
My target is to create the /var/tmp/add_user.bash script from /var/tmp/create_script_add_user.bash script
and run the expect script (add_user.bash) from create_script_add_user.bash script.
The ...
2
votes
2answers
109 views
Why does modinfo say “could not find module”, yet lsmod claims the module is loaded?
According to the man page of lsmod the command shows “what kernel modules are currently loaded”.
I wrote a script that uses modinfo to show what kernel object (.ko) files are actually in use:
...
0
votes
1answer
42 views
Reading Linux distribution name from filesystem or command [duplicate]
I need to collect some system info from linux machines and decide what to do based on some distribution/version -specific conditionals.
To simplify my example, I concocted a fictitious ...


