Shell Command's Don't Recognize

Hi everyone

I have a problem in RehHat 6.3, i don't know what happen but several command's simply don't work, what I can do to solve this problem? and what logs I could check to prevent this problem?

thanks in advance
tiago


Similar Content



New Simulator Problem

Hi all i hav problem in NS2. whenever creating an new simulator it shows an error for invalid command name "new". how to solve this problem plz help me

Thanks in advance

Nanda

Checking Presence Of A File Identified/ Addressed By A Variable

hi,

I am newbie in Linux shell scripting.Can anybody help me to check the presence of file identified by variable in Shell scripting?

For example: I am reading the content of a file using while command as below:
"while read -r line
do
code block
done < file_name"

Now in this case every line in file gets stored in the variable 'line' one by one.Problem here is every line in the file is nothing but the file_path of another file say xyz.txt and I am checking presence of this xyz.txt file using below command:
if [-f $line]
as 'line' is the variable which stores file path of xyz.txt but it is not working. It is unable to check the presence of this xyz.txt file as i am addressing it with the variable 'line'.

Please help me.Thanks in advance.

Should I Post In The Software Or Hardware Section For This Problem?

To prevent spamming your awesome forum, and to most efficiently find an answer to my problem, should I post my problem in the hardware or software sub-forum?

I am having a problem with a new video card I installed: The nvidia driver for my GTX 570 will not load properly. Because it is a new video card and prevents me from using my monitor properly, I feel like it should go in 'hardware'. On the other hand, because it is a driver problem, I feel like it should go in 'software'.

Because I don't have much experience in this forum, I wasn't sure and thought it would be best to ask for now as well as future reference.

Thank you in advance!

Prevent My Logs From Growing So Large

I have a Kubuntu install that works fine but for some reason, it grows the logs into hundreds of GBs.

Is there a method to prevent those logs from growing so large? I researched "log rotate" but I couldn't understand it.

I would like something established such that after a certain size, the logs are automatically deleted so I don't have to do it manually each time.

How would I do so?

Here are the logs:

#1: /var/log/syslog
#2: /var/log/kern.log

I already determined I don't need them, so I would like to auto-delete them once they reach a certain size.

Thank you.

FreeRDP Commands Not Working On Raspberry Pi 2 (Raspbian)

Hello guys!

First thing to be said is, that I am not native English speaker and I hope my english will be sufficient for this problem.

I am trying to make some kind of thin client from my Raspberry Pi 2.
I put Raspbian Wheezy distribution inside.

After I tried different clients (rdesktop, remmina, xrdp) I found FreeRDP, that looks like what I was looking for.

After the setup and network configuration of my Raspbian I updated repositories and installed freerdp through
Quote:
sudo apt-get update
sudo apt-get install freerdp
Their wiki says that there are 2 forms of commands. The newer one (through /PARAMETER) and older one (through -PARAMETER)
https://github.com/FreeRDP/FreeRDP/w...dLineInterface

How do I get new commands to work? I thought that apt-get install freerdp would bring me the newest version. My version is 1.0.1 and I am not sure if it is the newest version.

I need to run my rdp client from shell, that is why I refused to use remmina.

I hope i explained my problem weell enough.

Thank you for any suggestions.

Drivers Issues

Hello people, im not really new with linux per say, but its the first time that i have this problem, i makes me feel like a newbie!!

well, this is the problem, i've just install linux 17.1 rebecca on my new computer. the installation goes well as usual, but when i log in, appears a new message "running in software rendering mode" and it doesn't recognize my video card, nor i can connect to internet to get the drivers. So i dont know that to do. i would really appreciate your help. Thanks.

P/D: Sorry for my english!!

My computer:

MotherBoard: Gigabyte 990 fxa-ud3
Ram: 8gb
Graphic card: Msi Geforce gtx 960 2gb
Cpu: Amd Fx8320
power sup: sentey 650w

Problem Operating Command With DUAL Operating System With Ubuntu & Windows 7

