Search:

Type: Posts; User: aromo2; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. [SOLVED] Re: Test if a file extension is supplied for script

    Try this:


    EXTENSION=$( echo $1|egrep -o ".[a-z]+$" )
    if [ -z "$EXTENSION" ] then
    # no extension provided
    else
    # extension is $EXTENSION
    fi
  2. Thread: Hola a todos

    by aromo2
    Replies
    1
    Views
    2

    Re: Hola a todos

    Hola Pablo. Bienvenido. Si ha habido mucho avance desde Hardy Heron: Gnome, Unity y ahora Gnome otra vez, por nombrar solo uno. Definitivamente mucha mas madurez en el SO y muchas mas aplicaciones...
  3. Replies
    9
    Views
    10

    [ubuntu] Re: Memory usage increases without reason

    Can you not at least try using a different browser for a couple of days? I suggest Chromium. In a couple of days you'll know if it's the browser or something else. Please let us know the results so...
  4. [SOLVED] Re: BASH scripts, init.d and problems with arrays and zenity

    My pleasure, I'm glad it worked for you.
    In awk the variable NF is the number of fields (default separator is a blank space), $1 is the first field , $2 the second and so on. Therefore, $NF is the...
  5. Thread: Intel SpeedStep

    by aromo2
    Replies
    5
    Views
    6

    Re: Intel SpeedStep

    You need to set the cpu scaling governor to conservative.

    You can read how to do it here
  6. [SOLVED] Re: BASH scripts, init.d and problems with arrays and zenity

    For your first problem, you can try something like this:


    deviceid=$( blkid | grep $UUID | cut -d: -f1 )
    mountpt=$( lsblk -p | grep $deviceid | awk '{print $NF}' )


    For the second problem,...
  7. [ubuntu] Re: Cannot send e-mails through command line

    Have you tried removing the double-dash?

    echo "blah blah blah" | mutt -s "[Failed] Encoding File" foo@bar.com
  8. Re: [Ubuntu 19.04] - Servicio o script al inicio

    Tienes que crear un servicio en systemd (diferente de sysV). Para darte una idea, tienes que crear svnserve.service en /etc/systemd/system, luego ejecutar
    systemctl daemon-reload para que tome los...
  9. [ubuntu] Re: How do I install Ubuntu without a CD/DVD or USB drive?

    I think TheFu is spot on. The easiest way to not screw up your Windows installation is installing VirtualBox and then create a Ubuntu virtual machine within it.

    Second to that, and way more...
  10. Re: Automatically copying folder from one location to another to a fixed schedule.

    for the scheduling part:


    $ man crontab
    $ man 5 crontab
  11. Replies
    6
    Views
    7

    Re: creating directories on /dev/md0

    Have you formatted the partition?

    mkfs.xfs /dev/md0
  12. Re: AYUDA!!! Acceder a Archivos Partición Ubuntu desde Ubuntu

    Hola Jessiquita, puedes montar la particion en /mnt:

    sudo mount /dev/sda2 /mnt
    Y trata de arreglar con tu marido, que no apague el ordenador sin antes consultarte o tu pon un letrero de "NO...
  13. Re: Otorgar privilegios de adminstrador a cuenta de dominio

    Ya veo. El problema es que sudo no tiene manera de saber si un usuario es de dominio. Tendrias que crear y mantener un grupo (/etc/group) y dar permiso a ese grupo en sudoers:
    ...
  14. Re: Otorgar privilegios de adminstrador a cuenta de dominio

    Ya reiniciaste el servidor? Para que los cambios a /etc/sudoers tengan efecto sin reiniciar el servidor, tienes que haber usado visudo en vez de nano:

    visudo -f /etc/sudoers
    de lo contrario...
  15. [SOLVED] Re: How to execute Open Shot after downloading in 18.04?

    Double-click the icon?

    You must provide more context to your question. Help us help you.
  16. Replies
    2
    Views
    3

    [SOLVED] Re: How to make my Smart TV get internet?

    Why don't you connect the TV directly to the switch?
  17. [PCLinuxOS] Re: Linux script for crontab to schedule move of zip with current date and moved to w

    What have you done so far? What is not working?
  18. [SOLVED] Re: scripting - grep - distinct list of found files

    or even better:

    ls -l /path1/*keyword1*
  19. Thread: SSH issue

    by aromo2
    Replies
    14
    Views
    15

    Re: SSH issue

    Try:

    telnet 10.10.10.10 22
    (assuming 10.10.10.10 is the IP of your SSH server)

    That will tell you if the SSH daemon is listening and accepting connections

    NOTE: to exit from telnet press...
  20. Re: Can't access most of Internet for a week

    You can run a traceroute to the troubling IP addresses. For instance:

    traceroute 8.8.8.8
    Probing a few different IP addresses should give you a hint of where the communication is breaking.
    Hope...
  21. Replies
    11
    Views
    12

    [lubuntu] Re: how to disable bluetooth on startup?

    sudo systemctl disable bluetooth --now
  22. Replies
    5
    Views
    6

    [all variants] Re: Run command after boot

    rc.local runs early in the boot process, perhaps before required services are started.

    You could create a service that is invoked AFTER multiuser target is reached. Be aware, though that the...
  23. Replies
    2
    Views
    3

    [lubuntu] Re: Copy data between machines

    scp -rp /source/local/dir remoteuser@remotemachine:/destination/dir

    -or-

    scp -rp remoteuser@remotemachine:/source/remote/dir /destination/local/dir

    man scp ; <== for more options
  24. Thread: Goodbye Linux

    by aromo2
    Replies
    11
    Views
    12

    Re: Goodbye Linux

    +1

    OP doesn't even go into detail why Firefox 57 renders his hardware obsolete, so it looks like he has made up his mind already.
  25. Replies
    32
    Views
    916

    [xubuntu] Re: UE Boom 2 unable to pair over bluetooth

    I had the same problem as reported in this thread (UE BOOM2 paired but not listed as a sound output device). This is how I got it to work:

    1. Download latest bluez from http://www.bluez.org
    2....
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4