10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could I run 2 python scripts at the same time side by side output on the same line in this same format but with scripts?
from itertools import izip_longest
with open("file1") as textfile1, open("file2") as textfile2:
for x, y in izip_longest(textfile1, textfile2, fillvalue=""):
x =... (4 Replies)
Discussion started by: bigvito19
2. Shell Programming and Scripting
I need to merge two files side by side
The files look something like this:
20:17:01 up 2:19, 3 users,
load average: 0.00, 0.04, 0.05
29G 6.5G 21G 25%
PID COMMAND USER ... (4 Replies)
Discussion started by: FishTornado
3. Shell Programming and Scripting
I am looking for a sed/awk script to join two large (~300 M) single column files (one is sorted and the other is not sorted) side-by-side. I have a shell script but its taking ages to do the task so looking for an optimized fast solution.
The two files look like:
a1... (1 Reply)
Discussion started by: sajal.bhatia
4. Shell Programming and Scripting
I have about 100s of files of type text in a known directory. I want to merge all files side by side. Number of lines in all the files will remain same.
For example file1 contains
File 2 contains
Output file should be
Using awk I was able to... (5 Replies)
Discussion started by: kanthrajgowda
5. Shell Programming and Scripting
Hi I'm trying to compare 3 or more files based on similar values and outputting them into 3 columns.
The output should come out like this
file1 file2 file3
ABC ABC (4 Replies)
Discussion started by: zerofire123
6. Shell Programming and Scripting
Input file_2: (6 Replies)
Discussion started by: patrick87
7. Web Development
I have installed WAMPSERVER 2.0 on my windows vista x64 system but still am having issues with getting the webserver to be seen outside my local network. It is working fine within my local network.
Been through several setup tutorials so far, no dice still.
For testing purposes I have... (1 Reply)
Discussion started by: davidmanvell
8. Shell Programming and Scripting
I have 2 text files, both have one simple, single column. The 2 files might be the same length, or might not, and if not, it's unknown which one would be longer.
For this example, file1 is longer:
Car... (3 Replies)
Discussion started by: cajunfries
9. Shell Programming and Scripting
I need a shell/perl script to bring selected columns from all the files located in a directory and place them in a new file side by side.
a b c d
2 3 4 5
f g h i
I II III IV
w x y z
and so on many files are there...... (8 Replies)
Discussion started by: ks_reddy
10. Shell Programming and Scripting
I have to sql queries like
select sno,sname from temptable;
select deptno,dname from depttable;
In excel i want to specify the column number to which my output should be displayed.
please help me in this...
thanks in advance... (6 Replies)
Discussion started by: prasee
CTRLALTDEL(8) System Administration CTRLALTDEL(8)
ctrlaltdel - set the function of the Ctrl-Alt-Del combination
Based on examination of the linux/kernel/sys.c code, it is clear that there are two supported functions that the Ctrl-Alt-Del sequence can
perform: a hard reset, which immediately reboots the computer without calling sync(2) and without any other preparation; and a soft reset,
which sends the SIGINT (interrupt) signal to the init process (this is always the process with PID 1). If this option is used, the init(8)
program must support this feature. Since there are now several init(8) programs in the Linux community, please consult the documentation
for the version that you are currently using.
ctrlaltdel is usually used in the /etc/rc.local file.
Peter Orbaek (firstname.lastname@example.org)
The ctrlaltdel command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux October 1993 CTRLALTDEL(8)