I try to install ubuntu 9 on woindows 7.The ubuntu is working quite fine.I try to see where my bin files are located.Its in folder FILE SYSTEM.
My commands ip addr,ls are working.

The command sudo cd/usr/bin is not working.

Please let me know where problem is.

Elementary OS Freya: "Failed Waiting Boot Device"

Hey,

My plan is to run some Linux distro's on an external USB HDD. So far I have been able to instal elementary OS, it thus far boots with the elementary OS logo and hangs for a while when it gives me the following message:


"Gave up waiting for boot device.
- Boot args (cat /proc/cmdline)
- Check root delay (Waiting long enough?)
- Check root (Waiting for the right device?)
- Missing modules (cat /proc/modules; 1s/dev)

ALERT! /dev/disk-uuid/*super long number* does not exist. Dropping to a shell!

BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) build-in shell (ash)

Enter 'help' for a list of build-in commands."


To give you an idea of the external HDD partition:
60 GB: ext4 (elementary OS)
4GB: SWAP
Free Space
80 GB: NTFS (Random files)

The ext4 was given '/' for mounting point to keep it simple for now. The 'boot part' I've set to instal on sdc. Which is the external HDD. (I wasn't sure whether I should have chosen the ext4 partition or not.)

Please let me know if you need any addition information. I hope someone is familiar with the problem or knows a solution.

Thanks in advance.

Audio Output Source Changes

Not sure if I should be posting this here or the arch board (I dont think there is a manjaro board but arch is close enough) but I'm still learning the in and outs of all this and this board has been really helpful with ambiguous problems.

The Laptop:
Hardwa Lenovo Thinkpad W530
OS: Manjaro 0.8.12 Ascella
Kernel: x86_64 Linux 3.19.3-1-MANJARO
Shell: bash 4.3.33
Resolution: 1600x900
DE: XFCE4
WM: Xfwm4
WM Theme: Menda
GTK Theme: Xfce-dusk [GTK2], Not Found [GTK3]
Icon Theme: Menda-Square
Font: Cantarell 11
CPU: Intel Core i7-3630QM CPU @ 3.4GHz
GPU: Quadro K1000M
RAM: 1112MB / 15871MB

Problem: Audio will randomly stop, only after waking up or logging in. It never happens during playback. It seems once I get it working again it doesn't happen.

Oddly enough, I cannot recreate the problem it's pretty inconsistent but its happening fairly regularly

What happened when it started: I was trying to connect headphones by bluetooth. Beats headphones (if this is relevent). It connected right up, but it took a little bit of troubleshooting before I realized I had to manually switch the output source to be the headphones. The problem started shortly after this so I am guessing this is what started it.

Troubleshooting: Here is what I am noticing, simply plugging an audio cable in and then out resets playback to the speakers. I took at look at the 'audio mixer' and saw this, whe nthe headphones are plugged in, speakers switch to "muted", masters level drops slightly, and 'mic boost' turns up a bit. Unplugging them unmutes the speakers, puts master back to maximum, and turns mic boost down.


I haven't seen the audio mixer while the problem is still happening because It's become a kneejerk reaction to just quickly stick the headphones jack in to fix it.

I've seen this thread:
http://www.linuxquestions.org/questi...put%27-798325/
and this following article:
http://ubuntugeek.com/forum/index.php?topic=21.0

These seem more applicable to ubuntu and the problem itself seems different.



Any thoughts?

Time Sync Problem Between VirtualBox And Host System

hello all,
i actually am new to using VirtualBox, so am not aware with much of its functionalities.

my problem here is that when i take a snapshot at say 10am , and then restore that snapshot an hour later at 11am and then start the VM then the time in the host system is 11am but the VM shows the time as 10am and continues from there itself.. i tried waiting for some time to see if it would sync the time automatically, but it didnt.

so is there any command using which i can sync the time between the VM and host system?

i have searched and found that VM GuestAdditions helps to sync the time instantly within 10 sec or so.. but i dont want to use it because i have heard that many problems have occured after installing the GuestAdditions..

so without GuestAdditions is there any command to sync the time?

thankyou to all in advance