riv123
-
Posts
202 -
Joined
-
Last visited
Content Type
Articles
Media Demo
Profiles
Forums
Posts posted by riv123
-
-
Want a quick web server running without installing Apache to grab some files from your $HOME? Try:
ssh user@server1
cd /path/to/dir
python -m SimpleHTTPServer
Fire a browser and type:
When done press CTRL+C and exit from ssh session.
PS: you can also use nc
-
i'm now using any antivirus...
i use linux as my OS
-
If you know vim or vi and use it on a daily basis and you will like this funny game
-
Want to find how many files an application is using..? Run:
lsof +c 0 | cut -d' ' -f1 | sort | uniq -c
-
To removal ALL the files and not any subdirectories in /dest type the following
find /dest -type f -delete
To removal only the files and ot any subdirectories in /dest type the following:
find /dest -maxdepth 1 -type f -delete
The -delete option will only work on the modern Unix like systems. For older systems try shell loops or pipes or pipes via xargs
find /dest -type f -print0 | xargs -I{} -0 rm {}
-
Simple script to list all active and system users.
------------------------[cut]------------------
#!/bin/bash
_l="/etc/login.defs"
_p="/etc/passwd"
## get mini UID limit ##
l=$(grep "^UID_MIN" $_l)
## get max UID limit ##
l1=$(grep "^UID_MAX" $_l)
## use awk to print if UID >= $MIN and UID <= $MAX and shell is not /sbin/nologin ##
echo "----------[ Normal User Accounts ]---------------"
awk -F':' -v "min=${l##UID_MIN}" -v "max=${l1##UID_MAX}" '{ if ( $3 >= min && $3 <= max && $7 != "/sbin/nologin" ) print $0 }' "$_p"
echo ""
echo "----------[ System User Accounts ]---------------"
awk -F':' -v "min=${l##UID_MIN}" -v "max=${l1##UID_MAX}" '{ if ( !($3 >= min && $3 <= max && $7 != "/sbin/nologin")) print $0 }' "$_p"
-----------------------[stop]-----------------
-
Did you know?
history or fc -l commands can show your bash command line history or recall the history stored in ~/.bash_history file. You can make history to ignore the commands if it begin with a space:
w
history
fc -l
## run who command with a space ##
export HISTIGNORE="[ \t]*"
who
history
The HISTIGNORE shell variable controls which command lines should be saved (i.e. ignored) on the history list. To ignore duplicate commands in history, enter:
export HISTIGNORE="&"
You can define a colon-separated list of patterns to ignore ls command, duplicate commands, and ignore the commands if it begin with a space, enter:
export HISTIGNORE="ls:&:[ \t]*"
history
ls
date
date
cal
history
As a sys admin you may want to ignore the frequently used commands such as - ls, pwd, cd, mount, umount, clear, exit, and much more from your history.
export HISTIGNORE="ls:&:[ \t]*:cd:mount:umount:clear:exit:pwd:date"
See bash man page for more info:
man bash
help history
-
Just rebooted the box? Get notified when it comes back online with audio alert using old good ping command
ping -a YOUR_IP_HOST_NAME
You may want to add the wait delay using the -i and count using the -c for avoiding panic mode
ping -i 30 -c 10 -a YOUR-IP-OR-HOST-HERE
The above will check server 10 times with 30 seconds wait between sending icmp packets. The -a well give audio when packet received.
-
im using linksys wrt 150n...pero just recently di ko alam why ayaw na lang mag work...umiilaw naman siya pero not working yung wi-fi...pero pag naka direct na LAN eh meron naman...any suggestions...sidenote: may nag aayos ba ng router...4k kasi router na ganito eh...mahal masyado...hehe...
Nasubukan mo nang i-hard reset?
CHEERS!!!
-
Hello,
Need help here. I have a Huawei E156C USB Broadband but unfortunately the modem cannot be detected by Windows 7 32bit but the apps was installed just fine.
Na-encounter na po ba ninyo itong issue? paano po na-resolved?
CHEERS!!!
-
Sir how can i run .flv file format in linux ubuntu 9.04?
Just install VLC player and you're good to go!
CHEERS!!!
-
:evil:
===
please take me out of this Windows hellbox!!! :cry:
been ages since i configured a *nix box...hayz........... :cry:
nice
-
Guys I need your help very badly. My HDD crashed. Hindi na ma-detect yung hard disk. Baka meron kayong alam na nagre-recovery ng files. Baka meron kayong kilala nagre-recover ng files kahit dead na ung hard disk. Please please I need you help guys. Thanks in advance.
Kung detected ng BIOS ang HDD and na observed mo na umiikot ang platters, pwede mo pa sya i-recover. HTH
CHEERS!!!
-
I got these:
cuanto tu crees que esta foto tenga de vejez? jeje http://up24.mytinypic.info:84/shared/ksdk3...ura014.JPEG.zip
PLEASE DO NOT CLICK THIS LINK!!!
how will i remove the YM infection?
(I would reinstall YM and do an antivirus deep scan, is these enough?)
CHEERS!!!
-
changing the channel helps because other electronic devices such as cordless phones, garage door openers, baby monitors, and microwave ovens, may use the same frequency range. Any such device can interfere with a wireless network, slowing down its performance and potentially breaking network connections - tonting29 mentioned his neighbor was using channel 6 - that's why i suggested changing it to 11. If encountering interference with a neighbor's WLAN, change to a distant channel. Both channels 1 and 11 do not overlap with the default channel 6; use one of these three channels for best results. and in your case when you changing it to 8 worked for you because it is more distant from the current channel used in your area hence the lesser the degree of overlap and likelihood of interference.
but then apparently the problem was with the device..happy surfing tonting29
ahhh.....
ok, thanks sa info :thumbsupsmiley:
(i use inSSIDer to check for available channels :hypocritesmiley: )
CHEERS!!!
-
change it to channel 11
Hi Sam,
May I ask why channel 11?
I had mine set to channel 8 since marami gumagamit ng channel 11 dito sa floor of office namin. No problem since.
Please forgive my ignorance!
CHEERS!!!
-
try this...
Start Regedit
Go to HKEY_CURRENT_USER\Control Panel\Desktop
Edit the key PowerOffActive and give it a value of 1
or try updating the bios
or Right click Computer, Properties, Advanced tab, Settings button under Starup and Recovery, uncheck Automatically Restart. - check if you get an blue screen error
just check the registry if it shows the same values...or try to disable all your start up programsThanks for the advise, unfortunately, hardware problem pala ang problem.
CHEERS!!!
-
just check the registry if it shows the same values...or try to disable all your start up programs
Ok, this is a new install... I have already updated to the latest BIOS after talking to HP customer care.
I believe the w7 activator modifies the BIOS so think this is an issue. Downloading Vista Home Premium OEM iso and will downgrade this lappy and see if the issue will go away.
@SamanthaJones - Thanks!
-
try this...
Start Regedit
Go to HKEY_CURRENT_USER\Control Panel\Desktop
Edit the key PowerOffActive and give it a value of 1
Question: Will this work on Win7? The laptop is now in Win7.
I have also tried to unchecked the Automatic Restart in System properties -->Advanced --> Startup and Recovery Tab
CHEERS!!!
-
Hello everyone, I need your expert opinion on my laptop's issue:
The laptop would work/start fine and I can surf, work and everything on this laptop. Problem starts when I shutdown via windows shutdown computer procedure. The laptop will go to the process of shutting down BUT it will restart by itself as if somebody pushed the power botton. This machine used to have Vista and I have upgaded this to Win7 thinking the issue will be resolved but unfortunately it didn't.
Specs:
HP Pavillion DV6353a
AMD-based
Has anybody encountered same problem?
Opinions?
CHEERS!!!
-
Hello everyone, I need your expert opinion on my laptop's issue:
The laptop would work/start fine and I can surf, work and everything on this laptop. Problem starts when I shutdown via windows shutdown computer procedure. The laptop will go to the process of shutting down BUT it will restart by itself as if somebody pushed the power botton. This machine used to have Vista and I have upgaded this to Win7 thinking the issue will be resolved but unfortunately it didn't.
Specs:
HP Pavillion DV6353a
AMD-based
Has anybody encountered same problem?
Opinions?
CHEERS!!!
-
I had Debian running on an ml 350 dati. There should be an extra scsi card in there and the raid setting should be accessible by ctrl-c when the controller initailizes. The server I worked with used and LSI controller.
The last IT person here who I caught sharing torrents online got canned. hehehe
Just a survey guys. It seems most of the people posting here are IT people. Is there a market for a hosting business there in PI? Infrastructure and as service. Basically we will build the data center infrastructure and the prospect client can rent the blades for a monthly fee. Our engineers will maintain the blades and the network. Pero mandatory sa amin dada-an yung traffic. And of course that's another fee.
Are you talking about cloud computing?
CHEERS!!!
-
I used the xp pero it eatens up the memory and make the netbook work so sloooow.
Have you tried TinyXP?
Yes, its the Linux Lite, though I AM REALLY NOT FAMILIAR WITH LINUX.I am happy with Linux and gusto kong i install yung ibang pc ko ng linux na lang here para naman mas mabilis at hindi pasukin sa virus, in my observation as an easy and non techie user.
Sana, i can make the sun broadband plug-in work in Linux.
para sa mga low-powered PC, check this thread http://manilatonight.com/index.php?showtop...288&st=1440
na check mo ba yung model number ng broadband? Huawei ba?
pwede kitang tulungan sa installation, just PM.
-
I'm in baguio right now looking for a scsi drive. pambihira, per order basis raw talaga kahit pumunta pa ako ng manila to pick it up. you're given me an idea actually, tangalin ko na lang etong mga scsi drives and put in a sata drive instead. masmura pa. hahahaha..
actually, nagtataka ako why the "IT" opted for scsi drives. I'm in the same dilemma as you where I can't format it because of the data. sayang, tig-80 gb pa naman per drive (with the third drive not functioning). temporarily nakainstall ang suse enterprise on an IDE drive
---------
on a side note, I browsed the backup scsi drive because I was wondering what sort of data would occupy 94% space. nandun ang mga backup files along with a big folder labelled voltron: defenders of the universe. leche, ginamitan pa ng torrent etong unit.
mas reasonable yung decision mo.
built-in ba yung scsi controller?
voltron? elementary ba nag-manage nyan? hehehe
pish!
CHEERS!!!
Routers
in Technology and Computer problems
Posted
Good afternoon