Does anyone know of a command I can use to partition a device without entering any menus? I want to run the command with all config parameters and flags like disk size, device name, partition number and type, etc and it should just create the required partition.
After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.
I just installed CentOS 5.4 (x86_64) and I encrypted my /home /var /tmp and /mnt/Storage partitions, along with my swap partition. My only complaint is that when I boot, I have to enter my password 4 times, and I did not pick a short password. The password is the same for all 4 partitions. Is there anyway I can set things up so I can just type my password once? Once I get everything set up, I won't be booting that often, but right now it is a PIA.
Why after I boot from runlevel 5 and smartd services is started, I've got a black screen. I know that the GUI is exist but it looks like doesn't appear (black screen). I do following actions : 1. First I check /etc/sysconfig/desktop there is no data (empty), then I add to /etc/sysconfig/desktop this line : DESKTOP=GNOME DISPLAYMANAGER=GNOME
i am having a problem with the installation with ubuntu 10.10 during the installation, i was entering my setup info (login password, timezone, etc.) when everything stopped working, it wouldnt let me continue, the forward button wouldnt work. i let it set for a good 30 minutes but it wouldnt do anything.
so unable to continue, i restarted and tried to boot from my cd drive and now it wont boot from the drive, and since i let ubuntu delete my windows partition, i cant boot from it so i basically have a blank hard drive. the cd drive will boot other cds because i booted hirens boot cd in an attempt to make sure the cd drive was functioning and ran diagnostics to make sure the drive was alright.
Yum command is not working on my system today! when i write any commands using yum, such as yum check-update or yum install some package it shows the following code...
On my Ubuntu server I'm running into an issue that I've never seen before even though I've been using Linux for many years. Basically sudo is not finding a command located in my path. Here is a transcript illustrating the problem.
I have a quick question: how can I make the path short on the console? My problem is that if I descend 10 levels in a directory tree, the path becomes so long that it takes more, than one line of the console window. Is there a way to shorten it, and show only the name of the current directory, without the whole path, i.e., instead of
Code: v923z@penguin: first/second/third/fourth/fifth/sixth/seventh/eighth/ninth/tenth> only
I logged into my Red Hat Enterprise Linux machine at work (use it for software development) and the primary GUI does not load. Instead, widgets appeared for xclock, xterm, and Firefox. In the terminal, I start typing in commands to try to figure out what's going on, but all commands are not found except pwd and echo. I 'echo $PATH' and that returns just an empty, blank line. 'echo $SHELL' lets me know I'm using cash.
The likely cause was my attempt to install Adobe Reader Firefox plugin yesterday. After it downloaded, I ran the binary but Firefox didn't seem to recognize that I had installed it, so I went into my .cshrc file and added the adobe folder to the path. That didn't seem to work, so I gave up, deleted the binary and the folder I installed to, and removed that directory from the path in the .cshrc file. This last thing (the export PATH line in that file) I'm certain is back exactly as it was before.
I have successfully added the /bin and /usr/bin back to the path from command line via setenv PATH /usr/bin:/bin but of course it doesn't stick after reboot nor does it magically load the primary GUI. I'd rather not go through the effort of creating a ticket for our company's Global Service Desk cuz there's no telling how long that could take to resolve. In the meantime, I can't do any programming.
I am looking out for a command which can give me the list of applications installed and the corresponding install paths for those.let me know if there is any such command. Also, i am using rpm command to get the list of packages installed(i am assuming that this shows the list of applications installed).
I am using CentOS5.5 & everytime it is showing command not found. If I export the path as below it will be working fine until a reboot. Again same error i.e command not found if I open new terminal. Every time I am exporting as below:
How can I set these permanently as that the paths should automatically be exported for everyone user whenever the system boots. And command completion also should happen for eg. #fdi (press tab), then it should show available options such as fdisk, etc.
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?
I am having problems with symbolic links and the $PATH variable.I have a directory:# /usr/rulerX/squarewhere /usr/rulerX/square is a symbolic link such that:
# ls -la square --> square.hg.current My path variable is set as:
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
problem during fedora x8664 installation. how to give the command for directory path and image located drive. the procedure to install fedora for the first time.
Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.
I came across this reult of the type command (hashed) in another post. (see below).
Code:
fraespappp8:/data/apps > type topic_file_publish.sh topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh) This (result = hashed) is new to me.
I have installed CentOS 5.5 x86-64 on my HP 6710b laptop and currently am in the middle of adjusting it to my needs (software/hardware development). As stated in the subject I can't add /sbin to $PATH. I have tried editing .bash_profile in my home directory and adding /sbin to PATH=$PATH:$HOME/bin, but it does not help. It's not a big problem, al though it would be much easier to use some commands (ifconfig for example) globaly.
I use tcsh. When I execute by hand a command that is in my path...located in say "~/bin/myscript"....the command executes without an issue. I don't need to use the absolute path "~/bin/myscript", I can simply type the command "myscript" since the path "~/bin" is in my .tcshrc file. When I execute the same command from a script, I get a "command not found" error. A similar issue is when I use the absolute command, but a library necessary the programs' execution is defined within my .tcshrc file. I'll get a library not found error.