Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

{Linux} Tips and Tricks.

FF, Chrome, Opera browsers sir di lahat makaaccess. fb, gmail, ymail. Ganun din actually sa android tablet ko, linux-based naman. Sa Windows wala namang problema.

Lahat ng ibinigay mo na site ma access ko...

I have nexus 7, okay naman yung mga site na to...

Tagal na akong walang windows , pure linux na yung OS ko at work and play

Try install chromium-browser or midori, ito yung ginagamit ko mabilis..

Debian yung OS ko...Gumagamit ka ng display manager or xinit yung entry mo to desktop?

Ito yung facebook ko with chromium-browser.
 
Last edited:
Wew fixed it! For those who can't access secure sites in Linux, lower the MTU of your router's settings. The default is 1500. I set mine to 1400. ;)
 
Last edited:
Wew fixed it! For those who can't access secure sites in Linux, lower the MTU of your router's settings. The default is 1500. I set mine to 1400. ;)

I thought those sites were blocked by your router's setting. So i've just found the third one, a new linux bebs...Welcome to linux audrey!
 
Last edited:
I thought those sites were blocked by your router's setting. So i've just found the third one, a new linux bebs...Welcome to linux audrey!

Lol. Thanks sir. Okay naman kasi siya sa Windows. I had to change the MTU for Linux. Can't wait to learn advanced stuff.
 
Last edited:
Ito yung concept na nakita na bagay with pagination(using grep-tail-head)...
Code:
#!/bin/bash

press_enter()
{
    echo -en "\nPress Enter to continue"
    read
    clear
}

selection=
until [ "$selection" = "0" ]; do
    echo "
    PROGRAM MENU
    1 - display free disk space
    2 - display free memory

    0 - exit program
"
    echo -n "Enter selection: "
    read selection
    echo ""
    case $selection in
        1 ) df ; press_enter ;;
        2 ) free ; press_enter ;;
        0 ) exit ;;
        * ) echo "Please enter 1, 2, or 0"; press_enter
    esac
done
 
Ito yung concept na nakita na bagay with pagination(using grep-tail-head)...
Code:
#!/bin/bash

press_enter()
{
    echo -en "\nPress Enter to continue"
    read
    clear
}

selection=
until [ "$selection" = "0" ]; do
    echo "
    PROGRAM MENU
    1 - display free disk space
    2 - display free memory

    0 - exit program
"
    echo -n "Enter selection: "
    read selection
    echo ""
    case $selection in
        1 ) df ; press_enter ;;
        2 ) free ; press_enter ;;
        0 ) exit ;;
        * ) echo "Please enter 1, 2, or 0"; press_enter
    esac
done

Bagay na bagay talaga :) Pwede mo na 'to iintegrate dun sa tanong mo sa post #144. Maganda sana kung may inkey or getch() para ma-trap mo yung mga special keys like arrow keys or page up/down. o para simple, b or n characters (dapat single char lang not string)na magkatabi sa keyboard for back & next den maha-highlight o maseselect yung page #.
 
Bagay na bagay talaga :) Pwede mo na 'to iintegrate dun sa tanong mo sa post #144. Maganda sana kung may inkey or getch() para ma-trap mo yung mga special keys like arrow keys or page up/down. o para simple, b or n characters (dapat single char lang not string)na magkatabi sa keyboard for back & next den maha-highlight o maseselect yung page #.

Ito yung plan ko ..Extract yung item from grep command to standard output(numbered). then count the lines at gagamit ako ng head and tail to extract bawat page...Or ano kaya yung mas maganda pa dito?
 
Ito yung plan ko ..Extract yung item from grep command to standard output(numbered). then count the lines at gagamit ako ng head and tail to extract bawat page...Or ano kaya yung mas maganda pa dito?

Maraming way na maganda. Maaari ring di maganda, pero madali naman. Tsek mo na lang kung ano yung magwowork sa'yo at masasatisfy ka.

