LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Chmod

Posted 05-24-2011 at 05:02 AM by brownie_cookie

Thanks to Colucix, it became clear how to use chmod.
I hope this helps for other people who are starting to learn Linux !!

They are octal numbers. If you consider a triplet of permissions
Code:
Code:
rwx
they correspond to 4, 2, 1 respectively:
Code:
Code:
421
If you sum these values you obtain uniquely identified permission sets. For example, you have:
Code:
Code:
rwx = 4 + 2 + 1 = 7
r-x = 4 + 0 +
...
Member
Posted in Uncategorized
Views 412 Comments 0 brownie_cookie is offline
Old

vim as default text editor in debian

Posted 05-23-2011 at 09:25 PM by sumeet inani

I have 'vim-gnome' installed
First select any file .
In properties > openwith tab
select GVim Text editor
Now I wanted that : After a file has been opened the other text file should be in new tab in same window
So I edited '/usr/share/applications/gvim.desktop'
Code:
Exec=gvim -f --remote-tab-silent %F
Member
Posted in Uncategorized
Views 619 Comments 0 sumeet inani is offline
Old

tata photon whiz on debian

Posted 05-23-2011 at 09:21 PM by sumeet inani
Updated 05-24-2011 at 10:33 PM by sumeet inani (more systematic)

I am using debian 6.0.0
First I installed wvdial , gnome-ppp involving following files
Code:
gnome-ppp_0.3.23-1_i386.deb	
libwvstreams4.6-base_4.6.1-1_i386.deb	 
libpcap0.8_1.1.1-2_i386.deb	
libwvstreams4.6-extras_4.6.1-1_i386.deb  
ppp_2.4.5-4_i386.deb
libuniconf4.6_4.6.1-1_i386.deb					 wvdial_1.60.4_i386.deb
Now when I inserted USB modem
Code:
dmesg
[ 5335.428041] usb 3-2: new full speed USB device using uhci_hcd
...
Member
Posted in Uncategorized
Views 733 Comments 0 sumeet inani is offline
Old

reverse ssh connections

Posted 05-23-2011 at 05:01 AM by neonsignal
Updated 05-23-2011 at 05:06 AM by neonsignal

Setting up a reverse ssh connection can be useful when the destination machine is inside a NAT, and a port cannot be forwarded to it (eg, a work LAN), but an ssh in the reverse direction is possible.

Because the destination machine must set up the reverse connection automatically, the autossh utility can be used to keep the ssh connection alive so that it doesn't time out. From the destination machine:
Code:
autossh -f -p client-ssh-port -R reverse-ssh-port:localhost:22 client-ip
...
Senior Member
Posted in Uncategorized
Views 655 Comments 0 neonsignal is offline
Old

closing ports

Posted 05-22-2011 at 06:10 AM by neonsignal

The default debian installation only has a few daemons listening on ports. These can be also closed if desired (assuming they are not being used).

The rpcbind port (111) can be closed by removing the portmap package. Since it is used by nfs, this facility will also be removed:
Code:
apt-get autoremove portmap
The auth port (113) can be closed by commenting out the ident line in the server configuration database /etc/inetd.conf. The daemon is stopped...
Senior Member
Posted in Uncategorized
Views 337 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 11:21 AM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration