purely want to use linux for doing documents, writing software, internet, do you need very powerful PC? we can see intel/AMD are coming out with very powerful CPU/APU or whatever high end - 4-8 core processors,it is nice to own a system running with latest technology CPU,anyway, will it be a waste if you only run Linux on such system?because linux always only need minimum hardware requirements.
Whenever I want to shut down, I have to enter my password, because shutting down while other users are logged in is a privileged operation. Now, I couldn't download an update because the update lock was in use. I'd be surprised if someone had targeted my system, especially because I didn't install any obscure .debs or anything recently, but I'd really like to find out if it's been compromised somehow. Say, by obtaining an overview of all users currently logged into my system or something. Is that possible?
I have tried puppy, knoppix, and nimblex all trying to copy the contents of a crashed drive to an external. They all have problems writing to the external even though it is listed as "(rw)" I guess because a liveCD doesn't want to touch the installed system (?)
What is the most powerful linux liveCD which allows one to write from anything to anything else with all safety turned off?
I've been using linux for a while (various distros) but somehow they dissapointed me. I know what I'm looking for, a lightweight, fast, minimalist but customizable enough, with no specific graphical environment, bleeding edge distro for a new laptop (used for studying and surfing internet), that hopefully works with my hardware.
I want to have the possibility to compile from source to make my own changes but also to install from binaries easily. I'm not a linux expert, not even an advanced user but I'm willing to learn anything to get my distro running so I'm not looking for a full out of the box distro. It would be great if this distro also had a good community.
I am familiar with slackware's slocate.What slocate doesn't have is an option to limit returned results from specific users or groups.What's more I can't seem to find a gui/web frontend so that people without knowledge of cli can benefit from the slocate's indexed search.So I turn to you all, is there another tool, that supports per user/group searching and a web (preferably) frontend?(clarification) i think slocate returns results related to the user running the search (files that he owns as well as files that are owned by his primary and other groups). Is that correct? I basically want a search user (who will be a member of the several groups that our office is structured like) to get results by giving as search criteria not only the filename, but also the owner of the file and / or the group
I am with Ubuntu 11.04 32Bit edition and I use (and love!) FileZilla. I just run the update procedure and it says there's out the new v3.5.0 but if I try to get it via Software Update it doesn't show results. How do I do to add it via Package Manager? There are some Official Beta/Nightly repositories can I add?
Another question... I'm looking for a powerful screengrabber, SnagIT like, there are any advanced tool on Linux? I tried running SnagIT via WINE but it doesn't work.
I am looking for a powerful (500mw+) wifi USB adapter for my netbook, and after spending quite a bit of time on Amazon, Newegg and Google I couldn't find anything that would work properly on Fedora without compiling the drivers and stuff. Some are reported to work on Debian distros, but couldn't find any reliable reports of them working on Fedora.
I have been using u torrent in windows and I am not able to find a similar torrent client in ubuntu 10.10, I was using transmission bittorrent client, but it is not able to look for peers and seeds as utorrent does and even the download speed is very slow when compared to utorrent. Which is the best torrent client as powerful as utorrent?
Given the name of a mounted volume (e.g., /mnt/vol), how would I determine its capacity and available space in C? I've been googling for a while now and nothing jumps out as the solution. I can use getmntent() to get the name of the actual partition that is associated with the mount point, e.g. /dev/sda2, but I can't figure out how to find the capacity of the volume nor how much space is remaining, such as what the df command shows. Is there an ioctl defined to get this information or some other system call?
I am interfacing ADE7758 to At91sam9261 spi interface. Linux 2.6.28 is running on my custom board. have driver for this 12-bit ADC (ADE7758) on linux ?
I have a file in which I have string called "already there" in some line of it. I want that if the string is present enter some loop..
like if(( grep "already there" $file is true )) then -- -- fi
But the thing is when I make grep it gives the whole line in which this string is present and gives some error: if[ grep "already there" file ]: command not found. I am very new to shell scripting.
I am using the following to find the Day of the Week on my server which is in UTC.
Code:
But say if I want to find the Day of the Week in another timezone, how would one go about it. I had a look at date --help but could not find any timezone related switches so am not sure if this is possible using this method.
Update: This appears to work but is this the only way?
It does not seem to be finding perl but I do nt know why or what to do about it? could this be the problem? APACI_ARGS='--prefix=/usr/local/httpd_perl' I do not have the slightest ideal what that means or if I need it.
I want to extract all the common entries in the given 3 columns(fields) in the file using awk::can somebody tell me how it can be done in awk...the file is::
This simple task is proving harder then imagined. I have a multi-level directory that I'm trying to clean of duplicates, but I can't get 'find' to print what I need to see. To give an illustrative example, here is a dir:
Code: stuart@stuart:~/testdir$ ls * dir1: level2: dir1
So the output of find as i'd like it to work would show the two locations of dir1, which would be ./dir1 and ./level2/dir1. But no:
Code: stuart@stuart:~/testdir$ ls -d */ | head -1 | find . "`cat`" -type d . ./level2 ./level2/dir1 ./dir1 dir1/
I am trying to find IP address. In a socket programming tutorial, I found :
Code: $ nslookup localhost command. It gives me a address. However, one colleague told me :
Code: $ ifconfig
It also returns me inet_addr. But both are different. Kindly tell me the correct method to find IP address? I have also checked the /etc/hosts file but it says "localhost"
I would like, from a C program, find the hardware MAC address of the default route path. With BASH I can do a 'route' find 'default and then an ifconfig and grep for 'HWaddr'. Are there C calls to do the same??
anyone know that the ntfs's file sytem struct? is there's a API or something other could let me get this number? Or there is actually no such number in windows like the number of inode in linux?
im trying to write a makefile which contains :two cpp files and two header files. now i've put cppfiles in a folder called source whose path is: /root/workspace/source and header files in a folder called header whose path is:
/root/workspace/makedemo/header
my makefile is in the path:/root/workspace/makedemo my makefile was like this:
Code:
HEADERS = $(shell /root/workspace/makedemo/header ls *.h) SOURCES = $(shell /root/workspace/source ls *.cpp) COMPILERFLAGS = -W -Wall DEBUGFLAGS = -g
[code].....
im sure that i've given the correct path but it is showing errors like this:
[root@localhost makedemo]# make /bin/sh: /root/workspace/source: is a directory /bin/sh: /root/workspace/source: is a directory g++ -W -Wall -I. -o output g++: no input files make: *** [output] Error 1
I once had a script that when run would find the first 800GB of files in a directory (including subdirectories) and write them to a file (ie: ./800gb.sh > manifest.txt).I used this to create manifests of 800GB worth of data from large directories in order to dump to tape (LTO4).I'm sure its gotta be a pretty simple script, but I am not very skilled at writing bash scripts.
I'm using ubuntu 9.04; I have a large project in windows that I want to "port" it in linux. It uses IPC mechanism "Shared memory" and also "Critical Section" APIs in windows, but unfortunately I have no good reference to change these windows APIs to their equivalent in linux?
Is there a comprehensive documentation or reference for this issues? I mean a table containing the equivalent APIs or systemcalls in windows and linux! For example, what's an alternative for the "InitializeCriticalSection" API in linux? Or an alternative for "CRITICAL_SECTION" structure? Or even an alternative for "RegOpenKeyEx", although we don't have registry in linux!!
AStar works on the basis of straight lines, AFAIK. In my case, we have geocoordinates and I can get the straight line distance between the waypoints. But I am wondering how approximate will the route calculated on this basis be? The actual distance "by road", which actually matters can be different.
Example. Assuming A and B are on the same plane, and will be equidistant from the goal point, if we consider a straight line between A and the goal point and, B and the goal point. The distance "by road" between A and the goal point may be greater or lesser than B. But because the AStar works on the basis of straight lines, it will return both the routes as the shortest. If yes, then which algo should be considered , if we want the results on the basis of actual distance in Km/m?
I want to get the hardware information in linux. As in windows we can have API to get the network adapter information and all. But in linux why dont we have? i try to read network adapter info in /proc/bus/devices file.. but that file is very hard to parse.and i looked at the lspci source c ode. but unfortunately I dint undersatnd that code to get the network adapter information.
Is there any equivalent of WaitFOrMultipleObjects on Linux?
I was finding a cross Platform library that allow you to run another program from your C++ application. I found POCO but it does not support functionality like WaitFOrMultipleObjects for both (linux and windows). I tried boost Process but its not official till now.