0
votes
1answer
21 views

Passing VARS to another console on Fedora

I'm trying to source the config.sh file from a path that's defined in a variable. How do I get my variable to expand in the current console. Here are my commands: [root@mysystem]#export ...
0
votes
1answer
87 views

Bind bash script to keypress

How do I map a keypress on a keyboard to a bash script? For example, when I press the "Esc" key, the script is run. OS: XFCE Spin Fedora 19 ---- EDIT ---- I need to set this via the console. This ...
4
votes
1answer
121 views

getting “command not found” when using source command on Fedora

I am using Fedora. When I issue: -bash-3.2$ source na-profile.conf I get: : command not found : command not found : command not found The na-profile.conf file looks like: KEYTAB=server02 export ...
2
votes
1answer
68 views

How do I stop my bash shell from asking to install a package?

When I mis-type a command, the shell tries to find a package that provides it. How do I disable this feature? Example: [dave@dave cpp]$ sl bash: sl: command not found... Install package 'sl' to ...
3
votes
2answers
3k views

Permanently disable screensaver Fedora 19

I am creating a bash script that will 'setup' a client machine running Fedora 19 (GNOME). I need to be able to permanently disable the screensaver with no user input. I found some (granted, old) ...
0
votes
0answers
51 views

Why yum's tab completion is slow

Why yum's tab completion is slow, does it connect to internet to get information about packages? if yes, how can I disable that and force it to use local repos.
1
vote
2answers
331 views

Finding not empty directories without subdirectories and specific sorting

I have a problem with my "homework" on studies. I have to list all not empty directories from /var and /usr, which do not have subdirectories and their owner is not root user. Also, for each ...
3
votes
2answers
749 views

CL VIM: How to get 256 color support in Fedora 17 terminal?

How do I enable 256 color support for VIM in the Fedora 17 terminal? My .bashrc: 1 # .bashrc 2 3 # Makes terminal default 256 Colors Include these lines in .bashrc 4 5 export TERM=xterm-256color 6 ...
1
vote
2answers
84 views

Changing permissions for specific folder

i need some help. I'm using Fedora 15. I have 2 users: user1 and user2 and directory in /usr/local/example_directory. Now for this directory owner is user1 and other users can only read this. I need ...
1
vote
2answers
4k views

How do I become root user in bash? [duplicate]

Possible Duplicate: How to perform root level commands on Linux (Fedora) Live Media I just installed F17 and am trying to learn the basics of bash. All that I know for sure is that the ...
1
vote
1answer
772 views

Mounting Fedora ISO DVD and then copy the full DVD structure locally

I need to recreate in a local folder called /distro/fedora/ the full directory tree (including eventually hidden files, symlinks, etc.) contained in the .iso file just downloaded ...
0
votes
1answer
57 views

Is there a tool similar to microsoft system centre configuration manager available on in Linux?

I am looking out for a tool similar to microsoft system centre configuration manager on linux platform which is available with GNU license and that can be used for doing multiple tasks like to ...
0
votes
3answers
563 views

pop up a message if filesize smaller then 30 KByte

I have a zenity message box in a script zenity --info --text='done' > /dev/null 2>&1 I need to pop up a message, e.g.: "file is smaller then 30 KBytes!" when a file is smaller then 30 ...
0
votes
1answer
266 views

How do I integrate VirusTotal with Nautilus?

Here's a great site: https://www.virustotal.com/index.html Does anyone have a how to/link, how to integrate a menu in Nautilus? Like: "send file to Nautilus" when right clicking a file? Theres an ...
2
votes
3answers
4k views

delete only first hit /match with sed

$ echo -e "AsometAhingA\nsomethingA\nASomethiAng" AsometAhingA somethingA ASomethiAng $ echo -e "AsometAhingA\nsomethingA\nASomethiAng" | sed "s/A//" sometAhingA something SomethiAng $ I know that ...
0
votes
1answer
475 views

how to get beep working? [duplicate]

Possible Duplicate: how to get beep working? I have a laptop, i installed the "beep" package. I turned every sound to full, and i: $ beep $ but i can't hear any "beeping" sound. What am ...
2
votes
4answers
2k views

how to get beep working?

I have a laptop, I've installed the beep package. I turned every sound to full, and I do this: $ beep But I can't hear any beeping sound. What am I missing? I just need to run the beep when a ...
1
vote
0answers
66 views

how to get beep working? [duplicate]

Possible Duplicate: how to get beep working? I have a laptop, i installed the "beep" package. I turned every sound to full, and i: $ beep $ but i can't hear any "beeping" sound. What am ...
11
votes
5answers
5k views

How do I keep my bash history across sessions?

I am working on a x86 target running fedora 9. Whenever I reboot it, my history returns to some state, and I do not have commands I did in the sessions before the reboot. What I have to change to ...
1
vote
1answer
162 views

How to clear stale hashed search path in bash?

Previously my bash script was pointing to /path1 but I moved it to under /path2, now if I do "type myscript" it's still pointing to /path1, how do I solve this?
1
vote
2answers
685 views

Why doesn't my path update *now*?

I recently installed the newest Qt SDK and I went ahead and added it to my PATH inside of my ~/.bash_profile. I don't see the change. I can source ~/.bash_profile but then my path is twice as long, ...