General :: Present Working Directory Path Display - RHEL5
Jun 23, 2011
need to know, how we can display the whole (till current directory) path in below highlighted way. normally it shows only the name of current working directory after the server name.
View 3 Replies
ADVERTISEMENT
Jul 6, 2010
I am trying to write modular program but when I try to compile I come to know I don't have any files in /usr/src/linux. I have installed fedora 12 which has 2.6.31.5-127.fc12.i686.PAE. I am including in my code:
linux/kernel.h
linux/module.h
Those are not present directory in /usr/src/linux is not present. My goal is to compile modular programs.
View 10 Replies
View Related
Dec 15, 2009
I am a both rhel5 and fedora user.I can not configure my Samsung syncmaster 632nw monitor to display full screen at 1360X768.There is huge black space both left and right side of the monitor. I have tried many times to solve it but unable to do it.The max screen resolution is 1024*768 and minimum is 640*480.
Here is the xorg.conf file:
View 2 Replies
View Related
Dec 15, 2009
I am new to this forum. I am a both rhel5 and fedora user.I can not configure my Samsung syncmaster 632nw monitor to display full screen at 1360X768.There is huge blank space on left and right portion of the monitor.The maximun resolution is 1024*768 and minimum is 640*480.
I have tried many times to solve it using xorg.conf but still unable to do it.
Here is xorg.conf's content :
View 5 Replies
View Related
Dec 16, 2008
In RHEL5, the PATH of root is /sbin and /usr/sbin...., the PATH of common user has not /sbin or /usr/sbin, how to give the /sbin and /usr/sbin to a common user when he run command which sudo?
View 3 Replies
View Related
Nov 20, 2009
I'm trying to write a script in python to extract data from maillogs in gz format. I wrote a shell script but i now want to do this in python, as thats the preferred method where i work. anyway does anyone know how to specify directory paths for example the maillogs exist in /var/log so i want the script to go to that directory would LOG_DIR="/var/log/" work?
View 1 Replies
View Related
Nov 8, 2010
I am using Apache/2.2.3 on Centos 55. I am having an issue that is pretty strange to me. Whenever I navigate to a url on my webserver from outside my network. I have to put a '/' in the directory path for example When I type in: mydomain.com/directory1 it winds up redirecting to the hostname for my server HOWEVER When I type in mydomain.com/directory1/ it works, since I am adding the '/' at the end of the path. I suspect it is because I do not have my FQDN set up correctly.I did not have this issue when I was using Ubuntu 10.04 , I suspect because Ubuntu automagically set this up for me. Is there a particular way I need to setup my FQDN in centos to get this to work properly? I have tried going into /etc/hosts and adding my FQDN in there, but I do not think I did it properly, is there a particular way the /etc/hosts file needs to be setup?
View 1 Replies
View Related
Nov 16, 2010
i m using RHEL5 ......but only prob i m facing is that there is no sound in my system.
[root@localhost ~]# /sbin/lsmod
Module Size Used by
deflate 7873 0
zlib_deflate 21977 1 deflate
[code]....
View 4 Replies
View Related
Feb 1, 2010
I have RHEL5 with apache installed and running. I have a directory off of / called software that I would like to have show up as a directory listing so if I go to [URL] I get the directory listing. I have tried searching around and nothing seems to work for me. So out of the box how do I get this to work? My server properly resolves to [URL] so I am good there.
View 8 Replies
View Related
Feb 18, 2011
I installed java in my pc by running the following on the shell
./jdk-6u24-linux-i586.
I need to set the path to the bin directory and also a new environmental variable JAVA_HOME.
View 2 Replies
View Related
Dec 1, 2010
i tired to get work compiz , in terminal whene i type : compiz i get the folowing errors :
compiz
Code:
Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/kwin
kwin(12206) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1.
[code]....
View 1 Replies
View Related
Dec 16, 2010
I have a linux account in my college (A server-client setup. We use SSH to login to our account)My account quota is 20 MB and one day I logged into my account from a Fedora machine and my entire account became full, thanks to .xsession-errors, his older brother and their pals. So I went on a killing spree with [rm -r]and (you guessed it!) I deleted someimportant file. I think lognames or something.Now I can't see in which directory I am. Every time I have to do [ll] to check the contents of my directory to understand my location
View 4 Replies
View Related
Jan 19, 2011
I modified files in several directories, and need to run a diff on the backup I created before modifying the file.
I'm trying to compose a simple shell script to speed up the task, but getting a syntax error.
Here is what I have:
for i in DIR1 DIR2 DIR3 DIR4 DIR5 do;
diff /maindir/subdir/subdir/$i/filename.txt.old /maindir/subdir/subdir/$i/filename.txt;
done
I know the paths are valid, and if I run just the diff command with the actual DIR1 instead of $i it works.
View 2 Replies
View Related
Apr 30, 2010
I am total new to linux as I worked mostly on RTOS (symbian). My problem is, I need to find the file IOSTREAM.H and I am following commands below:
1) cd /
2) find . iostream.h ( finds the file / directory from the current path)
It shows No such File or Directory
View 7 Replies
View Related
Sep 9, 2009
trying to write my thesis in Lyx 1.6. It works fine on my windows laptop at home but Not on my work computer. The problem is, when i try to view it in pdflatex it comes with with: Lyx: file name error The directory path to the document cannot contain spaces
View 1 Replies
View Related
Sep 30, 2010
is there a way to make a symlink that redirects to the directory rather than acting as an alternate path? In other word, what I have now is:
[Code]....
I want my pwd to be the hardlink pwd rather than the symlink pwd after changing my directory.
View 2 Replies
View Related
May 30, 2011
extract.ksh use this scripts topic_file_publish.sh but extract.ksh resides in /data/apps/pnbos/scripts
but topic_file_publish.sh in below directory/data/apps/pnbgstk/publication >
ls topic_file_publish.sh topic_file_publish.sh fraespappp8:/data/apps > type topic_file_publish.sh topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)
How it is done?
since topic_file_publish.sh is being directly referenced in the code with absolute path.
View 2 Replies
View Related
Mar 17, 2011
I have RHEL 5.5 ,Suse linex and windows7 is also running in my system. I am not able to connect to internet from Linux, but internet is working in windows 7 and suse. The service provider is qwest and they say that they do not support linux.
View 3 Replies
View Related
May 11, 2010
Tata photon card is not working in rhel4 and rhel5.
View 4 Replies
View Related
Jun 12, 2010
How can we list only files present in a directory in Redhat linux.The LS commands lists both the files and the directories. What command can be used for the above purpose.
View 1 Replies
View Related
Nov 28, 2010
I am new to writing shell scripts. So, please bare with me. I am currently trying to write a shell script which will read the directory path as input from user and will traverse the Dir tree to find all available audio and video files. I have tried to write as much as I could but I don't know where I am making mistake as I get some files to be audio file which are actully tar balls. On the second note there are some files which video but script shows them to be audio. And, some video files are completely skipped. I am giving the shell script below so that you can see. I am using two external files as source which I am attaching.
Code:
#!/bin/bash
#Let's load the extensions that we want to search for
vdExt=$(cat vdExtList)
adExt=$(cat adExtList)
[code]....
View 5 Replies
View Related
Jan 16, 2011
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
View 14 Replies
View Related
May 15, 2011
Just a simple question
Code:
$ cat -
do in the Bash? I know 'cd -' changes directory to the previous working directory, but 'cat - ' does not seem to do the same thing.
View 3 Replies
View Related
Aug 3, 2010
I don't know what i have done by mistake.
[root@server1 ~]# su - user
su: warning: cannot change directory to /home/user: Permission denied
-bash: /home/user/.bash_profile: Permission denied
-bash-3.2$ cd ~
-bash: cd: /home/user: Permission denied
-bash-3.2$
View 2 Replies
View Related
Feb 7, 2011
I am a noob and I am trying to display a count of the number of subdirectories in a directory. I have been able to use find -type d to list directories and subdirs but I want a numerical value of dirs and subdirs. I know ls -l gives a count but when I try ls -l -d all it shows is "." I also have tried a combination with the -R option but nothing seems to be working for me.Please forgive my ignorance but I am working on a script for class and this is the first step.
View 3 Replies
View Related
Feb 5, 2010
Is there a way to NOT display the current full directory path in the terminal? I'd like to set the default to be just the current directory instead of everything back to ~.
View 2 Replies
View Related
Dec 26, 2010
How can I get the full path to display in Nautilus so I can copy it to the clipboard and/or type a path manually?
View 7 Replies
View Related
Aug 1, 2011
Is there a way to display and edit the full path of the current directory in nautilus? I am using Ubuntu 10.10 and I think it was possible with an older version.
View 3 Replies
View Related
Oct 8, 2010
I use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
View 6 Replies
View Related
Feb 19, 2010
"syntax on" in vimrc is not working with my RHEL5 and i m really suffering by looking at dull code..!!!
View 1 Replies
View Related