If you can play with numbers instead of calling external commands (i.e. * /bin), mas maganda gaya ng ginawa ko sa smallbasic. to display the output, mix mo lang sa conditional statements (i.e. if/case) with regex + echo/printf. though di ramdam pero mag-ooccupy ng space pa rin sa memory yung external command na tinawag mo. just a suggestion :)
 
Last edited:
@muthym

Ano yung multiflixer na ginagamit mo sa post#150 mo?

- - - Updated - - -

Maraming way na maganda. Maaari ring di maganda, pero madali naman. Tsek mo na lang kung ano yung magwowork sa'yo at masasatisfy ka.

If you can play with numbers instead of calling external commands (i.e. * /bin), mas maganda gaya ng ginawa ko sa smallbasic. to display the output, mix mo lang sa conditional statements (i.e. if/case) with regex + echo/printf. though di ramdam pero mag-ooccupy ng space pa rin sa memory yung external command na tinawag mo. just a suggestion :)

Nice info muth...E try ko yung mano-mano yung pag hanap(regex) then manomano echo/printf....
 
@muthym

Ano yung multiflixer na ginagamit mo sa post#150 mo?

- - - Updated - - -



Nice info muth...E try ko yung mano-mano yung pag hanap(regex) then manomano echo/printf....

plain DVTM (Dynamic Virtual Terminal Manager) lang - napaka-lightweight. kinuha ko lang din sa pkgs.org saka ko kinonvert sa tcz.
 
Last edited:
Mga sir pwede po mag tanong about sa linux? Debian Wheezy po gamit ko. Pag nag open po ako ng terminal tapos nag attempt ako to log in as root tapos lumalabas ung /temp/.X0-lock. Tinry ko kasi po pag aralan ung TTY tapos ganun na ang nang yari. Sana po matulungan nyo ako. Tinry ko na po mag google wala po ako mahanap. Salamat at pasensya po sa istorbo sir.
 
Mga sir pwede po mag tanong about sa linux? Debian Wheezy po gamit ko. Pag nag open po ako ng terminal tapos nag attempt ako to log in as root tapos lumalabas ung /temp/.X0-lock. Tinry ko kasi po pag aralan ung TTY tapos ganun na ang nang yari. Sana po matulungan nyo ako. Tinry ko na po mag google wala po ako mahanap. Salamat at pasensya po sa istorbo sir.

anong debian yun squeezy or wheezy?

- - - Updated - - -

so wala kang x or desktop?

- - - Updated - - -

so wala kang x or desktop?

- - - Updated - - -

wala namang temp directory yung debian siguro tmp.
 
tmp nga sir.

- - - Updated - - -

Debian Wheezy 7.4 sir. May desktop ako pero pag tintry ko mag root sa terminal. Un ang lumalabas.

- - - Updated - - -

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 7 requests (7 known processed) with 0 events remaining.

Yan po.
 
tmp nga sir.

- - - Updated - - -

Debian Wheezy 7.4 sir. May desktop ako pero pag tintry ko mag root sa terminal. Un ang lumalabas.

- - - Updated - - -

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 7 requests (7 known processed) with 0 events remaining.

Yan po.

Ano ba yung command mo to login as root?
 
Pag nag iinstall kasi ako ng apps sir apt-get na agad. Di ko na nilalagyan ng sudo. pero nung nag try ako eto lumalabas :

zhenon22 is not in the sudoers file. This incident will be reported.
 
Pag nag iinstall kasi ako ng apps sir apt-get na agad. Di ko na nilalagyan ng sudo. pero nung nag try ako eto lumalabas :

zhenon22 is not in the sudoers file. This incident will be reported.

ingat dito ha kasi file system yung ginagalaw natin.. kung maari backup mo tong file before editing

ito yung /etc/sudoers na file ko..
Code:
# User privilege specification
root	ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
jer   ALL=(ALL:ALL) ALL
jer   ALL=(ALL)  NOPASSWD:             /usr/bin/setpci, /sbin/shutdown, /usr/bin/schedtool

- - - Updated - - -

pwede mo ma edit to using sudo visudo, but mas preffered ako na manomano talaga..
 
Back
Top Bottom