Search Results

Search: Posts Made By: cqlouis
5,657
Posted By cqlouis
Sincerely thank you for your reply. It...
Sincerely thank you for your reply.

It seems that copy/paste is available in Putty.

From the server end , I can do nothing for it. So, I should rebuild my own version of putty. For...
5,657
Posted By cqlouis
Thanks for you concern for cheating. I...
Thanks for you concern for cheating. I understand what you said. But my aim is to void the students' daily programming task , not for test.
Yes, they can easily look at the correct answer from...
5,657
Posted By cqlouis
Thank you for your quick response! ...
Thank you for your quick response!

Generally speaking , most of the student use window, but everything has its exceptions, if some student find they can not do it in windows environment , they...
5,657
Posted By cqlouis
Can I disable the copy and paste of putty/secureCRT?
I'm a teacher who teaching computer programming languages.

Generally, I give each student a username in a Linux Server. Then each student use his username to login the Server and program their...
Forum: Ubuntu 11-02-2011
10,716
Posted By cqlouis
/etc/init.d/networking restart is deprecated?
After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart"


but it says it's deprecated:

Running /etc/init.d/networking restart is deprecated because it may not...
2,276
Posted By cqlouis
Why I cann't delete my own file?
rui@test:~$ ls -l xxx
-rwxr-xr-t 1 rui rui 0 2011-10-16 13:45 xxx
rui@test:~$ rm xxx
rm: cannot remove `xxx': Operation not permitted
rui@test:~$
2,191
Posted By cqlouis
difference between "#! /bin/sh" and "#! /bin/sh"
In shell Programming, we know it should begin with "#! /bin/sh", it means use /bin/sh to interpreter the following command in the shell script.


But today I saw "#! /bin/sh -", it saied using...
950
Posted By cqlouis
when use "-"? when use "--"
When we use shell command, options often follow the character "-", but sometime options follow the character"--".

So I doubt that if there are some rules to decide use "-" or "--"?

Thanks !
3,783
Posted By cqlouis
more lets you roll the manual page by page, ...
more lets you roll the manual page by page,
less lets you roll the manual row by row
1,161
Posted By cqlouis
the FROM field ":1.0" means what?
when I used command w to list who are login the system,
I found one entry like this:

root pts/34 :1.0 Thu04 28:42m 0.01s 0.00s -bash


according to the manual, that...
2,607
Posted By cqlouis
How to select correct partition and kernel argument for grub?
I use command-line mode of GRUB to load kernel,
but I can not know how to chose the partition and kernel argument,
as followed :
1537

1538

please tell me how to do deal with ,
thanks!
12,951
Posted By cqlouis
You are correct. But if I want to use command...
You are correct.
But if I want to use command sudo cd /root ,
how do I use the full path of command cd?
[test@manager proc]$ whereis cd
cd: /usr/share/man/man1/cd.1.gz...
12,951
Posted By cqlouis
why sudo doesn't work?
[test@manager ~]$ sudo -l
User test may run the following commands on this host:
(ALL) ALL
[test@manager ~]$ sudo ls /root
anaconda-ks.cfg Desktop install.log.syslog ...
3,110
Posted By cqlouis
about the access permission of users home directory
RHEL5.0

As we know, when root create a new user, a new home directory will be created : /home/user

I want to know what determine the access permission of /home/user .

Thanks!
23,903
Posted By cqlouis
merci!
merci!
23,903
Posted By cqlouis
How to make user's qutoa in human readable format?
[cqlouis@servere1 ~]$ quota
Disk quotas for user cqlouis (uid 1254):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb1 64 300000 320000 ...
2,137
Posted By cqlouis
it means if the string Variable is not empty,...
it means if the string Variable is not empty, return true

methyl told the truth that $VARIBALE should be quoted!
4,190
Posted By cqlouis
how to find files not suffix with .c
if I want to search those files which were suffix with .c,
I can use find ./ -name *.c

but how to find out those files which were not suffix with .c ??

Thanks a lot!
23,854
Posted By cqlouis
Thank you dinjo_jo for your reply. I tried...
Thank you dinjo_jo for your reply.
I tried that in another computer whose OS is RHEL5.2, and that works!
So I am very confused! Maybe it's because of the difference of the OS.
Can you try that...
23,854
Posted By cqlouis
I don't think so. Because no rule says that. ...
I don't think so.
Because no rule says that.
And one of my friend told me that can work in his system.
23,854
Posted By cqlouis
useradd doesn't work! why??
[root@localhost root]# uname -a
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
[root@localhost root]# useradd 4141421248
useradd: invalid user name...
2,287
Posted By cqlouis
What's wrong with this simple program in APUE?
I start wetting my toes in Linux programming.
I tried the first program myls.c in Advanced Programming in the Unix Environment.

#include <sys/types.h>
#include <dirent.h> ...
28,709
Posted By cqlouis
file "pax_global_header" means what?
I'm using Red Hat 9.0, the kernel is 2.4.20-8,
I want to update the kernel ,
go to www.kernel.org (http://www.kernel.org) and then download the linux-2.4.37.7.tar.bz2
to /root

[root@localhost...
13,688
Posted By cqlouis
the file that I appended is: [root@node01...
the file that I appended is:

[root@node01 xinetd.d]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization...
13,688
Posted By cqlouis
About the file /etc/rc.d/rc.local
My OS is RHEL5.0.


[root@node01 ~]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here...
Showing results 1 to 25 of 29

 
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy