Linux is the family of Unix-like operating systems that use the Linux kernel.
0
votes
1answer
10 views
Does Yum have an equivalent to apt / aptitude's DEBIAN_FRONTEND=noninteractive?
On Ubuntu you can use something like this:
export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update
Which will prevent things that require input (choosing grub versions or conflicts between ...
2
votes
2answers
25 views
Not sure what the value in a log message in auth log means?
I have the following log line item in my auth.log file.
[TimeStamp] [server] sshd[####]: Received disconnect from [IP Address]: 11: disconnected by user
Obviously this is a disconnect log from an ...
0
votes
1answer
24 views
How to write a pre-mount startup script?
I want to create a bootup script that runs before the root filesystem / has been mounted as I want to use dm-cache to cache it. The script is supposed to contain cache setup commands.
Where would I ...
0
votes
0answers
15 views
openmoko phone / skype replacement
Anyone familiar with the openmoko phone? It is open source and comes running Linux based software. I would like to find a good program to use instead of Skype to talk to someone afar. They list 3 ...
0
votes
1answer
42 views
How can I install STREAMS in Linux?
I searched on Google, but found nothing useful. I use SUSE now, how can I install LiS on my computer?
I'm hoping for a download link.
1
vote
3answers
38 views
Installation script needs to be run as a certain (regular) user but needs to create a system directory
I'm new to Linux, let me explain the issue. I'm trying to install comsol with some sort of network license.
If I use sudo ./setup the server directory does not recognize the username "root". The ...
1
vote
1answer
39 views
Get system notification at a certain time?
Is there a way, in Linux or FreeBSD, to receive notification from system at a specified time? I'm thinking something in like of what inotify in Linux does for filesystem events.
There IS a way to ...
0
votes
1answer
25 views
HISTTIMEFORMAT does not show correct date and time for history
After exporting HISTTIMEFORMAT='%F %T' I tried to query history
But the result shows all the commands are executed on same day.
How can I check the actual date and time of actual command execution?
4
votes
3answers
240 views
What exactly do we mean when we say we are using Linux?
I was going through an article on GNU which goes something like below
There really is a Linux, and these people are using it, but it is just
a part of the system they use. Linux is the kernel: ...
0
votes
2answers
70 views
Linux reboot out of memory
I have a server with Intel(R) Atom(TM) CPU D525 and 1 GB memory.
I found the server would shut down and start automatically about every 7 days. I check the memory usage, I found when the memory usage ...
0
votes
0answers
20 views
Virtual address of Global variables in Kernel code
If my understanding is not wrong, every process has a Kernel Address space associated with it (which is typically 1GB). As far as local variables are concerned, they are assigned on the kernel stack ...
1
vote
2answers
38 views
How can I combine grep with file and extra regex
I have a file of strings in each line.
For example:
AAAAA
BBBBB
CCCCC
etc
I want to check each string one by one whether it exists in a series of files in a specific directory.
I ...
6
votes
2answers
104 views
What makes an operating system “Unix-Like”?
I frequently come across the term "unix-like" on the internet on many sites.
There is no standard; it is just in the way it behaves.
But if I were to develop a kernel from scratch, what would make ...
5
votes
3answers
54 views
How to test the quality of my network connection for VoIP services
Sometimes when using VoIP I experience disruptions. I would like to check if the problems could be caused by my internet provider.
How could I best test the quality of my bandwidth (throughput and ...
8
votes
1answer
126 views
What is difference between User space and Kernel space?
Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)?
If it is the first ...
6
votes
3answers
158 views
Are short-lived files flushed to disk?
My program creates many small short-lived files. They are typically deleted within a second after creation. The files are in an ext4 file system backed by a real hard disk. I know that Linux ...
1
vote
2answers
37 views
Which file in kernel specifies fork(), vfork()… to use sys_clone() system call
When ltrace is used for tracing the system calls, I could see that fork() uses sys_clone() rather than sys_fork(). But I couldnt find the linux source where it is defined.
My program is
...
3
votes
1answer
59 views
How accurate is Conky?
I'm on Crunchbang 64 bit, Conky shows that I'm using 4% of my CPU.
But I can feel the CPU burning so hot, got Spotify, Chrome and couple other apps running. On windows 7 chrome uses about half of the ...
1
vote
0answers
21 views
Clearing the “old” scrollback buffer
This might seem to be a duplicate question but it isn't.
I know that I can use printf "\033f" to clear the scrollback buffer of the "current" session but that doesn't work for old sessions.
My ...
0
votes
1answer
39 views
Linux development server [on hold]
I have an issue. I want to set up a Linux development server on my home PC so everyone who has credentials can log in from anywhere into that machine and write code. What should I do or what should I ...
1
vote
2answers
79 views
How to build my own kernel ? Where should I start? [on hold]
I have completed my graduation recently. And I have only basic knowledge in C. But I would like to work on the Linux Kernel, and customize it according to my needs. Not only customize I would also ...
0
votes
0answers
23 views
How to play set top box file in PC?
The recorded file has .mpg extension. I even tried playing in WMP and VLC and there is another file in USB with .NAV extension.
Even tried Miro
1
vote
1answer
28 views
input/output error that come back just fine. How to make sure it doesn't happen again? [duplicate]
root@host [/backup/2013-08-15/accounts]# cd /home1
root@host [/home1]# ls
/bin/ls: reading directory .: Input/output error
root@host [/home1]#
Suddenly /home1 doesn't work. It used to work just ...
0
votes
1answer
26 views
How to generate kernel crash dumps? [duplicate]
I have X running on terminal 1 and terminal 2 on my RHEL 6.4 system. If i randomly switch between tty1 and tty2, the system crashes. I need to generate crash dump file to analyze the issue. How can I ...
4
votes
1answer
61 views
Capabilities for a script on Linux
If I want to set a capability (capabilities(7)), such as CAP_NET_BIND_SERVICE, on an executable file and that file is a script, do I have to set the capability (setcap(8)) on the interpreter starting ...
3
votes
1answer
46 views
Linux: How to check whether a process is slowed down by other running processes
I have one process running on a RHEL 6.3 machine. Somehow this is taking a longer processing time than the same process running on another machine. How is it possible to know why this process is ...
0
votes
0answers
8 views
zte mf 190 not able to install in mint 13 [on hold]
Zte mf 190 from aircel is shown as cd in mint 13 & I am new to linux not able to install my modem also I do not have linux drivers for zte mf 190 please help I want to use linux
3
votes
1answer
63 views
What would happen if we mounted a file system that e2fsck is already running on?
It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
0
votes
1answer
29 views
customize and pack a debian image
Given a vanilla Debian I need to:
pick a filesystem
configure the software ( writing .conf files and edit shell scripts )
install/remove packages
install/remove software compiled by me
After that ...
4
votes
1answer
30 views
Reusing older raid discs
I have a software RAID5 array (Linux md) on 4 disks; the OS is OpenSUSE 12.3.
Recently I replaced a disc with a larger one (fail disc, remove it, add new disc). The capacity of the array has not yet ...
4
votes
1answer
37 views
How do I get the creation date of a file on an NTFS logical volume?
I created an NTFS logical volume on my Linux system for Windows file storage because I want to retain the creation date of my files (I would probably zip them into an archive and then unzip them, ...
2
votes
1answer
50 views
Start 4 programs on startup in Linux Mint via terminal
I'm working on a project and I hope you can help me solve a problem.
I have four programs that are written in C. They have been compiled using gcc and they work as they should. Because the four ...
3
votes
1answer
49 views
anonymous url navigation in command line?
Is there any way to anonymize http requests through the command line? In other words, is it possible to wget a page without the requester's IP showing up?
1
vote
1answer
26 views
Problem with booting using nosmp
I tried to install RHEL 5.1 in an i3 processor machine with 2gb ram. So after installation I tried to boot up, but unfortunately the machine got freezed showing Starting udev. I dont know exactly what ...
1
vote
3answers
35 views
what do I need to do with “man: can't set the locale; make sure $LC_* and $LANG are correct”
I typed man sudoers but got
man: can't set the locale; make sure $LC_* and $LANG are correct
No manual entry for sudoers
What does this mean?
3
votes
4answers
123 views
How do I know a specified user's permissions on Linux with root access?
I have root access to my local server. And some days ago my colleague created a user on that server, giving me the uesrname and password. But the user has a minimized permissions. Like the user can't ...
1
vote
4answers
65 views
All subprocesses are Bash (!),
I was trying to use GDB, and found that whenever it attempted to spawn the program I was debugging, Bash was spawned instead (GDB would say starting myProg..., and then Bash would appear. When I ...
1
vote
2answers
40 views
Does a fault in a kernel module necessarily result in a system crash?
Or is it possible to overcome the fault, since the code isn't in the monolithic part of the kernel?
16
votes
5answers
741 views
How to easily build your own Linux Distro?
I wanted to have a go at creating my very own Linux Distribution. Could you suggest some nice and easy-to-follow tutorials (preferably text based and not videos).
I have heard something about Arch ...
0
votes
3answers
33 views
How to download files from a remote Linux (Ubuntu) Server? [duplicate]
How can I download files from a remote Linux Ubuntu server? I have access to this server, but I don't know a convenient way to download a file from there using SSH (PuTTy), for example.
Any ...
1
vote
2answers
55 views
Change the number of rows and columns in the TTY [duplicate]
I want to resize the terminal which comes up when you press CtrlAltF1 (or F2,F3,...). 25x80 is small for a 24" screen.
Tried using stty, but the commands stty columns 200 and stty rows 50 does not ...
3
votes
1answer
74 views
Strange ping behavior
I built a linux distribution using the Yocto Project, with little customization. It runs on a Single Board Computer.
When I ping this machine, I get the following result:
PING 10.128.11.1 ...
2
votes
2answers
32 views
Swap alt and super
I have a Macbook Air that runs Linux. I want to swap the alt and super keys in both sides of the keyboard with each other.
How do I do this with cli tools?
Update
Following Drav Sloan's answer I ...
1
vote
4answers
56 views
Can tr work with regex?
I have a file like this:
AAAA
BBBB
CCCC
DDDD
etc
Words in separate lines. I want to add them quotes using tr.
So I tried the following:
1) To add a quote in the start of each word ...
3
votes
1answer
56 views
mount --no-canonicalize?
Neither man nor info page provide more information on this than:
mount --no-canonicalize Don't canonicalize paths. The mount command canonicalizes all paths (from command line or fstab) ...
2
votes
3answers
117 views
How to determine how many files are within a directory without counting?
I've been having a fairly serious issue on a high traffic web server. PHP pages are slowing down considerably, and it only seems to be an issue on pages where sessions are accessed, or a certain table ...
11
votes
3answers
166 views
Determining Specific File Responsible for High I/O
This is a simple problem but the first time I've ever had to actually fix it: finding which specific files/inodes are the targets of the most I/O. I'd like to be able to get a general system overview, ...
4
votes
1answer
96 views
+50
Send stdin to console and compressed file
I'm running a propietary program which generates text output. Kind of like a logger.
logger
I'd like to both view this output on the terminal to watch the server breathe, and send it to a text ...
0
votes
0answers
57 views
shifted screen with AMD card both drivers
Running OS 12.3 i've encountered the problem of a ragged and/or shifted screen using an AMD HD 7670M and FGLRX and/or radeon drivers.
A full account can be found on:
SuSE Hardware Forum
Short story: ...
2
votes
5answers
122 views
Is there a way to listen to process?
I want to know if there is a way to listen to a process in linux & unix - when it ends and what's the exit code of the process(script).
I dont want to write a script that will run X seconds and ...