General :: Searching For Ns2 Codes Based On MANET
Jun 18, 2011I am interested to know solutions for ns2 problems.Basically i am doing mini project using ns2.
View 1 RepliesI am interested to know solutions for ns2 problems.Basically i am doing mini project using ns2.
View 1 RepliesI think I put this in the wrong place
View 1 Replies View RelatedI notice that on DistroWatch, the descriptions include "debian based", "arch based", etc. For the newbie, is there any practical difference between the different bases, or is it a Coke vs Pepsi type question?
Is a distro based on Debian say, easier for a newbie to learn or work with than say one that is FreeBSD based?
i needed to implement leach protocol in ns2using linux redhat but i need the codes for leach protocol
View 2 Replies View RelatedWhen you use an IDE and it asks you if you want frame based or dialog based, what is the difference?
View 1 Replies View Relatedwhat distro should i use, rpm based or debian based?
View 2 Replies View RelatedI'm doing my project on shell designing, so can I know the basic shell (any shell in linux) codes using c language with few commands implemented on it.
View 2 Replies View RelatedI'm trying to get this rather troublesome (and poorly made, I might add) game to work correctly, and right now it has frozen to a black screen with a frozen cursor. I can't figure out how to shutdown X, but while this game is frozen as it is, I might as well figure out what the process status SL+ means. If anyone has a link to a list of process status codes and their meanings
View 1 Replies View RelatedWhere can i find a list of cronjob return codes for linux/unix
View 1 Replies View RelatedWhere would i find the list of distribution codes.For example.Code:samba-32bit-3.4.2 -1.1.3.1.x8664.rpmIn above rpm file it is indicated that its release is 1.1.3.1 .The rpm is meant to be run for opensuse.Where would i get the linking of release number and In simple words How would i guess distribution by merely looking at rpm name?
View 2 Replies View Relatedare there any commands to search your Mac using terminal? I tried usin grep to search but it seems somewhat unresponsive and nothing comes up.
For example, I would type "grep Files" (A folder name) and it just prints a blank line and nothing happens.
Does less have an incremental search?
I'm on xubuntu.
I'm currently trying to design a small, simple enough shell program for area codes. I have a list of area codes in a database, and I am trying to write a program that will have a user input an area code, and then have the program print out information that immediately follows that area code in my database. I assume I need to use a find or locate command, but I'm not sure if I should be searching for a string or the number itself. The number could possibly occur at some other point in the file, though the way I have the file set up it only occurs once at the newline.
what function I should use and how I should go about it? As is I only have the absolute bare-bones beginning of having an echo for the prompt to input an area-code, and the read once it's input. Without the find I'm not sure how much farther I can get. Also, would it make it easier if I added some character such as a ! to the end of the number at the newline to make it easier to search for? With a macro that would be easy enough to do.
I have searched a lot in google regarding the various search commands available for linux, but everywhere i got the commands only for files. But suppose i know the name of a folder but not it's path, then what is the command to search for it's path.
View 10 Replies View RelatedI had opened a file in vim editor in my ubuntu 8.04 & wanted to see if line ends with
(like DOS) or
(in UNIX)
I tried
Code:
:%s/
//gn
& vi editor got hung with processor nearing 50%
Then I pressed ctrl+c & vim resumed with message
Code:
147416605 matches on 1 line
So my question is
(1)why this reaction from vim ?
(2)I want to see all control characters in file.
I used notepad++ in windows & it had option to differentiate tabs, spaces, return etc.
I am in love with this wallpaper [URL] for slackware. I serched in google until page 32 and no image appear that match this one.
View 5 Replies View RelatedWhat I am usinggrep -B 1 -A 2 "Installed" /var/log/updates.logInstead of tailing the log is there a way to grep all lines of the log with word Installed AND today's date? Also, what about grep lines of the log that contain a specific date and more than one word, by example : ('Installed' or 'Failed' on '2011-06-24')?
View 14 Replies View RelatedI want to search lines with these stings with one or more spaces..
e.g
Code:
a b
a b
a b
a b
How will I achieve this by egrep ?
I often have many windows open on many virtual desktops and I have hard time finding some application.
So is there any tool for searching open windows?
Currently I using Awesome as my window manager, but it does not need to be dependent on it.
I often send and receive gpg-encrypted mail. At the moment I use thunderbird + enigmail (in linux) to do that. As far as I know there is no way in thunderbird to find all encrypted messages which bodies contain particular keywords. There also seems to be no option to save encrypted mails decrypted (so they would be searchable). However for me it is important to be able to search old encrypted mails.
Is there a way in linux to save incoming mails automatically decrypted in my inbox and save outgoing encrypted mail decrypted in the send folder? Both times adding a line to the body which remarks that the mail was encrypted.It could be another email client for linux that could to that or perhaps a solution using procmail or maildrop.For a procmail solution I guess there could be some problems with encoding (perhaps one have to use emil?). Note that the solution should work for multipart encrypted messages (including encrypted attachments) too. The point is that the mails are encrypted on the mailserver or more generally on their "way through the net".
I have a directory that has a large number of files, around 1.5 million at this point. If I go to the directory and type in "ls filename" for a filename that I know exists, ls just hangs. I have let it run for over 20 minutes and it never does anything. Up until yesterday the directory was working fine through samba serving up files, but now it doesn't return anything. How to proceed from here?
View 7 Replies View RelatedI am looking for all the files that contain the text string 'moo.sql'. I ran the following:
find . -name '*.php' | grep -lir 'moo.sql' *
Unfortunately it seems to return non-php files in addition to php files. I thought the find portion of this would filter the file names so grep would only search php files.
I'm a frequent user of grep. I know that I can recursively search a directory using the -r flag:
Code:
// will recursively search all files
grep -r 'some string' *
However, if I want to limit my search to PHP files, the -r flag is suddenly useless:
Code:
// for some reason, this only searches the PHP files in the current dir
grep -r 'some string' *.php
Any good way to recursively search a directory and its subdirs for a string but ONLY look at PHP or HTML files (and possibly TXT files too) ? I'm really hoping for a nice, short command that doesn't involve using an exclude file and which isn't really painful to type. I do this kind of search very frequently and have resorted to either searching EVERY file which is really slow (TAR and ZIP files really slow it down) OR typing repeated commands to search *.php, */*.php, etc.
Is it possible to search ALL files on a system for a specific text string? I've been messing around with grep without any luck.
View 2 Replies View RelatedI promise I am carefully studying shell use, and much else, but right now I just need the shell instruction to search directories recursively, for files with .swo & .swp extensions, deleting the files as they're found.
View 7 Replies View RelatedI have word like initialize_my_var:in sample.php and I included three library files, take it as a.php, b.php, c.php ,I really don't know where my label(initialize_my_var:)definition is present in my library files, is it possible with a pattern matching string to find which library file really have the exact term "initialize_my_var:" , I'm really looking for an exact pattern match.
View 1 Replies View RelatedI was trying to develop a script which needs to check the count of files on hourly basis and if it find any addition it has to sftp and send a email on the status with filenames and number of files copied via sftp. I will put it on cron to run every hour.
I'll use ls /abc|wc -l to count the no. of lines for the first time and from then whenever a new file will be inserted it'll copy that file to another location or I'll take the date of the files and whichever is having a new date that will be copied to another location.
Gparted LiveCD version 0.6.3-3. boots and loads GUI, then searches endlessly for partitions. No luck running it from command line either. Dell laptop set up to dual boot, Windows XP/PCLinuxOS. I want to shrink the Linux Root partition to give more space to the Home,
View 14 Replies View RelatedI am writing a shell script that finds all files named <myFile> in a directory <dir> or any of its subdirectories, recursively. I also need to take care of symbolic links that may form cycles, to avoid infinite loops. I am not supposed to use find command for the same
I started writing the code but got stuck. I thought using recursion may be a smart way, but its not working.
Code:
#!/bin/sh
findFiles()
{
thisDIR=$1
#cd $thisDIR
code....
I would like to search a specific directory and pull out filenames that have this pattern: "_bsc_" Then I want to do some processing and move the file to another directory
View 5 Replies View Related