Software :: Equivalent For Ndd ,p Tree And Tip Command?
Dec 19, 2010
In solaris we have ndd , tip and ptree command but I couldnt find any similar command in Linux. does anyone knows the equivalent for ndd ptree tip then please let me know.
View 2 Replies
ADVERTISEMENT
Nov 27, 2010
Kernel 2.6.21.5, Slackware 12.0
Suppose I use the mv command to move certain subtree within the tree rooted at /. May I expect only a very small quantity of sectors will be involved in the process? Or, on the contrary, it is probable that a large amount of data will be transfered from sector to sector? Assume ext2.
If any of you is wondering why such a theoretical question, I am ready to translate it to practical terms: I have just created a directory called /home/john/mic2 which I expect to grow until reaching over a thousand nodes (nodes in the sense given to this word when studying lattices, trees and the like). But maybe later I will change its name to /home/john/mic1 for which, I think, mv is the usual tool in Linux.
mic2 is just a file. As such, there is a set of sectors associated with it. When I rename, these sectors will be left vacant and a new set of sectors will be written. Or maybe the same set shall be rewritten. And is that all? Remember mic2 is by now about a thousand nodes "large".
View 3 Replies
View Related
Apr 24, 2010
I'm trying to find a command or program to show what files and folders are taking up the most space on the hard drive, much like tree size view on windows, is there and equivalent on linux?
View 2 Replies
View Related
Sep 17, 2010
I have a DBA that needs to be able to do a "setgroups" on Linux. He had the functionality on AIX but now we're migrating to red hat. In-case you don't know the setgroups command in AIX; it allows users to drop groups that they belong to for that login session. He wants to be able to do this so that he can drops groups for testing. Does anyone know of any equivalent commands to setgroups or another way of dropping groups for that session and not permanently?
View 1 Replies
View Related
Nov 14, 2009
im switching over from ubuntu and just have a couple questions, what is fedoras equivalent commands to the apt-get command? and what other slight variants am i going to need to know?
View 9 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 19, 2010
What is the equivalent of Solaris's cu command in Linux?
View 2 Replies
View Related
Apr 18, 2011
Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?
View 4 Replies
View Related
Apr 12, 2010
We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->
Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...
View 1 Replies
View Related
Feb 19, 2011
I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".
View 7 Replies
View Related
Jan 3, 2011
What is the equivalent of read -r (solaris command ) in Linux ? read utility in solaris will read a single line from standard input and -r option is used not to treat backslash () as an escape character .
View 4 Replies
View Related
Feb 14, 2010
title's confusing, but can't edit it. I may not know what I'm talking about, but does anyone want to have a go at translating this suggestion I dug up into one that Mint 7 would act on?
sudo insmod /lib/modules/`uname -r`/kernel/drivers/usb/serial/usbs erial.ko vendor=0x16d8 product=0x6280
Object is to get drivers for telstra turbo which isnt recognised at all yet.
View 8 Replies
View Related
Aug 31, 2009
Using the following command:
xterm -e tail -f stdout.log
I can see the log of an applications and it's update in realtime. I want to uninstall the gnome and I'm looking for the equivalent command for the terminal. I want on startup tty4 for example to show me the log.
View 3 Replies
View Related
Jul 29, 2010
What is the equivalent of Solaris's passwd command in Linux?
View 2 Replies
View Related
Aug 2, 2010
Is there an equivalent command that will perform the same task as ALT+F4 keystroke? I want to create a simple script that lirc can use so I can set up a button on my remote to close program windows that pop up (like when plugging in usb thumb drives, inserting a dvd, and other windows), and avoid having to remote desktop or go into CLI to kill the window.
View 9 Replies
View Related
Apr 1, 2011
I write a script to read a file which is something like a pipe (or) queue , which shows the running status.In normal case, if i open this file with cat command, i have to use ctrl+c to exit this . What command shall i use to do the same inside a shell script ? I have tried ^C in my script , but it does not exit the process.
View 6 Replies
View Related
Sep 19, 2010
I'm connected to a Linux box through SSH on which I don't have administrative privileges. The command I wish to use is called tree, but it isn't installed. Is there any way I can load the tree program into my home directory and run it without the need to install it system wide?
View 2 Replies
View Related
May 27, 2010
I have a Cygwin script that connects to a web site with the bash command "curl". Phasing out Windows, I need to port everything to Linux. Ubuntu bash doesn't recognize "curl". There has got to be an equivalent.What would it be? Beneath the dashed line the top of the cygwin man page. And while on the topic of the bash commands available on Ubuntu, where could I find an exhaustive list?
[Code]...
View 3 Replies
View Related
Mar 25, 2010
strings in Unix and Linux extracts printable strings from a binary file. Is there a version of this for Windows? I couldn't find one.
View 2 Replies
View Related
Jan 11, 2011
Is there an equivalent of XFCE "verve command line utility" for Ubuntu Maverick?
View 3 Replies
View Related
Mar 22, 2011
I'm wondering if there exists a program get can build a tree from the ftp?
View 3 Replies
View Related
Nov 30, 2015
I have a home storage of many drives which are seldom accessed, and extremely seldom written to. So, I made several RAID1 arrays with "write-mostly" drives in each one, so that all the drives spin down after a while, and if they are accessed, only one drive in each array has to spin up. This way, I hope to minimize the risk of losing anything due to mechanical shock or wear.
But it was not so easy. First, the write-mostly drives did spin up on every read request due to a bug in the kernel, so I managed to get the fix accepted into the newer kernels (which is my largest contribution to the Linux development so far. See [URL] .....) Now, if I read directly from the array, it works as expected (only the first drive spins up); but if I create a filesystem there (ext4) and read from it, the second drive still spins up anyway. (Does ext4 write something when it reads a file?.. I have it mounted with relatime, so AFAIK it shouldn't...)
Well, I thought, I'll just mount the filesystems read-only and remount them if I need to modify the data there, which is not very often, to say the least. Also, this way the drives don't have to spin up every system shutdown to unmount the filesystems; during a power outage, it used to take a lot of time for them to spin up one by one just to unmount, while my UPS had to survive long enough for them to finish. That's one more problem solved.
But I decided to improve even further. Sometimes I just want to see the contents of those arrays without even accessing some files (for example, when I accidentally click the wrong network drive button in Windows, or when I just want to see if I have something there or not). If I read the directory trees during startup and keep them cached, then those drives won't even have to spin up at those moments! The question is, is there a way to do it? I remember Linus boasting about our kernel being the best at caching the filesystem trees, and I know there is vmtouch [URL] .... which allows us to keep some files cached, but what about the directory tree itself?.. If I simply "find" all the files there, it seems to work, but they get evicted from cache sooner or later...
View 3 Replies
View Related
Jan 27, 2010
I'm looking for some software that could help me make a family/work tree. The only problem is that I would like to add other types of connections other than the blood related ones, such as worked with, studied with, supervised someone else etc. And perhaps have the possibility of adding some data about each person and export in a format that can be used by other programs as well.
View 1 Replies
View Related
Jan 9, 2010
I think I've finally settled on Slackware, but I kept missing Arch or FreeBSD for some reason. Last night I realized it's the abs/ports systems they have. I love the freedom to rebuild any package from source so I can configure build options and not worry about how packages from third party sites were compiled (missing features, patent restrictions, etc.).
SlackBuilds.org is awesome, and according to that site Pat uses SlackBuilds to build the official packages. Wouldn't it be great if there was a /var/slackbuilds/ directory with subdirectories for each software set for the officially supported software and then a subdirectory for each category on SlackBuilds.org?I would really like to see this in Slackware some time. It would help organize all the available software in the official sets and SlackBuilds.org and make it easy to compile anything. Other software would, as usual, be downloaded from third-party sources and simply installed that way.
View 14 Replies
View Related
Jan 3, 2011
I have a straingh problem with kill. I start a skript run.sh. With Ubuntu i can kill run.sh and the whole pstree is killed. with centos it does not work?
[Code]....
why does centos do not kill the wohle tree? is there someting with the bash? ubuntu use 4x and centos 3.2
View 2 Replies
View Related
Jun 10, 2010
I've got a directory structure full of files. I want to convert them all into some other format, but I don't know how to keep the directory structure, is there a way so I can "set" which command to use on files instead of `cp`?
View 4 Replies
View Related
Dec 29, 2010
I initially set up my filesystem on a single disk, normal, plain vanilla, with a partition for /var.Just as an example let's say I have in this file system a path /var/lib/temp.Under /temp I want 4 directories /one, /two, /three, and /four so I get /var/lib/temp/one and /var/lib/temp/two, etc. So I created them.Now I want to separate the directories /one, /two, /three and /four such that each is on its own partition. I create the four partitions and then copy into the appropriate partition /one, /two, /three, and /four. Of course all the stuff inside of those directories are moved over as well.
In fstab I locate a mount point called /var/lib/temp, located just below the /var mount point, and it is on the line with the partition that holds /one.Save fstab, mount -a and it works. Back to fstab, add a second line below the first with same mount point but this time with the partition for /two.Mount -a and /one fails and /two is up. So yes, I can't just put the fstab file together the way I did. I see that clear as day. Last line wins. What I don't see is how to make it right.
View 6 Replies
View Related
Jan 3, 2011
Is there a safe way to cleanup the /lib file tree? Mines gotten too large for the filesystem it's on (/), and I've already shot myself in the foot a few times trying to delete things.
View 7 Replies
View Related
Jan 12, 2011
I am looking for a tree style note app that can encrypt its files. Something like Zim in layout and function.
View 4 Replies
View Related
Sep 27, 2010
I am trying to use the cp command to copy some files around but want to preserve the entire folder structure. Example:
Then within the /backup location I want to see /backup/folder1/folder2/file.
I have tried cp -a and cp -p but neither give me the above.
View 3 Replies
View Related