9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
When doing ls -l, is it right to assume that all files with the date and time on it are files that are created/modified on the current year?
Is there any way to display the creation/modified date of a file that are not created/modified in the current year? (4 Replies)
Discussion started by: newbie_01
4 Replies
2. Shell Programming and Scripting
Hi,
I'm new to unix and got struck here.Can any one help me out.My question is ..
is the command
if ;
then
echo "do some stuff"
fi
correct?
Thanks in advance
abhijeet (18 Replies)
Discussion started by: Abhijeet_Atti
18 Replies
3. Programming
Hi,
I am doing a C++ self-study and I got stuck with this problem.
I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal.
Here is what I wrote:
#include <iostream>... (11 Replies)
Discussion started by: faizlo
11 Replies
4. UNIX for Dummies Questions & Answers
1. How the Unix system identify the Other User to access for file permission?
2. What command we use to convert the extension of a file name?
3. What command use to convert other editing file to Unix based text file?
Please answer of these Question???Its necessary for me?? (3 Replies)
Discussion started by: pradipta_pks
3 Replies
5. UNIX for Dummies Questions & Answers
I need to write a script file that will tell me the largest number in a group of numbers. ANy help is greatly appreciated (2 Replies)
Discussion started by: twan
2 Replies
6. Shell Programming and Scripting
hello! i am very new to this, so please bear with me. i used red hat linux to creat a little two page website for school, which was really just an exercise in absolute and relative paths.
so, now, its all done, and i want to play with it some more, but i think there may be a problem with vi. i... (3 Replies)
Discussion started by: jojodancer
3 Replies
7. Shell Programming and Scripting
how do i write a script that'll open what i entered and scan it for a certain line of text.
for example, i enter a filename (that exists) and in that file i want to scan a certain word that'll show how much of that word appears throughout the file. (2 Replies)
Discussion started by: mrhenry
2 Replies
8. Shell Programming and Scripting
Dears,
Actually i am facing a problem in a UNIX script: I want to convert a column output file to a rows e.g:
from
1234
2345
3456
to
1234 2345 3456
any help please????
Thanks (2 Replies)
Discussion started by: tontal
2 Replies
9. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies
VIEW-OS(1) General Commands Manual VIEW-OS(1)
NAME
mstack - networking stack selection
SYNOPSIS
mstack [-hv] [-o protocol list] stack_mountpoint command
DESCRIPTION
In View-OS multiple networking stacks are available to processes at the same time. View-OS supports the msocket(2) system call. mstack
defines the default stack (for each address family) that is used when msocket refers to a NULL pathname for its stack. mstack provides
also a backward compatibility for all the programs using the obsolete socket(2) system call. The stack mountpoint identifies the stack. In
ViewOS it is the mountpoint where the stack was mounted (by mount(2)(8). In fact the call:
"socket(domain,type,protocol)"
is equivalent to:
"msocket(NULL,domain,type protocol)"
mstacks changes the default stack for the desired protocol families and executes the command (by execve(2)).
OPTIONS
-h prints the mstack command usage
-v sets the verbose mode on
-o defines the list of protocols. Without a -o option, mstack redefines the default stack for all protocols families. The list of proto-
cols may include the a comma separated sequence of the following items: all, unix (or simply u), ipv4 (4), ipv6 (6), netlink (n),
packet (p), bluetooth (b), irda (i), ip (which include all ip related protocols ipv4, ipv6, netlink and packet), #n where n is the num-
ber of protocol. Each item can be prefixed by + or - to specify whether the protocol/group of protocols must be added or removed from
the set.
EXAMPLES
mstack /dev/net/lwip ip addr
lists the address managed by the stack mounted on /dev/net/lwip.
exec mstack /dev/net/null bash
disables the standard stack in a new bash (which overcomes the current one).
mstack -o ip /dev/net/lwip bash
starts a new bash which uses the stack /dev/net/lwip for ipv4 and ipv6 but not for the other protocols.
mstack -o -unix /dev/net/lwip bash
starts a new bash which uses the stack /dev/net/lwip for all protocols but AF_UNIX.
mstack -o +ip,-ipv6 /dev/net/lwip bash
starts a new bash which uses the stack /dev/net/lwip for ipv4, netlink, packet but not ipv6.
SEE ALSO
umview(1), kmview(1), msocket(3), umnetnative(9), umnetnull(9), umnetlwipv6(9), unix(7), ip(7), ipv6(7), netlink(7), packet(7).
AUTHORS
View-OS is a project of the Computer Science Department, University of Bologna. Project Leader: Renzo Davoli.
<http://www.sourceforge.net/projects/view-os>
Howto's and further information can be found on the project wiki <wiki.virtualsquare.org>.
VIEW-OS: a process with a view April 23, 2008 VIEW-OS(1)