Debian :: Can't Use Cut On Df's Output / Sort It?
Sep 30, 2010
I'd like to cut the 5th field of df command's output, but I'm not successful code...
I tried out every option I could think of... Not successful yet...
What I want, is to have the used space, like the 6% in this example, in the output, and nothing else.
View 6 Replies
ADVERTISEMENT
Mar 30, 2010
How do I sort the output of du by its first column. I issue the command this way:$ du.Is there a way?
View 5 Replies
View Related
Mar 20, 2010
I'm trying to use the output from gdialog's input box in another command with no success. code...
View 3 Replies
View Related
Mar 18, 2010
Here is what I am doing I have a file, a.txt for example, with following contents:
Code:
coreutils install
cpio install
cpp install
cpp-4.3 install
dbus install
[Code]...
So it seems like the sorting algo. for dpkg --get-selections is different than sorting algo. of 'sort' command when it encounters "-" (hyphen). How can I sort the original file (a.txt) in such a way that it produces the output file ,b.txt, exactly the same.
View 6 Replies
View Related
Feb 18, 2010
The perl script I wrote works fine if I print the result to screen
x0_amber.pl 1 1000 0 5
But whenever I want to output to a file with
x0_amber.pl 1 1000 0 5 > x0_out
it never really prints out to the file.
It worked earlier, but I was playing with my PATH lately, I don't know if it's related to that
View 7 Replies
View Related
Feb 6, 2011
im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.
echo $(ps aux) >>out
The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.
View 5 Replies
View Related
Feb 28, 2010
What options should I use when I'm using the sort command to sort the top 5 CPU processes (ps -eo user,pid,ppid,%cpu,%mem,fname | sort ??? | head -5) showing max to min usage?
View 2 Replies
View Related
May 4, 2010
We switched from unix to linux and we have an old report that extracted data from a database, output to an ascii file and then sorted the results in the file based on different arguments. The report now blows up when it runs,and I can only guess it is because the options for sort on linux differ slightly from unix.For example, here is one of the commands issued from within the report app that ran on the old unix box:
if sort-sequence = "descending" then
'sort -t~" -f +3.0f -4.0 +5.0r -6.0 -f '
else
'sort -t~" +3.0f -4.0 +1.0f -2.0 -f'
I will eventually rewrite the report to store the data in a local table, but I can simply adjust the options to suit the requirments of linux. Basically, I need to know if this can be a quick fix for the short term.
View 2 Replies
View Related
Oct 2, 2010
My pc is old socket 478 board. It was repaired and installed win xp it worked normal. but later I installed debian unfortunately in debian pc freeze after about 1 hour working. but in xp it was not freezing. what do you think is it from hardware problem.
View 4 Replies
View Related
Jun 4, 2011
I've just installed Squeeze on my laptop (Toshiba Satellite C660D - adapter is a Realtek 8188CE) and was following the instructions on debian.org to set up WiFi. I've changed the source list, done the firmware update and the modprobe, but when I get to step 5 where it says to verify that I have a wireless interface, the output from iwconfig just lists lo, eth0 and pan0, all with "no wireless extensions". Does anyone have any ideas what I should do now?
View 7 Replies
View Related
Feb 13, 2011
When does the grub-pc splash screen disappear?
On my computer it is displayed until "Loading, please wait" appears i.e. after both initrd.img and the kernel are loaded.
A yes and no answer is enough.
View 5 Replies
View Related
Apr 29, 2011
I am still having trouble installing Debian 6.0.1a (Squeeze) from either CD #1 (KDE version) or netinst version. I tried for a few months to install Squeeze with KDE desktop; now I am trying to build a server, which seems easier (no X.org and KDE problems to worry about.)
Part of the problem common to all my failed attempts (about a dozen!) seems to be that the installer tries to get packages or updates/upgrades from repos but for some reason fails.
I have a commercial all-in-one dslmodem/router/firewall which has very, very limited monitoring capabalities, just enough to show that the PC in question contacted the expected repos (I tried several in different regions) and also shows that no DNS requests failed during that time frame. I did try decreasing the security of the commercial firewall, but that seems to make no difference. I did try to save the install logs, but they didn't fit on a floppy. Any idea what could be going wrong?
View 5 Replies
View Related
Sep 27, 2015
I want to be able to sort row and columns by clicking on cells? The Libreoffice docs don't provide much information ...
View 2 Replies
View Related
Aug 25, 2010
I have a problem with my sumvision external hard drive which I cannot mount after upgrading from lenny to squeeze.
For some reason lsusb can see it but I'm unable to use it since a month.
View 8 Replies
View Related
May 23, 2011
Having some memory loss i think (in my head not my pc). I have set up apache before , then changed to dsl in the last week and cant seem to get this new modem/router to work. i can get the loopback address to work, as well as the network ip. can NOT get my other machines to hit the server on the network .
also no connection from outside the network from port 80. my modem is a motorola (att) ,apache2 on my toshiba laptop, amd x2, 3gigs ram.
View 9 Replies
View Related
Apr 9, 2010
Linux Internet Doesnt work
Its connected...
to router netgear
View 3 Replies
View Related
Feb 15, 2011
I am very much new to Debian. To have a feel and check if my laptop (HP Elitebook 6930p) is supported I decided to use a live USB option. I know how to create a live USB disk using Ubuntu and using the same knowledge I created the USB disk and tried to boot using it. The system starts to boots off the USB drive and then is stuck at a point where it fails to identify my HDD. Here is what I did
a) downloaded the debian-live-508-i386-gnome-desktop.iso/debian-live-508-i386-gnome-desktop.img/debian-live-507-i386.iso (I tried with all 3)
b) created a live USB using unetbootin
c) tried to boot from live environment
My laptop's hard drive is encrypted using SafeBoot.
After all the 3 debian images failed to boot I tried with other Linux flavors such as Mint and Ubuntu. Interestingly Mint and Ubuntu boot. Is there some thing I need to take care of?
View 3 Replies
View Related
Nov 20, 2010
I'm new on debian, could someone help me out configuring out my wifi connection?
I can't obtain an Ip i already installed b43xx for my chipset broadcom with wicd manager it seems to detect a wireless
connection but when i tried to connect it can't obtain an ip.
View 1 Replies
View Related
Mar 24, 2011
I did search the forum but didn't find an answer.
I have setup Postfix + Dovecot on my basic debian 5 server. If I send a message to a localuser@mydomain.com from mutt, it delivers just fine and is visible when viewed through squirrelmail, I can also send just fine.
My issue is that irrespective of what options I set in main.cf, I cannot for the life of me get Postfix to stop erroring with "Recipient address rejected: User unknown in virtual alias table". I'm stumped.
My main.cf is as follows code...
I do not want to setup virtual hosting with MySQL or similar, I literally want to receive mail in local users mailboxes for a single domain. Any ideas on what's missing?
View 1 Replies
View Related
Mar 9, 2011
I am having a really annoying problem here. Every time when I use my Computer while listening to music, or watching a video, I get some sort of crackling in my Audio. For example, playing a mp3 with Rhythmbox (or Banshee or Totem, doesn't matter really) while browsing the web is just horrible, every time I scroll down the page (Mouse wheel or keyboard) I get that noise. Just listening to the music while not touching the Computer works just fine. It does not seem to be CPU related, my reason being: I can max out my CPU, rendering a 3D graphic and still have crystal clear sound, but browsing down some big file-folder at the same time will distort my audio.
The same goes with games which are a bit on the high CPU side, like Nexuiz with high graphic settings: No sound problems at all. I am using my on-board sound, which lspci lists as VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10), pure ALSA setup, no pulse/esd or anything of the like installed. Switched to unstable to see if a more up2date kernel or updated alsa would do the trick, it didn't! I am running Debian Unstable - 2.6.37-2-amd64 kernel, Gnome-Desktop. Here's what I did to make my sound work in the first place, since my squeeze didn't recognize my sound-setup out of the box:
To make my onboard sound system-wide default I created /etc/asound.conf:
# Modified as per [URL]
pcm.!default {
type hw
card VT82xx }
ctl.!default {
type hw
card VT82xx } .....
View 2 Replies
View Related
Jul 23, 2010
I finally got around to upgrading from etch to lenny. After having upgraded, I find that the fonts are extremely small in all gtk applications (iceweasel, abiword, gnumeric, etc.)
Everything looked fine before the upgrade, but now the application fonts in the menu bars, dialogs, etc. are so small as to be unreadable. Also, when I open up gnumeric spreadsheets the fonts in the cells are unreadable. All my X-based applications (rxvt, xfig, xmms, etc.) look just fine, it's just the GTK apps that have the font problems.
Interestingly, web pages themselves render just fine in iceweasel. Also, abiword documents look fine even though the menus, dialogs, etc. are too small to read.
I was able to get a workaround for the application fonts. I put the following in ~/.gtkrc-2.0 code...
At 24 point the fonts are still a bit on the small side, though. And I still have problems reading information in the gnumeric cells.
I use the fvwm window manager without gnome or kde.
View 3 Replies
View Related
Oct 21, 2010
Every time I boot my machine, some of the playback values in alsamixer are set to 0 and are muted, so I have no sound.
The thing is, I have tried setting these to normal levels and then run sudo alsactl store. Then, if I run sudo alsactl restore after I reboot, the sound comes back up. However, if I have alsactl restore in /etc/rc.local, it doesn't work: I still get muted sound when I reboot. I have to run sudo alsactl restore manually each time.
I have already checked whether /etc/rc.local runs at startup, and it does. Also, I know that /var/lib/alsa/asound.state contains the correct values, because when I run sudo alsactl restore, the sound returns to normal levels. So what remains is either alsactl restore doesn't work in /etc/rc/local, or something runs after it and mutes the sound.
View 5 Replies
View Related
Mar 3, 2011
I have just installed Debian 6.0 and it does not seem to recognize my Promise Tx4650 RAID controller.
I have created a dual boot with WinXP 64. Windows sees my two RAID one arrays correctly (as two logical drives).
In debian I see four physical drives in file browser.
I contacted Promise tech support and they said that the only Linux they support is SUSE, but they did send me some source code to compile.
This problem is complicated by my newness to Linux and Debian.
Here are some specific questions:
1] Is there any debian package that is known to support the Promise Tx4650?
2] Where can I see if my Tx4650 is recognized?
3] If I have to compile it into the kernel, where are the directions for how to do that?
View 3 Replies
View Related
May 14, 2010
I have no idea how I managed this, but I am able to connect to the internet but NetworkManager doesn't show any connection. This means that until I kill it, I cannot log in with Pidgin, because it is waiting for a connection.
Do I disable NetworkManager completely or do I try to make it recognize that I am connected to the Internet? If the latter, then how should I go about? (Please let me know which files I need to show you, because I know I've messed around with a couple).
View 2 Replies
View Related
Jul 6, 2011
I was just downloading a few torrent files when all of a sudden my network connection just died. I checked the output of dmesg an I saw this:
[25148.587960] [UFW BLOCK] IN=wlan0 OUT= MAC=00:26:c7:05:3f:c8:00:24:a5:34:93:91:08:00 SRC=192.168.106.1 DST=192.168.106.5 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=26519 DF PROTO=TCP SPT=4631 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0
[25174.135763] [UFW BLOCK] IN=wlan0 OUT= MAC=00:26:c7:05:3f:c8:00:24:a5:34:93:91:08:00 SRC=150.101.154.95 DST=192.168.106.5 LEN=58 TOS=0x00 PREC=0x00 TTL=114 ID=3696 PROTO=UDP SPT=18091 DPT=51413 LEN=38
[code]...
Of course their were hundreds of lines just like these,but just so you get the idea. I had to physically power down my router in order to get connected again, then all of this continued. I'm clueless in the networking department, but this seems alarming to me , as some of those source IP's are external. Is someone probing me? Or is this normal with torrent activity? I've never seen so much activity by my firewall. I recognize port 51413 is for transmission, but 3389? That's for remote desktop connections as far as I know.
View 4 Replies
View Related
May 29, 2015
Tried doing Code: Select allsystemctl lxc stop but it hangs with no output. I've tried letting it go overnight, no luck.
strace on the systemctl pid shows:
Code: Select allppoll([{fd=3, events=POLLIN}], 1, NULL, NULL, 8
Tried lxc-stop on my containers and it just hangs as well. apt-file shows no lxc-kill package available.
I just want to restart my containers. Debian 8.
View 3 Replies
View Related
Jul 14, 2010
I'm new to deian and linux in general. I have a project to build a web server. All is going well - have LAMP configured and now reading/learning about security. I've just done a netstat -tuan to look at what ports I have open. It gave me this. I've managed to find out what a mojrity of the ports are...some i'm not sure of. Just wondering if anyone could enlighten me by answering a few questions on my notes:
1. what are the ports with ???. Can i disable them?
2. how comes some ports are listed twice? Do i need to disable them more than once.
3. Are the notes i've made correct...can i remove the ones I'm thinking of removing?
[Code]...
View 8 Replies
View Related
Oct 30, 2010
If I have these lines...
How can I remove the (X) part from the end of all those? For example, when I cat the file which contains those, I just want to see those lines without the (X)...
View 4 Replies
View Related
May 29, 2011
HDMI outputs video but not sound from my Acer Aspire 5738 laptop.I have tried both SMPlayer and VLC setting both audio outputs to HDMI.Those media players have always worked for me using other Linux distros.Is there another media player that I should be using?If it's important;lspci lists;Audio as ATI and Video as ATI Mobility Radeon HD 4500
View 2 Replies
View Related
Feb 25, 2011
How to see the command output headings
For example:
on executing the 'w' command u will get the following output:
$ w
USER TTY FROM LOGIN IDLE JCPU PCPU WHAT<<<column headings
navdeep tty1 - 23:55 31:10 5:00 0.00s /bin/bash /usr/
navdeep pts/0 :0.0 00:00 0.00s 0.44s 0.00s w
Here we know what each column stand for but this not the case with other commands. How to do this (column heading for commands).
View 1 Replies
View Related